Question about nrpe
Marc Powell
marc at ena.com
Thu Mar 27 16:35:21 CET 2008
> -----Original Message-----
> From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-
> bounces at lists.sourceforge.net] 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
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