JMX / MBeans / JDA
We have been attempting to flesh out an custom Groovy script to pull some data out of JMX and JDA Java stack.
Below is my first attempt but all it does is return "Value"
def Pool-Queues = null
try {
Pool-Queues = jmxConn.getValue("com.redprairie.moca:type=Pool-Queues,scope=Native-Process,name=queue-size");
} catch (Exception ex) { }
println "Pool-Queues=${Pool-Queues}"
Below is what we can find using some tool that can open and explore the values presenting in JMScom.redprairie.moca:type=Pool-Queues,scope=Native-Process,name=queue-size
com.redprairie.moca:type=Tasks,scope=SL_DOWNLOAD_,name=running - Looking for True/False
com.redprairie.moca:type=Pool-Queues,scope=Native-Process,name=percent-busy
What road do i need to go down to figure out my next steps here?