Connection time out option for JMX monitoring

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
vy3734
Posts: 109
Joined: Tue Sep 29, 2015 4:48 pm

Connection time out option for JMX monitoring

Post by vy3734 »

Hi,
How can i specify connection time out value for my check_jmx plugin execution?
User avatar
cdienger
Support Tech
Posts: 5045
Joined: Tue Feb 07, 2017 11:26 am

Re: Connection time out option for JMX monitoring

Post 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.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
vy3734
Posts: 109
Joined: Tue Sep 29, 2015 4:48 pm

Re: Connection time out option for JMX monitoring

Post by vy3734 »

Thanks for the info! Much appreciated!
User avatar
cdienger
Support Tech
Posts: 5045
Joined: Tue Feb 07, 2017 11:26 am

Re: Connection time out option for JMX monitoring

Post by cdienger »

Glad to help! :)
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Locked