Writing own plugins

Andreas Ericsson ae at op5.se
Mon Feb 28 23:31:45 CET 2005


A Cline wrote:
> We're writing some Windows plugins using VBscript and nrpe_nt. 
> Everything seems to work great but when the plugin goes into a
> "Warning" or "Critical" state, Nagios doesn't seem to pick that up.

nagiosplug.sourceforge.net
You want the guidelines section.

>  I thought that nagios keyed off of the WARNING or CRITICAL or OK verbage
> that is common in most of the output of the other plugins.

...

>  Is this
> correct or is there some other mechanism that nagios uses to determine
> if things are in a Warning or Critical state?
> 

Read up on the exit() function. It's a pretty standard thing, so it's 
probably available even in vb-script.

> Thanks for any info.
> 
> Aaron
> 
> 
> -------------------------------------------------------
> SF email is sponsored by - The IT Product Guide
> Read honest & candid reviews on hundreds of IT Products from real users.
> Discover which products truly live up to the hype. Start reading now.
> http://ads.osdn.com/?ad_id=6595&alloc_id=14396&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
> 

-- 
Andreas Ericsson                   andreas.ericsson at op5.se
OP5 AB                             www.op5.se
Lead Developer


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&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