Hello,
We were using Nagios for Server Monitoring and now switching to Zabbix due to its good front end.
I am facing a challenge to monitor Tomcat monitoring via zabbix now.
Below are the steps i performed for tomcat monitoring.
1. Added the below line in catalina.sh to enable jmx
2. After above step i am able to view the output from tomcat server once i am executing the below command on Zabbix server.
3. Now i setup the above command in agent file of tomcat server
4. I also attached the tomcat template on added tomcat server in zabbix front end.
After performing all the above steps i am not able to view the tomcat data on zabbix server.
Please help me on this if i am missing something in above setup.
We were using Nagios for Server Monitoring and now switching to Zabbix due to its good front end.
I am facing a challenge to monitor Tomcat monitoring via zabbix now.
Below are the steps i performed for tomcat monitoring.
1. Added the below line in catalina.sh to enable jmx
HTML Code:
JAVA_OPTS="$JAVA_OPTS -Dcom.sun.management.jmxremote -Dcom.sun.management.jmxremote.port=9001 -Dcom.sun.management.jmxremote.ssl=false -Dcom.sun.management.jmxremote.authenticate=false"
HTML Code:
[root@monitor ~]# java -jar cmdline-jmxclient-0.10.3.jar '-':'-' [B]10.0.0.234:9001 java.lang:type=OperatingSystem ProcessCpuTime 01/19/2013 13:34:58 +0530 org.archive.jmx.Client ProcessCpuTime: 10040000000[/B]
HTML Code:
UserParameter=jvm.maxthreads, java -jar /root/cmdline-jmxclient-0.10.3.jar '-':'-' 10.0.0.234:9001 java.lang:type=Threading PeakThreadCount
HTML Code:
UserParameter=jvm.maxthreads, java -jar /root/cmdline-jmxclient-0.10.3.jar '-':'-' 10.0.0.234:9001 java.lang:type=OperatingSystem ProcessCpuTime
After performing all the above steps i am not able to view the tomcat data on zabbix server.
Please help me on this if i am missing something in above setup.
Comment