"우분투 zabbix-agent 설치"의 두 판 사이의 차이

 
(같은 사용자의 중간 판 7개는 보이지 않습니다)
1번째 줄: 1번째 줄:
{{테스트|우분투 12, 14, zabbix-agent 2.2}}
;우분투 zabbix-agent 설치


==확인==
==확인==
11번째 줄: 11번째 줄:
==설치==
==설치==
<source lang='console'>
<source lang='console'>
root@zetawiki:~# aptitude install zabbix-agent
root@zetawiki:~# apt install zabbix-agent
The following NEW packages will be installed:
The following NEW packages will be installed:
   zabbix-agent  
   zabbix-agent
0 packages upgraded, 1 newly installed, 0 to remove and 69 not upgraded.
0 upgraded, 1 newly installed, 0 to remove and 81 not upgraded.
Need to get 160 kB of archives. After unpacking 770 kB will be used.
Need to get 184 kB of archives.
Get: 1 http://us.archive.ubuntu.com/ubuntu/ trusty/universe zabbix-agent amd64 1:2.2.2+dfsg-1ubuntu1 [160 kB]
After this operation, 798 kB of additional disk space will be used.
Fetched 160 kB in 1s (120 kB/s)      
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.
Selecting previously unselected package zabbix-agent.
(Reading database ... 80434 files and directories currently installed.)
(Reading database ... 220037 files and directories currently installed.)
Preparing to unpack .../zabbix-agent_1%3a2.2.2+dfsg-1ubuntu1_amd64.deb ...
Preparing to unpack .../zabbix-agent_1%3a2.4.7+dfsg-2ubuntu2.1_amd64.deb ...
Unpacking zabbix-agent (1:2.2.2+dfsg-1ubuntu1) ...
Unpacking zabbix-agent (1:2.4.7+dfsg-2ubuntu2.1) ........................................]
Processing triggers for man-db (2.6.7.1-1ubuntu1) ...
Processing triggers for systemd (229-4ubuntu17) ...###...................................]
Processing triggers for ureadahead (0.100.0-16) ...
Processing triggers for ureadahead (0.100.0-19) ...
Setting up zabbix-agent (1:2.2.2+dfsg-1ubuntu1) ...
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
Creating config file /etc/zabbix/zabbix_agentd.conf with new version
zabbix-agent start/running, process 25987
Processing triggers for systemd (229-4ubuntu17) ...###########################...........]
Processing triggers for ureadahead (0.100.0-16) ...
Processing triggers for ureadahead (0.100.0-19) ...
</source>
</source>


==확인 2==
==확인 2==
<source lang='console'>
<source lang='console'>
root@zetawiki:~# aptitude show zabbix-agent | grep ^State
root@zetawiki:~# apt list zabbix-agent -a
State: installed
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
</source>
</source>
<source lang='console'>
<source lang='console'>
42번째 줄: 46번째 줄:
</source>
</source>


==agent 자동시작 설정==
==(Optional) agent 자동시작 설정==
<source lang='console'>
* 우분투16에서는 기본 on으로 되어 있음
root@zetawiki:~# sysv-rc-conf --list zabbix-agent
zabbix-agent
</source>
<source lang='console'>
<source lang='console'>
root@zetawiki:~# sysv-rc-conf zabbix-agent on
root@zetawiki:~# sysv-rc-conf zabbix-agent on
root@zetawiki:~# sysv-rc-conf --list zabbix-agent
root@zetawiki:~# sysv-rc-conf --list zabbix-agent
zabbix-agent 2:on 3:on 4:on 5:on
zabbix-agent 0:off 1:off 2:on 3:on 4:on 5:on 6:off
</source>
</source>


==같이 보기==
==같이 보기==
*[[CentOS zabbix-agent 설치]]
* [[우분투 zabbix 설치]]
*[[/etc/zabbix/zabbix_agentd.conf]]
* [[CentOS zabbix-agent 설치]]
*[[Zabbix]]
* [[Zabbix agent 컴파일 설치]]
* [[/etc/zabbix/zabbix_agentd.conf]]
* [[Zabbix]]


[[분류: apt-get]]
[[분류: apt-get]]
[[분류: Zabbix]]
[[분류: Zabbix]]
[[분류: Ubuntu]]
[[분류: Ubuntu 16]]

2017년 12월 17일 (일) 19:02 기준 최신판

우분투 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 }}