查看是否已经安装了zabbix_java
/usr/local/zabbix/sbin/zabbix_java/start.sh 是否存在如未安装,则进入zabbix的源码目录,进行zabbix_java的安装
# cd /home/zabbix-3.4.4
# ./configure --prefix=/usr/local/zabbix --enable-java
# make && make install
- 修改zabbix_server的配置文件
# vi /usr/local/zabbix/etc/zabbix_server.conf
JavaGateway=localhost
JavaGatewayPort=10052
StartJavaPollers=5
然后重启zabbix_server
- 启动zabbix_java
# /usr/local/zabbix/sbin/zabbix_java/startup.sh