Zabbix's Tomcat monitoring

Source: Internet
Author: User

One, server side: 1,JDK2, backup zabbix_server.conf./configure--prefix=/usr/local/zabbix--enable-server--enable-proxy-- Enable-agent--with-mysql--with-net-snmp--with-libcurl--enable-javamake; make Installcp  3, vim/ usr/local/zabbix/sbin/zabbix_java/settings.shlisten_ip= "0.0.0.0" listen_port=10052pid_file= "/tmp/zabbix_ Java.pid "start_pollers=5 vim/usr/local/zabbix/etc/zabbix_server.confjavagateway=127.0.0.1javagatewayport= 10052startjavapollers=5 /usr/local/zabbix/sbin/zabbix_server/usr/local/zabbix/sbin/zabbix_java/ STARTUP.SHSS-TUNLP | grep 10052hostname-i                 #解析IP, return to native ip  two, Tomcat end wget  http:/ /archive.apache.org/dist/tomcat/tomcat-7/v7.0.8/bin/extras/catalina-jmx-remote.jar -p   /usr/ Local/tomcat/lib/vim/usr/local/tomcat/xx.lppz.com/tomcat.shexport catalina_opts= "-Dcom.sun.management.jmxremote  -dcom.sun.management.jmxremote.authenticate=false -dcom.sun.management.jmxremote.ssl=false -djava.rmi.server.hostname=127.0.0.1 -dcom.sun.management.jmxremote.port=5500 "Restart tomcat  Restart zabbix  native and server Java-jar cmdline-jmxclient-0.10.3.jar  -192.168.32.119:5500  java.lang:type=memory Nonheapmemoryusagejava-jar Cmdline-jmxclient-0.10.3.jar  -localhost:5500  java.lang:type=Memory Nonheapmemoryusagejava-jar Cmdline-jmxclient-0.10.3.jar  -192.168.19.22:5500  java.lang:type=Memory nonheapmemoryusage     

Zabbix Tomcat monitoring

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.