On Dec 14, 2007, at 7:39 AM, [EMAIL PROTECTED] 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@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