Page 1 of 1

NRPE timeout

Posted: Tue Nov 15, 2016 11:38 am
by patalenszki.zoltan
Dear Support,

I would like to create a check with a long-running external script(~5 minutes) from nagios.
I copied check_nrpe command and increase timeout on it.
check_nrpe.JPG
I've changed command_timeout=600 in NSC.INI in the plugin.

Still getting the following error:
check_result.JPG
Could you please help me? What elso do i have to change?

Thanks in advance!

Regards,
Zoltan

Re: NRPE timeout

Posted: Tue Nov 15, 2016 11:56 am
by avandemore
In /usr/local/nagios/etc/nagios.cfg there are global timeout settings. service_check_timeout=60 is one of these. You would have to change that to some value equal or greater than the service timeout and the restart nagios.

Re: NRPE timeout

Posted: Wed Nov 16, 2016 4:04 am
by patalenszki.zoltan
Thank you! It works.

Re: NRPE timeout

Posted: Wed Nov 16, 2016 10:51 am
by rkennedy
Are we good to mark this thread as resolved and close it out?