Hi,
We are using NCPA agent and getting lot of "Service check timed out after 60.01 seconds" for different services. The same windows client was working fine prior to adding 15 checks.This happens on different Windows servers.
Out of 30 servers, 6 servers have this issue. Any way to increase the default time out of 60 seconds on ncpa.cfg locally rather than changing on check_ncpa at nagiosxi side?
Thanks for your help.
Senthil.
NCPA - Service check timed out after 60.01 seconds
-
kyang
Re: NCPA - Service check timed out after 60.01 seconds
In that same ncpa.cfg file,
There is an option --> plugin_timeout = 60
The default is 60, so you can uncomment and increase the value to see if that helps.
Code: Select all
/usr/local/ncpa/etc/ncpa.cfgCode: Select all
Plugin execution timeout in seconds. Different than the check_ncpa.py timeout, which is
# normally for network connection issues.Re: NCPA - Service check timed out after 60.01 seconds
Thanks for your reply. I changed that value to 120 and restarted the ncpa service. However, I am still getting the same error Service check timed out after 60.01 seconds
-
kyang
Re: NCPA - Service check timed out after 60.01 seconds
Sorry, I must have thought about the wrong thing.
That is the only option I see in the ncpa.cfg
Would adding a -T 120 to the check_ncpa.py command work for you? That should increase the timeout on all checks.
Since the default is 60.
That is the only option I see in the ncpa.cfg
Would adding a -T 120 to the check_ncpa.py command work for you? That should increase the timeout on all checks.
Since the default is 60.
Code: Select all
-T TIMEOUT, --timeout=TIMEOUT
Enforced timeout, will terminate plugins after this
amount of seconds. [60]
Code: Select all
# 'check_ncpa' command definition
define command {
command_name check_ncpa
command_line $USER1$/check_ncpa.py -H $HOSTADDRESS$ -T 120 $ARG1$
}