check_ncpa timeout after 60 seconds

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
bsanjay
Posts: 86
Joined: Mon Apr 29, 2019 9:38 am

check_ncpa timeout after 60 seconds

Post 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
gsmith
Posts: 1253
Joined: Tue Mar 02, 2021 11:15 am

Re: check_ncpa timeout after 60 seconds

Post 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
Locked