1 of 1 people found this helpful
Yes, it's still true. If you want to monitor custom MBeans, you will have to create your own RHQ agent plugin.
Actually, I think an how-to guide would make a good blog post subject. Tell me if you're interested.
Something similar, yes. But targeting AS7 / Wildfly and not in demo format.
Targeting AS7 and not in demo format would be great.
Your blog is very useful but my bad i am not much into development can you please help me with more simple steps to monitor my custom mbeans deployes in Jboss AS 7.1 + .
Thanks in advance
All you need is summarized in the "The custom agent plugin" section of the article:
- Create a directory for your custom plugin
- Create a Maven POM file to build it (from the example in the article)
- Create a src/main/resources/META-INF/rhq-plugin.xml file to describe your MBeans (again, from the example in the article)
And run mvn clean install
There's a comprehensive documentation of the Maven plugin for agent plugin online.