The Zabbix comes with a Tomcat-capable template that monitors tomcat, configured as follows:
In the Zabbix-server section needs to install Zabbix-java-geteway, need in Zabbix official download, the address is as follows:
http://repo.zabbix.com/zabbix/
You need to open the following in Zabbix-server
javagateway=127.0.0.1
javagatewayport=10052
Startjavapollers=5
Then restart Zabbix-server, and you need to start Zabbix-java-geteway
You will then need to add the following code in the client's bin/catalina.sh
Export catalina_opts= "$CATALINA _opts
-dcom.sun.management.jmxremote
-dcom.sun.management.jmxremote.port=12345
-dcom.sun.management.jmxremote.ssl=false
-dcom.sun.management.jmxremote.authenticate=false "
Then add the port for the JVM in the Zabbix-server graphics page, as follows
650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M00/57/34/wKiom1ST__PhTBJ4AAC1r5Vg79k993.jpg "title=" Qq20141219183724.png "alt=" wkiom1st__phtbj4aac1r5vg79k993.jpg "/> Wait a moment, you can figure out
650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M01/57/34/wKiom1SUAD_xHoztAAMuDKb0Ewc797.jpg "title=" 1.png " alt= "Wkiom1suad_xhoztaamudkb0ewc797.jpg"/>
This article is from "It worker-small Maple" blog, please be sure to keep this source http://wangfeng7399.blog.51cto.com/3518031/1591838
Zabbix Monitoring Tomcat