> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:nagios-users-
> [EMAIL PROTECTED] On Behalf Of Jean Frontin
> Sent: Thursday, March 27, 2008 10:10 AM
> To: nagios
> Subject: [Nagios-users] Question about nrpe


> I should want to receive a response from the client host saying me
that
> the state is critical when there is a problem.
> 
> Any ideas

Your plugin being run by NRPE needs to change its exit code to reflect
the status that you want to return --

http://nagiosplug.sourceforge.net/developer-guidelines.html#AEN78

i.e. exit(0) for OK, exit(2) for CRITICAL, etc.

--
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
[email protected]
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

Reply via email to