Host DOWN

Paul L. Allen pla at softflare.com
Wed Mar 3 02:24:12 CET 2004


Jag writes: 

> I've found that when it says 'Info: (No output!)', the plugin is usually
> outputing something to stderr, and nagios isn't paying attention to
> that.  Does anyone know why nagios ignores stderr? stderr is a very
> useful debugging tool.

I'm in no position to influence these things, but I'd agree with you
there.  There was a thread here recently of problems with output on
STDERR confusing the check_by_ssl plugin (I think it was that one - it's
late here and I have the memory of a goldfish, not only that I have the
memory of a goldfish).  However, it's not Nagios that ignores STDERR
but the particular plugin you're using. 

I would say, from my position of the guy that doesn't have to do anything
about it, that the plugin guidelines should say that plugins should
collect output to STDERR and if there is anything they should return
the unknown state unless that particular test should generate known
output (that can be checked) on STDERR.  Basically, if you have output
on STDERR then it's "Houston, we have a problem" unless you were expecting
that particular output on STDERR as a result of your tests. 

-- 
Paul Allen
Softflare Support 




-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
_______________________________________________
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