Custom plugin question

Andreas Ericsson ae at op5.se
Thu Apr 15 21:50:55 CEST 2004


Boulytchev, Vasiliy wrote:
>  
> Ladies and Gents,
> 	
> 	I have a custom script that does a vital function check.  It works
> great, and returns one value or the other.  Where do I specify and tie these
> return values to OK/PAGE state in Nagios (1.2).   I have read the plugin
> docs, however don't find the answer there.
> 
> THANKS
> 
> Vasiliy Boulytchev
> Colorado Information Technologies, Inc.
> http://www.coinfotech.com

Is this what you're asking for?
Return codes;
0 = OK
1 = Warning
2 = Critical
3 = Unknown
4 = Dependant (not very implemented)


-- 
Mvh
Andreas Ericsson
OP5 AB
+46 (0)733 709032
andreas.ericsson at op5.se


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