How to debug plugin getting into UNKNOWN state

Paul L. Allen pla at softflare.com
Mon Mar 8 15:04:11 CET 2004


Markus Baertschi writes: 

> So far it did work fine on the command line and within nagios. Since
> some time now it fails and displays the state UNKNOWN. Restarting
> nagios sometimes helps and sometimes doesn't.

It's almost certainly a problem with your plugin if only your plugin
exhibits this behaviour.  Possibly a timeout connecing to the database,
but could be almost anything. 

Note that restarting Nagios using the restart option often leaves stray
Nagios processes hanging around.  This can cause stale statuses to
occasionally be displayed and lead to confusion. 

> ***** Nagios  ***** 
> 
> Notification Type: PROBLEM 
> 
> Service: Oracle Tablespaces
> Host: HR4U Server
> Address: 172.25.40.1
> State: UNKNOWN 
> 
> Date/Time: Mon Mar 8 13:05:04 TZ=CET 2004 
> 
> Additional Info: 
> 
> (No output!)

Given that it is probably a defect in your plugin, it's hard to say what
the problem might be without seeing it. 

-- 
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