A while ago, the leader asked to use Zabbix to monitor multiple tomcat instances on a single machine. When starting to do, it is found that more data are less how to reaming Tomcat, and there are few instructions on how to monitor multiple tomcat. Arduous, finally fix, may still have some incomplete place, but the right when is guide, know the idea, the rest depend on everybody to play!
There is an article about the Zabbix monitoring Tomcat before the very detailed, here recommend
http://lovelace.blog.51cto.com/1028430/1424964
This article is a good introduction to Zabbix through JXM monitoring Tomcat, but a single tomcat monitoring, the front of the installation configuration can refer to this article, below we look at, to monitor multiple tomcat, but also to do what changes:
One server has multiple tomcat, and to Zabbix to monitor multiple tomcat on the same machine separately, only by adjusting the port of each tomcat configuration file:
Modify such a parameter in each Tomcat Serverr.xml file to adjust the Zabbix connection to Tomcat's monitoring port:
vi/data/web/apache-tomcat/conf$ VI Server.xml
650) this.width=650; "src="/e/u261/themes/default/images/spacer.gif "style=" Background:url ("/e/u261/lang/zh-cn/ Images/localimage.png ") no-repeat center;border:1px solid #ddd;" alt= "Spacer.gif"/>
650) this.width=650; "src=" Http://s5.51cto.com/wyfs02/M00/7D/DE/wKioL1bx_rjjNnIeAABR4dbR9pA506.png "title=" vy$ 97j1en8f (%db22b[5~ $W. png "width=", "height=" 183 "border=" 0 "hspace=" 0 "vspace=" 0 "style=" WIDTH:800PX;HEIGHT:183PX; " alt= "Wkiol1bx_rjjnnieaabr4dbr9pa506.png"/>
650) this.width=650; "src="/e/u261/themes/default/images/spacer.gif "style=" Background:url ("/e/u261/lang/zh-cn/ Images/localimage.png ") no-repeat center;border:1px solid #ddd;" alt= "Spacer.gif"/>
This article is from "Marching toward the fire!" "Blog, be sure to keep this provenance http://zhaopeiyan.blog.51cto.com/10522430/1754183
Zabbix Multi-instance monitoring Tomcat