Linux Installation Deployment Zabbix client

Source: Internet
Author: User

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<&lt ; EOF

zabbix_agent      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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.