2019-08-29 Zabbix client installation

Transfer from: http: //blog.chinaunix.net/uid-25266990-id-3387002.html

 

Agentd listening tests using data acquisition.

 

Installation of the server can be viewed http://blog.chinaunix.net/space.php?uid=25266990&do=blog&id=3380929

 

download

http://www.zabbix.com/downloads/2.0.3/zabbix_agents_2.0.3.linux2_6.i386.tar.gz

http://www.zabbix.com/documentation/2.0/manual/installation

 

 

installation

1) Create a user

groupadd zabbix

useradd -g zabbix zabbix

2) unzip to

tar -zxvf zabbix_agents_2.0.3.linux2_6.i386.tar.gz  -C /usr/local/zabbix_agent

 

3) Installation Services

cat >>/etc/services<<eof< span="">

zabbix-agent 10050/tcp Zabbix Agent

zabbix-agent 10050/udp Zabbix Agent

zabbix-trapper 10051/tcp Zabbix Trapper

zabbix-trapper 10051/udp Zabbix Trapper

EOF

4) modify the configuration file

vim /usr/local/zabbix_agent/etc/zabbix_agent.conf

    Modify Zabbix server 's ip

    Server = 192.168.10.197 #server end IP address , modify

5) Start

/usr/local/agent/sbin/zabbix_agentd -c /usr/local/agent/etc/zabbix_agentd.conf 

Echo "/usr/local/agent/sbin/zabbix_agentd -c /usr/local/agent/etc/zabbix_agentd.conf" >>/etc/tc.local

6) added to the system directory

ln -s /usr/local/zabbix_agent/sbin/* /usr/local/sbin/

ln -s /usr/local/zabbix_agent/bin/* /usr/local/bin/

7) Test, the following commands will require server performing end, wherein 192.168.10.199 is the agent of ip

#/usr/local/zabbix/bin/zabbix_get -s192.168.10.199 -p10050 -k"system.uptime"

1031163

 

Summary:
    About zabbix browser configuration, can access relevant information, a lot of personal research, zabbix very powerful, in control, image reports are very good; but the configuration is somewhat complex, and not the result I wanted, the latter will use other software alternatives.
 

Guess you like

Origin www.cnblogs.com/baiyy/p/11429899.html