Zabbix Client Install and Configure

環境


  • 請先架出 Zabbix Server 端。
  • Ubuntu 16

Install Zabbix Agents

itachi@itachi-agent:~$ sudo mv zabbix-agent_3.4.1-1+xenial_amd64.deb.1 zabbix-agent_3.4.1-1+xenial_amd64.deb
itachi@itachi-agent:~$ sudo dpkg -i zabbix-agent_3.4.1-1+xenial_amd64.deb
itachi@itachi-agent:~$ sudo apt install libcurl3

 Configure Zabbix Agent

itachi@itachi-agent:~$ sudo vim /etc/zabbix/zabbix_agentd.conf
Server=192.168.7.104 # Server 端
ServerActive=192.168.7.104 # Server 端
Hostname=itachi-agent  # 本機端

服務重啟

itachi@itachi-agent:~$ sudo systemctl restart zabbix-agent.service
itachi@itachi-agent:~$ sudo netstat -tunlp | grep zabbix
tcp        0      0 0.0.0.0:10050           0.0.0.0:*               LISTEN      8595/zabbix_agentd
tcp6       0      0 :::10050                :::*                    LISTEN      8595/zabbix_agentd

Add Zabbix Agent Monitored Host to Zabbix Server

留言

熱門文章