NRPE timeout

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
patalenszki.zoltan
Posts: 40
Joined: Tue Sep 13, 2016 9:16 am

NRPE timeout

Post 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
You do not have the required permissions to view the files attached to this post.
avandemore
Posts: 1597
Joined: Tue Sep 27, 2016 4:57 pm

Re: NRPE timeout

Post 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.
Previous Nagios employee
patalenszki.zoltan
Posts: 40
Joined: Tue Sep 13, 2016 9:16 am

Re: NRPE timeout

Post by patalenszki.zoltan »

Thank you! It works.
rkennedy
Posts: 6579
Joined: Mon Oct 05, 2015 11:45 am

Re: NRPE timeout

Post by rkennedy »

Are we good to mark this thread as resolved and close it out?
Former Nagios Employee
Locked