Page 1 of 1
Connection time out option for JMX monitoring
Posted: Thu Nov 01, 2018 4:14 pm
by vy3734
Hi,
How can i specify connection time out value for my check_jmx plugin execution?
Re: Connection time out option for JMX monitoring
Posted: Fri Nov 02, 2018 11:44 am
by cdienger
It doesn't look like it will accept a command line option to adjust the timeout and the source contains text suggesting it leaves this to external controls:
Higher-level errors (such as name resolution errors, socket timeouts, etc) are outside of the control of plugins and should generally NOT be reported as UNKNOWN states.
The Nagios process will timeout service checks after 60 seconds. It can be adjusted under Configure > Core Config Manager > CCM Admin > Core Configs > General [nagios.cfg], with the the service_check_timeout option. Use a bit of caution with this since it is a global setting and can impact performance if a lot of checks require a long time to return data.
Re: Connection time out option for JMX monitoring
Posted: Fri Nov 02, 2018 7:20 pm
by vy3734
Thanks for the info! Much appreciated!
Re: Connection time out option for JMX monitoring
Posted: Mon Nov 05, 2018 10:36 am
by cdienger
Glad to help!
