Custom plugin question

Andreas Ericsson ae at op5.se
Thu Apr 15 22:46:42 CEST 2004


Marc Powell wrote:
> Boulytchev, Vasiliy <mailto:vboulytchev at coinfotech.com> 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.
> 
> 
> http://nagiosplug.sourceforge.net/developer-guidelines.html#AEN122
> 
> Exit with the right number and you have it (i.e. exit(1); is OK,
> exit(2); is CRITICAL)
> 
Except that exit(1) is WARNING... A return code of 0 means OK.

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