-
1. Re: Is it possible to monitor individual java component
mazz Jul 21, 2010 9:37 AM (in response to ssroy73)> Is there any ways I can monitor individual java classes (like number of instance created etc) bundled in JAR/WAR.
There is nothing like that. You could write your own custom plugin to do this.
Note that the JMX plugin (which supplies the data for the JBossAS child service "JVM" and its children service resources) can provide low-level JVM metrics, like total number of classes loaded, threads started, memory usage, etc - it doesn't get you information like how many individual classes are instantiated and things like this. This data comes from the standared Java Platform MBeans - whatever metrics they expose, we can collect and report on via the JMX plugin - and the Java Platform MBeans doesn't collect information like individual class instance counts.
When in doubt of what you can or cannot monitor, you can take a look at the plugins' descriptors and see their resource types and metrics/operations/configuration they support. We also try to keep the list of the more commonly needed managed resources list up to date, but the plugin descriptor is always the way to know what can and cannot be managed and what metrics they support.
In your case, JBossAS 4.x doesn't have an MBean that spits out that data, and since it doesn't spit out that data, there is nothing for us to collect and report. If you ever want to know what JBossAS 4.x emits as metrics, just go to its JMX console and peek directly into the MBeans that JBossAS exposes.
-
2. Re: Is it possible to monitor individual java component
ssroy73 Jul 22, 2010 8:20 AM (in response to mazz)Thanks a lot John and really appreciate.
Got your point.
I have one more query. Can you please help.
I want to display few graphs on dashboard. I found the option to save graph in dashboard. But it does not display the graph in chart form. Is it possible to do this.
Thanks a lot.
Best Regards - Roy
-
3. Re: Is it possible to monitor individual java component
mazz Jul 22, 2010 8:41 AM (in response to ssroy73)> I want to display few graphs on dashboard.
Roy, no, not yet BUT that's coming very soon though. Our new GWT interface will have this. Take a look at ghinkle's demo and you'll see you can do what you want in the new stuff - fast forward to half way through the demo and you'll see the feature you want.
http://www.jroller.com/ghinkle/entry/rhq_and_customizable_dashboards
-
4. Re: Is it possible to monitor individual java component
ssroy73 Jul 22, 2010 8:51 AM (in response to mazz)Thanks John.
When is the tentative release date for the new version.
Best Regards - Roy
-
5. Re: Is it possible to monitor individual java component
mazz Jul 22, 2010 9:12 AM (in response to ssroy73)Not sure of any official date - but probably by September or October.
You can build from source - I'm pretty sure ghinkle committed all this stuff into the master branch. So if you build the RHQ distribution from the master branch, this stuff is in there. Of course, this isn't production ready code yet, but if you want it to test and play with, its there.
-
6. Re: Is it possible to monitor individual java component
ssroy73 Jul 26, 2010 4:54 AM (in response to mazz)Thanks John.
Rgds - Roy
-
7. Re: Is it possible to monitor individual java component
ssroy73 Jul 26, 2010 8:55 AM (in response to mazz)Hi John,
I am facing an issue with Apache auto discovery using RHQ 3. Following is the thread. Can you please suggest/give any hint.
https://community.jboss.org/message/554361#554361
Thanks a lot.
Best Regards - Roy