ping problems
I am having a problem configuring ping tests in serverscheck. We want serverscheck to set status=DOWN
when the ping check fails. Also when for some reason serverscheck is not able to reach the host.
However this is not the case since the status stays on "OK", even when the following is visible in the serverscheck logfile:
"Thu Feb 3 17:26:14 2005 DOWN - RTT:.29. - Unable to connect to host"
please advise
Daan
when the ping check fails. Also when for some reason serverscheck is not able to reach the host.
However this is not the case since the status stays on "OK", even when the following is visible in the serverscheck logfile:
"Thu Feb 3 17:26:14 2005 DOWN - RTT:.29. - Unable to connect to host"
please advise
Daan
This discussion has been closed.
Comments
"all down cycles".
(we use version 5.7.4)
" and only if check returned a value: "
this needs to be set to "no"
This option exists in all versions as of 5.6.X and higher
Is it nescecary to stop/restart serverscheck after editing/adding rules to the serverscheck.conf file manualy ?
How many retries do you have defined?
It can write the error message in the console with not having gone down.
Example:
3 retries for PING check to Yahoo.com:
- current status: OK
- attempt 1: failed - connection unavailable - status DOWN?
- attempt 2: failed - connection unavailable - status DOWN?
- attempt 3: OK - status OK
So it never went DOWN.
A trick to test if it really goes down is to create a rule for a domain name or IP that does not exist (or the machine is switched off). You will see that the status changes to DOWN after the number of retries has been reached.
>for a domain name or IP that does not exist (or the
>machine is switched off).
That is exactly what I was doing (i.e. pinging a switched-off system).
Regards,
Forum Administrator