manual Installation Zabbix Client
( 1 ) to add on the client Zabbix Groups and Users
groupadd Zabbix useradd zabbix-g Zabbix |
agent agent The required configuration files can be zabbix Server a copy of the Span style= "padding:0px;" >zabbix.agentd.conf
wget http://www.zabbix.com/downloads/1.8/zabbix_ agents_1.8.linux2_6.x64.tar.gz tar- ZXVF zabbix_agents_1.8.linux2_6.x64.tar.gz-c/usr/local/ mv/usr/local/zabbix-1.8//usr/ Local/zabbix cd/usr/local/zabbix/bin for i in *;d o ln-s/usr/local/zabbix/bin/$ {i}/usr/bin/${i};d one |
zabbix monitoring port
cat>>/etc/services<< ; EOF zabbix_agent &NBSP;&NBSP;&NBSP;&NBSP; 10050/tcp zabbix_trap 10051/tcp eof |
) Copy the configuration file to /etc/zabbix directory, Modify the host name and monitoring Server
in the configuration file
sed-i ' s/^server=.*$/server=10.0.101.248./g '/etc /zabbix/zabbix_agentd.conf sed-i" s/^ Hostname=.*$/hostname=serverb.cyhd.com.cn/g '/etc/zabbix/zabbix_agentd.conf |
( 5 ) Download and copy the startup script to /ETC/INIT.D directory under
CP zabbix_agentd/etc/init.d/ chmod A+x/etc/init.d/zabbix_agentd |
( 6 ) Start Zabbix Client Process
Service Zabbix_agentd Start |
( 7 ) Open the appropriate port on the fire wall
Iptables-a input-p tcp-s 10.0.101.248-m multiport--dports 10050,10051-jaccept |
(8) test of Zabbix service side
[Email protected] zabbix]#/usr/local/zabbix/bin/zabbix_get-s 192.168.23.241-p10050-k "Net.if.in[eth0,bytes]"
6622629
This article is from the "Down to earth" blog, make sure to keep this source http://343614597.blog.51cto.com/7056394/1888637
Linux Installation Deployment Zabbix client