Zabbix Java gateway源码安装

环境

系统:CentOS 6.6
软件:zabbix-2.4.6.tar.gz

准备

  • 安装zabbix server
    参见:http://www.jianshu.com/p/aae63c359a52

  • 安装jdk
    参见:http://www.jianshu.com/p/9d1b3eefdea3

zabbix Java gateway安装

  • 下载zabbix源码包
    地址:http://www.zabbix.com/download.php

  • 编译安装

    # tar -xzvf zabbix-2.4.6.tar.gz
    # cd zabbix-2.4.6
    # ./configure --prefix=/usr/local/zabbix_java_gateway --enable-java
    # make
    # make install
    
  • 启动

    # /usr/local/zabbix_java_gateway/startup.sh
    # vim /etc/rc.local
    /usr/local/zabbix_java_gateway/startup.sh
    

zabbix server配置

  • 配置

    # vim /etc/zabbix/zabbix_server.conf
    JavaGateway=127.0.0.1
    StartJavaPollers=4
    
  • 重启

    # /etc/init.d/zabbix_server restart
    

你可能感兴趣的:(Zabbix Java gateway源码安装)