Hi expert
Sometimes I got the error
Service Check Timed Out On Worker ....
and in the nagios environment the check is set to CRITICAL state
In nagios.cfg I set
service_check_timeout_state=u
but this option is not respected in case of WORKER TIMEOU
Is there a parameter to set the check default state to UNKNOWN
in gearman configuration ?
Many Thanks for your help ?
Regads
Emilio
Nagios 4.2.1 - Gearman and Service Check Timed Out On Worker
Re: Nagios 4.2.1 - Gearman and Service Check Timed Out On Wo
In /usr/share/mod_gearman2/standalone_worker.conf is a seciton that looks like:
Try changing the timeout_return to 3 then restart gearman:
Code: Select all
# timeout_return defines the return code for timed out checks. Accepted return
# codes are 0 (Ok), 1 (Warning), 2 (Critical) and 3 (Unknown) Default: 2
timeout_return=2
Code: Select all
service mod-gearman2-worker restart
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Re: Nagios 4.2.1 - Gearman and Service Check Timed Out On Wo
Your suggestion WORKS very well
Many Thanks
Emilio
Many Thanks
Emilio
Re: Nagios 4.2.1 - Gearman and Service Check Timed Out On Wo
Glad to help!
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.