zabbix的JMX可用性
准备:两台虚拟机vm1(redhat7.3)server1(redhat6.5)server1上安装apache、jdkrpm -ivh jdk-8u121-linux-x64.rpmtar zxf apache-tomcat-7.0.90.tar.gz -C /usr/localln -s apache-tomcat-7.0.90/ tomcatcd tom...
·
准备:
两台虚拟机 vm1 (redhat7.3)
server1 (redhat6.5)
server1上安装apache、jdk
rpm -ivh jdk-8u121-linux-x64.rpm
tar zxf apache-tomcat-7.0.90.tar.gz -C /usr/local
ln -s apache-tomcat-7.0.90/ tomcat
cd tomcat/bin
./startup.sh
netstat -antpl # 出现8080端口
vim ./catalina.sh
CATALINA_OPTS='-Dcom.sun.management.jmxremote
-Dcom.sun.management.jmxremote.port=8888
-Dcom.sun.management.jmxremote.ssl=false
-Dcom.sun.management.jmxremote.authenticate=false'
重启tomcat
在
vm1上下载并安装zabbix-java-gateway-3.4.6.1.el7.x86_64.rpm
yum install -y zabbix-java-gateway-3.4.6.1.el7.x86_64.rpm
cd /etc/zabbix/
systemctl start zabbix-java-gateway
netstat -antpl |grep :10052 # 查看监听端口
vim /etc/zabbix/zabbix_server.conf
systemctl restart zabbix-server
网页中点击server1,添加JMX接口
添加模板
更新JMX可用
更多推荐
已为社区贡献2条内容
所有评论(0)