Hello XI support
We are having troubles with remote NRPE (custom script) checks running for over 30 seconds
- "CHECK_NRPE: Received 0 bytes from daemon. Check the remote server logs for error messages."
XI side nrpe configured for 180 sec timeout and dont_blame_nrpe=1
php.ini & nagios timeouts set for 300 sec
when calling for external CMD file from nsclient.ini (runs some other things), same script return OK if running below 30 sec or error if running over
Attached nsclient.ini (zipped) and custom CMD (which calls on another java script / essentially SELENIUM3 scenario, which has to work for 2-3 minutes)
CHECK_NRPE: Received 0 bytes from daemon (NSclient)
CHECK_NRPE: Received 0 bytes from daemon (NSclient)
You do not have the required permissions to view the files attached to this post.
Re: CHECK_NRPE: Received 0 bytes from daemon (NSclient)
It looks like it may be timing out at an NSClient++ level, not Nagios. You'll want to adjust this timeout from 90 to say, 300 -
Then, under this section [/settings/NRPE/server] - add the following -
Now restart the nscp service, and that should give it a longer amount of time.
Code: Select all
[/settings/external scripts]
allow arguments = 1
allow nasty characters = 1
timeout = 90
Code: Select all
timeout = 300
Former Nagios Employee
Re: CHECK_NRPE: Received 0 bytes from daemon (NSclient)
This worked.rkennedy wrote:It looks like it may be timing out at an NSClient++ level, not Nagios. You'll want to adjust this timeout from 90 to say, 300 -Then, under this section [/settings/NRPE/server] - add the following -Code: Select all
[/settings/external scripts] allow arguments = 1 allow nasty characters = 1 timeout = 90Now restart the nscp service, and that should give it a longer amount of time.Code: Select all
timeout = 300
Thank you, please close this thread