[SPAM] Re: [SPAM] Re: NRPE Plug-in Development

Marc Powell marc at ena.com
Tue Jan 8 00:05:36 CET 2008



> -----Original Message-----
> From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-
> bounces at lists.sourceforge.net] On Behalf Of Carlos Chiriboga Calderon
> Sent: Monday, January 07, 2008 4:29 PM
> To: nagios-users at lists.sourceforge.net
> Subject: Re: [Nagios-users] [SPAM] Re: [SPAM] Re: NRPE Plug-in
Development
> 
> I'm so sorry but, my knowledge of english is so bad.
> 
> In my last post i wrote:
> 
> > The command is:
> > >
> > > /usr/local/nagios/libexec/check_bw -t 5 -wu 20 -cu 50 -if eth0
> > >
> > > The output of my plugin is:
> > >
> > > BANDWIDTH CRITICAL:  Upload: eth0 77.08 Kbps;|upload=77.08;5;10;2;
> 
> 
> The final number ("two") pretend to be the plugin return code for
> CRITICAL but the nagios show to me a OK status.

Your plugin must end with 'exit(2)' in that case. Does it? The exit code
is the only thing nagios looks at to know status.

--
Marc


-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
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