Page 1 of 1

check_ncpa timeout after 60 seconds

Posted: Thu Jul 22, 2021 9:37 am
by bsanjay
Hello Team,
We are monitoring one server where service checks sometimes take more than 80 seconds to execute but check_ncpa plugin timeout after 60 seconds which is showing check timeout error on nagiosxi. So we tried to increase the timeout in check_ncpa plugin by adding the option -T 90 which executes successfully on CLI and we get the output but still its showing check timeout on nagios xi web page.

Looks like this is due to the nagios config having timeout of 60 seconds which is causing this behaviour.

Can you please help with below queries ?
1. is this issue going to resolve if we increase timeout to 90 in nagios.cfg ?
2. we have more than 500 services in UNKNOWN state so increasing timeout to 90 in nagios.cfg will create any load or performance issue on nagios server ?
3. instead of doing It globally for all services in nagios.cfg do we have any other way to run check with 90 seconds timeout for specific host ?


Best Regards,
bsanjay

Re: check_ncpa timeout after 60 seconds

Posted: Thu Jul 22, 2021 2:29 pm
by gsmith
hi

1. is this issue going to resolve if we increase timeout to 90 in nagios.cfg ?
Yes as long as the service check runs < 90 seconds
2. we have more than 500 services in UNKNOWN state so increasing timeout to 90 in nagios.cfg will create any load or performance issue on nagios server ? You should see no change in load or performance.

3. instead of doing It globally for all services in nagios.cfg do we have any other way to run check with 90 seconds timeout for specific host ?
No, the service and host check timeouts will always be overridden by the value in nagios.cfg.

Thanks