Install
Config
- CLIENT=caprica.xinux.lan
- SERVER=10.82.1.101
- cd /etc/zabbix
- sed -ie "s/Server=127.0.0.1/Server=$SERVER/" zabbix_agentd.conf
- sed -ie "s/ServerActive=127.0.0.1/ServerActive=$SERVER/" zabbix_agentd.conf
- sed -ie "s/Hostname=Zabbix server/Hostname=$CLIENT/" zabbix_agentd.conf
Start and Enable
- systemctl start zabbix-agent
- systemctl enable zabbix-agent
Log
- tail -f /var/log/zabbix/zabbix_agentd.log
19187:20190613:114632.382 IPv6 support: YES
19187:20190613:114632.382 TLS support: YES
19187:20190613:114632.382 **************************
19187:20190613:114632.382 using configuration file: /etc/zabbix/zabbix_agentd.conf
19187:20190613:114632.382 agent #0 started [main process]
19191:20190613:114632.383 agent #3 started [listener #2]
19188:20190613:114632.383 agent #1 started [collector]
19193:20190613:114632.385 agent #4 started [listener #3]
19195:20190613:114632.386 agent #5 started [active checks #1]
19189:20190613:114632.386 agent #2 started [listener #1]