check_jmx QueueSize

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
User avatar
mrochelle
Posts: 238
Joined: Fri May 04, 2012 11:20 am
Location: Heart of America

check_jmx QueueSize

Post by mrochelle »

I'm looking for assistance from anyone who has got the check_jmx working to monitor QueueSize. I have the check_jmx working for system load and HeapMemoryUsage and I'm attempting to get it working for QueueSize but have been unsuccessful with finding the correct -O ( object parameters ). Below is my command and output:
check_jmx -U service:jmx:rmi:///jndi/rmi://host.company.com:7014/jmxrmi -O org:type=Broker,name=OnDemandRequest -A QueueSize -w 10 -c 20 --username ***** --password ******** -vvvv
JMX CRITICAL - objectName not found [org:type=Broker,name=OnDemandRequest]

Questions:
1) Is there a way to list the org:type?
2) I'm guessing the name is the queue name, and is there a way to list candidate queues for monitoring?
3) Are the org:type and name the correct object parameters?

Thanks Marcus :geek:
Nagios XI Version : 2014R2.4
CentOS release 6.6 (Final)
User avatar
mrochelle
Posts: 238
Joined: Fri May 04, 2012 11:20 am
Location: Heart of America

Re: check_jmx QueueSize

Post by mrochelle »

Ok, I figured it out. Just in case anyone would like the answer, I install the Oracle Java Mission Control and ran the Jconsole which provides the required parameters for the -O option part of the command. You can close this out.
Locked