Zabbix Agent Installation (Linux edition)

Source: Internet
Author: User

1. View Linux system version and kernel;

[Email protected] tools]# uname-r2.6.32-431.3.1.el6.x86_64

2. Create user names and groups;

[[Email protected] ~] #groupadd zabbix[[email protected] ~] #useradd –g Zabbixzabbix

3. Create a new directory;

[[email protected] ~]# Mkdir/root/tools[[email protected] ~] #mkdir/etc/zabbix[[email protected] ~] #chown –rzabbix: Zabbix/etc/zabbix[[email protected] ~]# CD tools/

4. Download Zabbix agent;

[[email protected]] #wget http://www.zabbix.com/downloads/2.2.1/zabbix_agents_2.2.1.linux2_6.amd64.tar.gz


5. Unzip the Zabbix agent;

[[email protected]] #tar Zxvfzabbix_agents_2.2.1.linux2_6.amd64.tar.gz–c/etc/zabbix

6. Edit The Zabbix configuration file;

[[Email protected] ~] #vim/etc/zabbix/conf/zabbix_agentd.conf modified to: Logfile=/etc/zabbix/zabbix_agentd.log #指定日志文件目录 ; server=10.9.80.128 #监控服务器端IP地址;


7. Start Zabbix agent;

[[Email protected] conf]#/etc/zabbix/sbin/zabbix_agentd -c /etc/zabbix/conf/zabbix_ agent.conf [[email protected] conf]# ps -ef |grepzabbix_agentzabbix     2161    1  0 19:51 ?         00:00:00 /etc/zabbix/sbin/zabbix_agentd-c /etc/zabbix/conf/zabbix_agentd.confzabbix     2162 2161  0 19:51 ?         00:00:00/etc/zabbix/sbin/zabbix_agentd: collector [idle 1 sec]               zabbix    2163  2161  0 19:51 ?        00:00:00/etc/zabbix/ sbin/zabbix_agentd: listener  #1  [waiting for connection]zabbix     2164 2161  0 19:51 ?        00:00:00/etc/zabbix/sbin/zabbix_agentd: listener   #2  [waiting for connection]zabbix    2165 2161  0  19:51 ?        00:00:00/ETC/ZABBIX/SBIN/ZABBIX_AGENTD:  listener  #3  [waiting for connection]zabbix    2166 2161   0 19:51 ?        00:00:00/etc/zabbix/sbin/zabbix _agentd: active checks  #1  [idle 1 sec]        root      2169 2044  0 19:51 pts/0     00:00:00 grep zabbix_agent [[email protected] conf]# netstat -lntp| Grep -i 10050tcp        0     0  0.0.0.0:10050              0.0.0.0:*                   LISTEN       2161/zabbix_agentd


This article is from "Jerry on the Road" blog, please be sure to keep this source http://jerry0117.blog.51cto.com/1664014/1537566

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.