false host down alerts
Martin, Jeremy
jmartin at gsi-kc.com
Wed Jun 16 15:12:38 CEST 2004
> How do you check, that the host is down. Please copy in your
> checkcommands.cfg the
> # 'check-host-alive' command definition
Here is the command (excuse the wordwrap):
define command {
command_name check-host-alive
command_line $USER1$/check_ping -H $HOSTADDRESS$ -w 3000.0,80% -c
5000.0,100% -p 1
}
So the only difference between that and my check_ping definition is
check-host-alive is only doing one ping, check_ping is doing 5 pings.
Very strange because when it says HOST DOWN, the separate ping check
will be 0% packet loss, so I'd think "-p 1" would work fine.
I can do this ok:
[jeremy at kgsinm05 etc]# /nagios/libexec/check_ping -H scrubber.gsi-kc.com
-w 3000.0,80% -c 5000.0,100% -p 1
PING OK - Packet loss = 0%, RTA = 26.25 ms
Maybe there is a better command to use for my check-host-alive?
Cheers
Jeremy
-------------------------------------------------------
This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference
Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer
Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA
REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue.
::: Messages without supporting info will risk being sent to /dev/null
More information about the Users
mailing list