zabbix java gateway
修改配置文件
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20[root@101 ~]# yum -y install zabbix-java-gateway
[root@101 ~]# cat > /etc/zabbix/zabbix_java_gateway.conf <<EOF
> LISTEN_IP="0.0.0.0"
> LISTEN_PORT=10052
> PID_FILE="/var/run/zabbix/zabbix_java.pid"
> START_POLLERS=20
> TIMEOUT=3
EOF
[root@101 ~]# cat >> /etc/zabbix/zabbix_server.conf <EOF
> JavaGateway=10.0.1.89
> JavaGatewayPort=10052
> StartJavaPollers=10
EOF
[root@101 ~]# systemctl start zabbix-java-gateway
[root@101 ~]# systemctl enable zabbix-java-gateway
[root@101 ~]# systemctl restart zabbix-serverdownload
1
2
3
4Download: http://archive.apache.org/dist/tomcat/tomcat-7/v7.0.63/bin/extras/catalina-jmx-remote.jar
[root@101 ~]# ls -l /usr/share/zabbix-java-gateway/lib/catalina-jmx-remote.jar
-rw-r--r-- 1 root root 12997 Mar 31 18:23 /usr/share/zabbix-java-gateway/lib/catalina-jmx-remote.jar