[JBoss-user] [Management, JMX/JBoss] - Re: Monitoring an MBean (with reference to earlier mail)

2005-03-15 Thread sridhar.v
just made both thresholdHigh and ThresholdLow to 0.0 and i startted getting notifications. Strangely enough the CPU usage was of the order of 0.0001 even though my JMX console is showing the cpu usage to be greater than 2 any pointers?? Sridhar View the original post : http://www.jboss.or

[JBoss-user] [Management, JMX/JBoss] - Monitoring an MBean (with reference to earlier mail)

2005-03-15 Thread sridhar.v
The earlier code snippet i had sent had some of the naming conventions wrong. (i know it was silly). The code started to work properly but i have a new problem... I changed the CPUgauge monitor to a counter monitor and made the CPUUsage Mbean return sone phony int values, the monitor notified m

[JBoss-user] [Management, JMX/JBoss] - Monitoring an MBean

2005-03-15 Thread sridhar.v
I wrote an MBean to get CPU usage stats. Then I had the JMx's Gauge monitor ping that MBean of mine for data. I did the same thing for the system MBean that JVM provides and that works fine. But the Gauge Monitor tracking my CPU Mbean does not sends me any notification. Apparently there might be