Hi,
i'd like to monitor some values of a Tomcat Java VM using the JMX Proxy Servlet.
For Example something like this: http://localhost:8080/manager/jmxproxy/?get=java.lang:type=Memory&att=NonHeapMemoryUsage&key=used
As i result i get a the following String as HTML Text: OK - Attribute get 'java.lang:type=Memory' - NonHeapMemoryUsage - key 'used' = 555513208
I'd like to montior only the last Integer in this String that represents Java VM Memory Size.
How can this be done via HTML Sensor ?
Can i use some regex or is this only possible with some scripting ?
Add comment