Problem with check_nrpe

Marc Powell marc at ena.com
Fri Dec 14 20:28:20 CET 2007


On Dec 14, 2007, at 7:39 AM, ankit.mehrotra at tcs.com wrote:

>
> Hi,
>
> I am trying to start a service on a client machine from Nagios server
> using Nrpe and check_nrpe. The error its stating when I am trying to  
> start
> the service is,
> "CHECK_NRPE:Socket timeout after 10 seconds".
> But  on the client machine the service gets started.
>
> It works fine when I am trying to stop the service on the client  
> machine.
> On debugging I have found that it follows the expected path.
> What could be a reason for this strange behaviour ? Any guesses.


I assume this is being called as an event handler. It appears that  
it's taking longer than 10 seconds for the script that NRPE is calling  
to finish. Is that the case? If so, you'll probably want to adjust the  
value of event_handler_timeout in nagios config and include an  
appropriate -to argument to check_nrpe when making the call.

--
Marc

-------------------------------------------------------------------------
SF.Net email is sponsored by:
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