Echo nagios status?
Paul L. Allen
pla at softflare.com
Fri Apr 2 02:40:10 CEST 2004
Jason Martin writes:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
>> However, I still think Nagios is wrong in reporting stale checks as
>> critical. This is a transport issue and I believe the correct
>> interpretation is that the service state is unknown. But that's an other
>> issue.
> Nagios doesn't know that a stale check is critical, it just forces a
> service check. If you want stale checks to report their staleness, just
> define a service check command script that does an echo w/a meaningful
> report of staleness and have it "exit 3".
Damn, I thought I'd done that. :( Obviously I have an error there.
> The only thing Nagios does (if freshness is enabled) w/a stale check is
> force execution of a plugin.
Yeah, I know. So I created a plugin that would return a "this check
is stale" warning. Looks like I screwed up. Damn, I hate it when that
happens.
--
Paul Allen
Softflare Support
-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&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