Page 2 of 2
Re: Nagios/NRPE Return code 127 error
Posted: Tue Apr 16, 2013 9:59 am
by gshergill
Hi 00_kl250,
The -t option is the timeout, i.e. the number of seconds to wait before the connection times out.
I set mine to 30, I'm not entirely sure why I chose that number (I think I was having some latency issues in my network), but the default value is 10.
Kind Regards,
Gary Shergill
Re: Nagios/NRPE Return code 127 error
Posted: Tue Apr 16, 2013 10:02 am
by scottwilkerson
spot on gshergill!
Re: Nagios/NRPE Return code 127 error
Posted: Tue Apr 16, 2013 10:12 am
by 00_kl250
Here's another question for you.
It seems like it's not actively monitoring. I stopped the apache service on the client and the nagios server did not detect that no apache services were running until I did a force check. Is there a way to make sure it's monitoring(or checking in) every minute?
Thanks for all your help!
Re: Nagios/NRPE Return code 127 error
Posted: Tue Apr 16, 2013 10:21 am
by gshergill
Hi 00_kl250,
By default I think Nagios checks a service every 10 minutes.
In the service.cfg you can add the following to the service;
Kind Regards,
Gary Shergill
Re: Nagios/NRPE Return code 127 error
Posted: Tue Apr 16, 2013 10:36 am
by 00_kl250
Thanks, got it all working. Appreciate your help gshergill and SLANSING.
Re: Nagios/NRPE Return code 127 error
Posted: Tue Apr 16, 2013 10:36 am
by slansing
Let us know if you need additional help!
