天天看點

zabbix監控的安裝

被監控端的安裝與配置:

  tar zxf zabbix-2.4.1.tar.gz 

  cd zabbix-2.4.1

  ./configure --prefix=/usr/local/zabbix --enable-agent &&make &&make install

###########################################################################################

   cd /usr/local/zabbix/etc/

   vim zabbix_agentd.conf

    LogFile=/tmp/zabbix_agentd.log

    Server=10.10.41.22 [監控伺服器的ip]

    ServerActive=10.10.41.22[監控伺服器的ip]

    Hostname=10.10.41.21[本機的ip]

   cd /opt/zabbix-2.4.1/misc/init.d/fedora/core/

   cp zabbix_agentd /etc/init.d/

   vim /etc/init.d/zabbix_agentd

     BASEDIR=/usr/local/zabbix 

   service zabbix_agentd start

   ps aux |grep zabbix

   telnet 127.0.0.1:10050

   netstat -na |grep 10050

<未完>

本文轉自 妙曼  51CTO部落格,原文連結:http://blog.51cto.com/yanruohan/1608579,如需轉載請自行聯系原作者