Hi,
How can i specify connection time out value for my check_jmx plugin execution?
Connection time out option for JMX monitoring
Re: Connection time out option for JMX monitoring
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.
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.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Re: Connection time out option for JMX monitoring
Thanks for the info! Much appreciated!
Re: Connection time out option for JMX monitoring
Glad to help! 
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.