...
# | Objective | Description | Timeframe | Status |
---|---|---|---|---|
1 | Confluence |
| 2 Weeks | |
2 | Data-Classes | Development of Data-Classes required to save JMX-Data
| 3 Weeks | |
3 | Configuration Storage |
| 3 Weeks | |
4 | Registration (Agent) |
| 4-5 Weeks | |
5 | Registration (CMR) |
| 5 Weeks | |
6 | Client (Data) |
| 3 Weeks | |
7 | Client (User Interface) |
| 5 Weeks | |
8 | Client (User Interface) | Display Data of specified Attributes of MBeans | 3 Weeks | |
9 | Client (User Interface) | Display history of specified Attributes of MBeans | 2 Weeks |
Legend:
Item | Description |
---|---|
Finished task | |
Work in progress | |
Outstanding task |
...
Definition in Configuration File
## jmx-sensor-type <sensor-name> <fully-qualified-name>
#################################
#jmx-sensor-type jmx-sensor1 info.novatec.inspectit.agent.sensor.jmx.JmxSensor
## JMX
######
## jmx-sensor <jmx-sensor-name> mbeanname=<mbean-name> attributename=<attribute-name>
#####################################################################
## jmx-sensor jmx-sensor1 mbeanname=Catalina:type=Server attributename=port
Server Parameters within eclipse
Run-configs to include the inspectIT Agent in a Tomcat within eclipse:
Program Arguments:
start
VM-Arguments for Tomcat 7.0:
-javaagent:[Path to Agent]\inspectit-agent.jar -Dinspectit.config=[Path to config-file]\config\
-Dcatalina.base="[Path to catalina-Base]" -Dcatalina.home="[Path to Tomcat]\Tomcat" -Dwtp.deploy="[Path to deploy folder]\wtpwebapps" -Djava.endorsed.dirs="[Path to endorsed folder]\Tomcat\endorsed"
UI-Sketches
General view
Expanded view on a specified MBean
...
Detail view on a specified attribute of a MBean
Current Developing State of the JMX-Sensor
Regarding Code:
- Agent completely finished
- Data of MBeans completely captured
- Regular expressions work for ObjectNames
- only if start of RegEx is defined (e.g.: "Catalina*" is working, " * " only won't work)
- Regular Expressions for Attributes won't work in the current version (changes in JmxSensor-class required to search for RegEx of Attribute-Names as they are passed directly)
- CMR finished
- Data stored in H2-Database
- Access to data is implemented
- UI partially finished
- Display of most recent value of attributes of MBeans is done
- no further data is displayed but may be acquired from the CMR
Regarding Server:
Tests were run on a Tomcat 7.0. Other java-based application servers should work without any problems as no specific libraries, communication protocols or else were used. But no tests were done on application servers beside Tomcat 7.0.