I want to implement a real-time dashboard to monitor the current state of services/applications deployed in a JBoss or Tomcat web-container. I would need to identify states (UP,DOWN,STARTING) and update the UI depending on each state.
There doesn't seem to be any JBoss or Tomcat specific Apps dedicated to real-time monitoring. Has anyone worked on a similar project? Any advice would be greatly appreciated.
Thanks!
Ideally, it would look something like this:
(where each rectangle represents a service and the color is the state)
JBoss/Tomcat already expose the required MBeans by default , which you can then use Splunk4JMX to monitor these MBeans.
You could use Splunk for JMX to pull the necessary data into Splunk via the exposed MBeans that can provide information pertaining to app/service state in Tomcat and JBoss.
Then write a real time search for this data and add it to a Simple XML UI component in a dashboard.
To exactly replicate that UI example above , you'd need to create a custom Advanced XML module.
So perhaps you can still convey a similar UI experience using whats already available in Simple XML.
From what I understand, your app uses beans that would have to be created for each of the services that I want to monitor in order to determine their respective statuses. (correct me if I am wrong)