우분투 zabbix-agent 설치

우분투 zabbix-agent 설치

1 확인[ | ]

root@zetawiki:~# apt list zabbix-agent -a
Listing... Done
zabbix-agent/xenial-updates 1:2.4.7+dfsg-2ubuntu2.1 amd64
zabbix-agent/xenial 1:2.4.7+dfsg-2ubuntu2 amd64

2 설치[ | ]

root@zetawiki:~# apt install zabbix-agent
The following NEW packages will be installed:
  zabbix-agent
0 upgraded, 1 newly installed, 0 to remove and 81 not upgraded.
Need to get 184 kB of archives.
After this operation, 798 kB of additional disk space will be used.
Get:1 http://kr.archive.ubuntu.com/ubuntu xenial-updates/universe amd64 zabbix-agent amd64 1:2.4.7+dfsg-2ubuntu2.1 [184 kB]
Fetched 184 kB in 1s (121 kB/s)        
Selecting previously unselected package zabbix-agent.
(Reading database ... 220037 files and directories currently installed.)
Preparing to unpack .../zabbix-agent_1%3a2.4.7+dfsg-2ubuntu2.1_amd64.deb ...
Unpacking zabbix-agent (1:2.4.7+dfsg-2ubuntu2.1) ........................................] 
Processing triggers for systemd (229-4ubuntu17) ...###...................................] 
Processing triggers for ureadahead (0.100.0-19) ...
Processing triggers for man-db (2.7.5-1) ...
Setting up zabbix-agent (1:2.4.7+dfsg-2ubuntu2.1) ...
Progress: [ 66%] [################################################.......................] 
Creating config file /etc/zabbix/zabbix_agentd.conf with new version
Processing triggers for systemd (229-4ubuntu17) ...###########################...........] 
Processing triggers for ureadahead (0.100.0-19) ...

3 확인 2[ | ]

root@zetawiki:~# apt list zabbix-agent -a
Listing... Done
zabbix-agent/xenial-updates,now 1:2.4.7+dfsg-2ubuntu2.1 amd64 [installed]
zabbix-agent/xenial 1:2.4.7+dfsg-2ubuntu2 amd64
root@zetawiki:~# netstat -tnlp | grep zabbix
tcp        0      0 0.0.0.0:10050           0.0.0.0:*               LISTEN      25987/zabbi_agentd
tcp6       0      0 :::10050                :::*                    LISTEN      25987/zabbi_agentd

4 (Optional) agent 자동시작 설정[ | ]

  • 우분투16에서는 기본 on으로 되어 있음
root@zetawiki:~# sysv-rc-conf zabbix-agent on
root@zetawiki:~# sysv-rc-conf --list zabbix-agent
zabbix-agent 0:off	1:off	2:on	3:on	4:on	5:on	6:off

5 같이 보기[ | ]

문서 댓글 ({{ doc_comments.length }})
{{ comment.name }} {{ comment.created | snstime }}