加入Apt Repository

For Ubuntu 16.04 LTS:

wget http://repo.zabbix.com/zabbix/3.4/ubuntu/pool/main/z/zabbix-release/zabbix-release_3.4-1+xenial_all.deb
dpkg -i zabbix-release_3.4-1+xenial_all.deb

For Ubuntu 14.04 LTS:

wget http://repo.zabbix.com/zabbix/3.4/ubuntu/pool/main/z/zabbix-release/zabbix-release_3.4-1+trusty_all.deb
dpkg -i zabbix-release_3.4-1+trusty_all.deb

For Debian 9:

wget http://repo.zabbix.com/zabbix/3.4/debian/pool/main/z/zabbix-release/zabbix-release_3.4-1+stretch_all.deb
dpkg -i zabbix-release_3.4-1+stretch_all.deb

For Debian 8:

wget http://repo.zabbix.com/zabbix/3.4/debian/pool/main/z/zabbix-release/zabbix-release_3.4-1+jessie_all.deb
dpkg -i zabbix-release_3.4-1+jessie_all.deb

For Debian 7:

wget http://repo.zabbix.com/zabbix/3.4/debian/pool/main/z/zabbix-release/zabbix-release_3.4-1+wheezy_all.deb
dpkg -i zabbix-release_3.4-1+wheezy_all.deb

更新後安裝zabbix-agent

sudo apt-get update
sudo apt-get install zabbix-agent

設定檔修改

vim /etc/zabbix/zabix_agentd.conf

#Server=[zabbix server ip]
#Hostname=[Hostname of client system ]

Server=192.168.1.x
Hostname=ubuntu

重啟服務及停止服務

sudo service zabbix-agent stop
sudo service zabbix-agent start

By admin

發佈留言

發佈留言必須填寫的電子郵件地址不會公開。 必填欄位標示為 *

這個網站採用 Akismet 服務減少垃圾留言。進一步了解 Akismet 如何處理網站訪客的留言資料