In this post I will detail about creating a JMX monitor in HP Sitescope to monitor the JVM's performance during our performance tests.
- First the JMX port should be opened in the server whose performance has to be monitored. This will be usually done by the server admins or the operations team.
- Example - 10.100.11.230:9003. Here 10.100.11.230 is the ip address of the server to be monitored and 9003 is the JMX port.
- In the Sitescope Create Group --> Rt.click Create Monitor --> Add JMX Monitor
- Under General Settings tab provide a relevant name to the monitor. Example JMX_HostName.
- Under JMX Monitor Settings tab paste the JMX String service:jmx:rmi:///jndi/rmi://10.100.11.230:9003/jmxrmi in the field JMX URL.
- Under the same tab click Get Counter and select the appropriate counters.
- Under Monitor Run Settings tab mention the frequency at which this monitor has to be run.
- Under Threshold Settings tab mention the threshold conditions to indicate the health of the monitor.
- Once everything is set, Click Verify & Save button at the lower right bottom.
Thats it, your JMX monitor is ready
No comments:
Post a Comment