Java Application monitoring through JMX in nagios

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
mohan23
Posts: 118
Joined: Tue Oct 03, 2017 7:11 am

Java Application monitoring through JMX in nagios

Post by mohan23 »

Hi Team,

I would like to monitor JVM metrics shown in below link for webmethods-universal-messaging application :

https://communities.ca.com/community/ca ... -available

Can you tell me what are the possibilities to get all mentioned metrics in above URL in nagiosxi.

Im trying to monitor few metrics like jvm heap size ..etc using check_jmx but im getting below error:

[batman@lxvapp1reaiqa23 nagios]$ ./check_jmx -U service:jmx:rmi:///jndi/rmi://localhost:9978/jmxrmi -O java.lang:type=Memory -A HeapMemoryUsage -K used -I HeapMemoryUsage -J used -vvvv -w 4248302272 -c 5498760192
./check_jmx: line 6: java: command not found
[batman@lxvapp1reaiqa23 nagios]$

Is this something we need to do additional configuration on application java or what exactly?
User avatar
cdienger
Support Tech
Posts: 5045
Joined: Tue Feb 07, 2017 11:26 am

Re: Java Application monitoring through JMX in nagios

Post by cdienger »

Is the check_jmx command being run on the nagios server or the remote server running jmx ? It should be run on the remote machine since it tries to connect to the localhost. Once that is configured and works, check_nrpe can be used on the nagios server to execute the command. See https://assets.nagios.com/downloads/nag ... ios-XI.pdf for details.

I'm not aware of any plugins specific to the webmethods-universal-messaging application. Can you tell me what possibilities it has to make this data available to an external server like Nagios?
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Locked