My webapp provides some application-specific metrics (I think "ordered posts") through JMX, which I would track with Hyperic HQ (open source version).
According to the Hyperic Inventory Model, my Linux server is called the platform that hosts my Tomcat 6 Server, which, in turn, provides services (for example, "Servlet Monitor") that finally expose metrics (for example, "Number of errors per minute" ).
I assume that I need to develop a custom Hyperic plugin (only an XML file, really) that will point the agent and server to the correct JMX MBeans. Ideally, I would like my website to be listed as a Service hosted on a Tomcat 6 server, but looking at the Plugin Development Docs , that doesn't seem to be possible.
Perhaps this is not so bad, because theoretically I can switch my application to Jetty. But I think this is a very common use case, are there any best practices? I could not find examples of this on the Internet, so I thought I could just ask the experts.
Please Note: In the Hyperic docs I am linked to, it seems you need an account to view.
source
share