CentOS 6.5 Installation Deployment Zabbix (Agent client chapter)

Source: Internet
Author: User

Download

Http://www.zabbix.com/downloads/2.2.1/zabbix_agents_2.2.1.linux2_6_23.i386.tar.gz

All agent versions Download: http://www.zabbix.com/download2.php



Installation

1 ) Create a user

#groupadd Zabbix

#Useradd-g Zabbix Zabbix

2 ) decompression can

# mkdir/etc/zabbix_agent

#TAR-ZXVF zabbix_agents_2.2.1.linux2_6_23.i386.tar.gz-c / etc/zabbix _agent


3 ) Installation Services

Cat/etc/services |grep zabbix*

Zabbix-agent 10050/tcp Zabbix Agent

Zabbix-agent 10050/UDP Zabbix Agent

Zabbix-trapper 10051/tcp Zabbix Trapper

Zabbix-trapper 10051/udp Zabbix Trapper

4 ) Modify the configuration file

v I m / etc/ zabbix_agent/conf/zabbix_agent.conf

Modify IP for Zabbix server

server=192.168.30.145 #server -side IP address , please modify

5 ) Start

zabbix_agent /sbin/zabbix_agentd  -c etc/

Echo "etc/zabbix_agent/sbin/zabbix_agentd-c etc/zabbix_agent/conf/ zabbix_agentd.conf ">>/etc/rc.local

6 ) added to the system directory

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

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

7 ) test, the following command needs to be executed on the server side, where 192.168.30.145 is the IP of the agent

# /usr/local/zabbix/bin/zabbix_get-s192.168.30.145-p10050-k "System.uptime"

115030



This article is from the "Healer" blog, make sure to keep this source http://zlyang.blog.51cto.com/1196234/1685665

CentOS 6.5 Installation Deployment Zabbix (Agent client chapter)

Related Article

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.