Host DOWN alerts not passing pluging output
Alex Burger
alex at fragit.net
Thu Jul 1 03:55:22 CEST 2004
Quanah Gibson-Mount wrote:
> --On Monday, June 28, 2004 2:56 PM -0400 Alex Burger <alex at fragit.net>
> wrote:
>
>> It looks like check_ping is expecting the 'From 10.36.39.219 icmp_seq=1
>> Destination Host Unreachable' message to be sent to STDERR from ping, but
>> on my system it goes to STDOUT.
>>
>> To test, I created a script that outputs to STDERR a ping result, and
>> changed check_ping to call my script instead:
>>
>> # !/usr/bin/perl
>> select STDERR;
>> print "From 192.168.1.1 icmp_seq=1 Destination Host Unreachable\n";
>> print "\n";
>> print "--- 192.168.1.1 ping statistics ---\n";
>> print "echo 1 packets transmitted, 0 received, +1 errors, 100% packet
>> loss, time 0ms\n";
>>
>> Calling check_ping, I get:
>>
>> PING CRITICAL - Host Unreachable
>>
>> If I changed the script by removing 'select STDERR', I get:
>>
>> Error: Could not interpret output from ping command
>
>
> Have you filed a bug in the Nagios bug tracker (although be aware you
> may not hear anything on bugs filed there for many months)?
The first thing I did was look for a bug tracker, but I couldn't find
one. There are no trackers on the SF page and I see no mention of a bug
tracking system on the home page. I found an email from Ethan in the
dev list (Jan '04) saying to post bugs directly to nagios-devel. Is
that still the best way? I'll post it to the list anyways.
Alex
>
> --Quanah
>
> --
> Quanah Gibson-Mount
> Principal Software Developer
> ITSS/Shared Services
> Stanford University
> GnuPG Public Key: http://www.stanford.edu/~quanah/pgp.html
-------------------------------------------------------
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