Monitor JBoss/WildFly heap memory with JMX

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
vusaravi
Posts: 23
Joined: Fri Mar 13, 2015 7:41 am

Monitor JBoss/WildFly heap memory with JMX

Post by vusaravi »

Hi

I would like to monitor JBoss heap memory via Nagios core using JMX Eval.

But unable to establish the connection with the server, getting below exception.

JMXEval Heap Size UNKNOWN - com.adahas.tools.jmxeval.exception.JMXEvalException:
Could not connect to server | time=0.421s

Same plugin is working for other application servers like Tomcat. I am setting the jboss-client.jar in the classpath as well.

Is there any other way to monotor JBoss heap memory from Nagios Core?
User avatar
cdienger
Support Tech
Posts: 5045
Joined: Tue Feb 07, 2017 11:26 am

Re: Monitor JBoss/WildFly heap memory with JMX

Post by cdienger »

As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
ssax
Dreams In Code
Posts: 7682
Joined: Wed Feb 11, 2015 12:54 pm

Re: Monitor JBoss/WildFly heap memory with JMX

Post by ssax »

Could not connect to server
ping X.X.X.X
nmap -pPORTNUM X.X.X.X

Please link us to the exact plugin you are using and send us the full command you are running.
Locked