Host DOWN alerts not passing pluging output

Alex Burger alex at fragit.net
Mon Jun 28 19:00:33 CEST 2004


For some reason my host notifications for DOWN are showing the command 
line instead of the plugin output although the output for UP is correct, 
which seems strange.

[1088427108] HOST ALERT: server01;DOWN;SOFT;1;/bin/ping -n -U -c 1 server01
[1088427135] HOST NOTIFICATION: 
alex;server01;DOWN;host-notify-by-email;/bin/ping -n -U -c 1 server01
[1088427305] HOST NOTIFICATION: 
alex;server01;UP;host-notify-by-email;PING OK - Packet loss = 0%, RTA = 
0.28 ms

The host is using 'check-host-alive' which uses the following command line:

/usr/local/nagios/libexec/check_ping -H $HOSTADDRESS$ -w 5000,100% -c 
5000,100% -p 1

If I run the above command manually when the server is up, I get:

PING OK - Packet loss = 0%, RTA = 0.28 ms

Anyone have this problem?

I am using Nagios-1.2 with nagios-plugins-1.3.1.

Alex



-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
_______________________________________________
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