seunomosowon / TA-connectivity

This is a Splunk application which adds 3 modular inputs for testing the availability of servers, web applications or other applications.
Other
4 stars 4 forks source link

Ping Failed but packet received. #4

Open faizolsaidin opened 6 years ago

faizolsaidin commented 6 years ago

image

faizolsaidin commented 6 years ago

Just started on TA-Con, am i missing any setting or conf?

seunomosowon commented 6 years ago

No, I don’t think you are. Must be a bug when I moved the old code over. I’ll look into it over the weekend and let you know once it’s fixed. On Thu, 5 Apr 2018 at 17:51, faizolsaidin notifications@github.com wrote:

Just started on TA-Con, am i missing any setting or conf?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/seunomosowon/TA-connectivity/issues/4#issuecomment-379002751, or mute the thread https://github.com/notifications/unsubscribe-auth/AA_Zs4kwcBV39AaLM3QegmRZrqZZ_34zks5tlkuBgaJpZM4TIzgv .

faizolsaidin commented 6 years ago

Primarily, i had a IP Printer that inside Windows Printer Server and would like to use TA-Con to monitor the printer avail. Based from pinger.py, it only decide on 2 platform, either windows or linux. How does it goes for IP Printer, any opinion?

faizolsaidin commented 6 years ago

I found this in pinger.py

image

It seems the ping was failed but able to get rtt value and it return as nix_errors since it could not be read as windows host.

faizolsaidin commented 6 years ago

Do you have any fix on this? Its neither Windows or Linux, its IP Printer, it is possible?

seunomosowon commented 6 years ago

Hi,

Are you running this on windows or linux?

It doesnt report correctly if you’re running this on a windows system. I suspect you have an error running it on windows. I’ll put a fix in this summer.

Best regards, Oluwaseun Remi-Omosowon

On 6 Aug 2018, at 8:47 AM, faizolsaidin notifications@github.com wrote:

Do you have any fix on this? Its neither Windows or Linux, its IP Printer, it is possible?

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/seunomosowon/TA-connectivity/issues/4#issuecomment-410618634, or mute the thread https://github.com/notifications/unsubscribe-auth/AA_Zsxt0-1RaXm94Fy9rb5YztoozdYbQks5uN_SogaJpZM4TIzgv.

faizolsaidin commented 6 years ago

Linux but the IP Printers were running in Windows Server. I believe so, it seems not able to identify the printer as devices.

Appreciate your feedback once you had the fix.

seunomosowon commented 6 years ago

The section of the code you are looking at is only about the platform it is running on. Check that you are able to ping it directly from your OS. It doesn’t matter if the device is a printer.

Do you get any specific errors in the app? On Wed, 8 Aug 2018 at 02:41, faizolsaidin notifications@github.com wrote:

Linux but the IP Printers were running in Windows Server. I believe so, it seems not able to identify the printer as devices.

Appreciate your feedback once you had the fix.

— You are receiving this because you commented.

Reply to this email directly, view it on GitHub https://github.com/seunomosowon/TA-connectivity/issues/4#issuecomment-411256142, or mute the thread https://github.com/notifications/unsubscribe-auth/AA_Zs1vQhjyH1qEo5nfZKw9HRM4F03geks5uOkHigaJpZM4TIzgv .

faizolsaidin commented 6 years ago

Sorry for late reply

So far i don't find and see any error from the app.

It able to ping from my OS. Does it have any criteria if needed since its not a system?

Faizol

seunomosowon commented 6 years ago

Are you running this on a Windows Or Linux system?

Best regards, Oluwaseun Remi-Omosowon

On 13 Aug 2018, at 2:03 PM, faizolsaidin notifications@github.com wrote:

Sorry for late reply

So far i don't find and see any error from the app.

It able to ping from my OS. Does it have any criteria if needed since its not a system?

Faizol

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/seunomosowon/TA-connectivity/issues/4#issuecomment-412510341, or mute the thread https://github.com/notifications/unsubscribe-auth/AA_Zs3aJjhDndO9EkcS63-gOhtVZ4SY9ks5uQXkigaJpZM4TIzgv.

faizolsaidin commented 6 years ago

Splunk Instance = Linux Printer Platform = Windows

faizolsaidin commented 5 years ago

Hi,

Anyway if its due to the host that contain special char such as '-'?

image

It had no issue with IP address, though.