Zabbix agent 컴파일 설치

Zabbix agent 컴파일 설치

1 소스코드 다운로드[ | ]

또는

wget http://sourceforge.net/projects/zabbix/files/ZABBIX%20Latest%20Stable/3.0.13/zabbix-3.0.13.tar.gz

2 컴파일[ | ]

  • 서버에 zabbix-3.0.13.tar.gz 업로드
[root@f5215b52b72b ~]# ll zabbix*.gz
-rw-r--r-- 1 root root 15648338 Nov  9 22:06 zabbix-3.0.13.tar.gz
[root@f5215b52b72b ~]# tar zxvf zabbix-3.0.13.tar.gz
... (생략)
zabbix-3.0.13/upgrades/dbpatches/2.0/postgresql/rc4_rc5.sql
zabbix-3.0.13/upgrades/dbpatches/2.2/
zabbix-3.0.13/upgrades/dbpatches/2.2/README
[root@f5215b52b72b ~]# cd zabbix-3.0.13
[root@f5215b52b72b zabbix-3.0.13]# ./configure --enable-agent
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
... (생략)
***********************************************************
*            Now run 'make install'                       *
*                                                         *
*            Thank you for using Zabbix!                  *
*              <http://www.zabbix.com>                    *
***********************************************************
[root@f5215b52b72b zabbix-3.0.13]# make install
Making install in src
make[1]: Entering directory `/root/zabbix-3.0.13/src'
Making install in libs
... (생략)
make[2]: Nothing to be done for `install-data-am'.
make[2]: Leaving directory `/root/zabbix-3.0.13'
make[1]: Leaving directory `/root/zabbix-3.0.13'
[root@f5215b52b72b zabbix-3.0.13]# make
Making all in src
make[1]: Entering directory `/root/zabbix-3.0.13/src'
... (생략)
make[1]: Entering directory `/root/zabbix-3.0.13'
make[1]: Nothing to be done for `all-am'.
make[1]: Leaving directory `/root/zabbix-3.0.13'
[root@f5215b52b72b zabbix-3.0.13]# which zabbix_agentd
/usr/local/sbin/zabbix_agentd
[root@f5215b52b72b zabbix-3.0.13]# zabbix_agentd
[root@f5215b52b72b zabbix-3.0.13]# ps -ef | grep zabbix_agentd
zabbix    9280     1  0 13:23 ?        00:00:00 zabbix_agentd
zabbix    9281  9280  0 13:23 ?        00:00:00 zabbix_agentd: collector [idle 1 sec]
zabbix    9282  9280  0 13:23 ?        00:00:00 zabbix_agentd: listener #1 [waiting for connection]
zabbix    9283  9280  0 13:23 ?        00:00:00 zabbix_agentd: listener #2 [waiting for connection]
zabbix    9284  9280  0 13:23 ?        00:00:00 zabbix_agentd: listener #3 [waiting for connection]
zabbix    9285  9280  0 13:23 ?        00:00:00 zabbix_agentd: active checks #1 [idle 1 sec]
root      9309     1  0 13:23 pts/0    00:00:00 grep zabbix_agentd

3 같이 보기[ | ]

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