1 개요[ | ]
- Zabbix agent on X is unreachable for 5 minutes
2 확인[ | ]
Console
Copy
root@zetawiki:~# netstat -tnlp | grep zabbix
root@zetawiki:~# ps -ef | grep zabbix | grep -v grep
root@zetawiki:~#
Console
Copy
root@zetawiki:~# sysv-rc-conf --list | grep zabbix-agent
zabbix-agent 0:off 1:off 2:on 3:on 4:on 5:on 6:off
- → 이렇게 되어 있으면 자동시작될 줄 알았는데...
Console
Copy
root@zetawiki:~# systemctl is-enabled zabbix-agent
disabled
- → 이건 disabled?
Console
Copy
root@zetawiki:~# systemctl status zabbix-agent
● zabbix-agent.service - Zabbix Agent
Loaded: loaded (/lib/systemd/system/zabbix-agent.service; disabled; vendor preset: enabled
Active: inactive (dead)
3 조치[ | ]
- enable하고 start하자...
Bash
Copy
systemctl enable zabbix-agent
systemctl start zabbix-agent
Console
Copy
root@zetawiki:~# systemctl enable zabbix-agent
Synchronizing state of zabbix-agent.service with SysV init with /lib/systemd/systemd-sysv-install...
Executing /lib/systemd/systemd-sysv-install enable zabbix-agent
Console
Copy
root@zetawiki:~# systemctl start zabbix-agent
root@zetawiki:~# systemctl status zabbix-agent
● zabbix-agent.service - Zabbix Agent
Loaded: loaded (/lib/systemd/system/zabbix-agent.service; enabled; vendor preset: enabled)
Active: active (running) since Sun 2017-10-01 15:14:17 KST; 4s ago
Process: 32737 ExecStart=/usr/sbin/zabbix_agentd -c $CONFFILE (code=exited, status=0/SUCCES
Main PID: 32759 (zabbix_agentd)
CGroup: /system.slice/zabbix-agent.service
├─32759 /usr/sbin/zabbix_agentd -c /etc/zabbix/zabbix_agentd.conf
├─32760 /usr/sbin/zabbix_agentd: collector [idle 1 sec]
├─32761 /usr/sbin/zabbix_agentd: listener #1 [waiting for connection
├─32762 /usr/sbin/zabbix_agentd: listener #2 [waiting for connection
├─32763 /usr/sbin/zabbix_agentd: listener #3 [waiting for connection
└─32764 /usr/sbin/zabbix_agentd: active checks #1 [idle 1 sec]
Oct 01 15:14:17 zetaweb1 systemd[1]: Starting Zabbix Agent...
Oct 01 15:14:17 zetaweb1 systemd[1]: zabbix-agent.service: Supervising process 32759 which is
Oct 01 15:14:17 zetaweb1 systemd[1]: Started Zabbix Agent.
4 같이 보기[ | ]
5 참고[ | ]
편집자 Jmnote
로그인하시면 댓글을 쓸 수 있습니다.