zoukankan      html  css  js  c++  java
  • install zabbix-agent on CENTOS

    in ubuntu--https://www.digitalocean.com/community/tutorials/how-to-install-zabbix-on-ubuntu-configure-it-to-monitor-multiple-vps-servers

    Zabbix Agent is required to install on all remote systems needs to be monitor through Zabbix server. The Zabbix Agent collects resource utilization data and applications data on client system and provide such information to Zabbix server on their requests.

    There are two types of checks between Zabbix Server and Client.

    • Passive Check : Zabbix Agent sent data to server on their request.
    • Active Check : Zabbix Agent sends data periodically to Server.

    After installing zabbix server on your server, Now we are moving to install agent on remote system’s. This article will help you to install zabbix agent on CentOS/RHEL 7/6/5 systems. After completing this step go to next article add Host in Zabbix Server.

    Installing Zabbix Agent

    Follow the below instructions to install Zabbix Agent on CentOS, RHEL 7/6/5 systems.

    Step 1 – Add Required Repository

    Before installing Zabbix Agent first configure zabbix yum repository using following commands as per your required version and operating system.

    CentOS/RHEL 7:
    # rpm -Uvh http://repo.zabbix.com/zabbix/3.0/rhel/7/x86_64/zabbix-release-3.0-1.el7.noarch.rpm
    
    CentOS/RHEL 6:
    # rpm -Uvh http://repo.zabbix.com/zabbix/3.0/rhel/6/x86_64/zabbix-release-3.0-1.el6.noarch.rpm
    
    CentOS/RHEL 5:
    # rpm -Uvh http://repo.zabbix.com/zabbix/3.0/rhel/5/x86_64/zabbix-release-3.0-1.el5.noarch.rpm
    
    

    Step 2 – Install Zabbix Agent

    After installing yum repository packages in our system. Now use following command to install Zabbix agent on your Linux system.

    # yum install zabbix zabbix-agent
    

    Step 3 – Edit Zabbix Agent Configuration

    As zabbix agent has been successfully installed on our remote system. Now we just need to configure zabbix agent by adding zabbix server ip in its configuration file/etc/zabbix/zabbix_agentd.conf

    #Server=[zabbix server ip]
    #Hostname=[ Hostname of client system ]
    
    Server=192.168.1.11
    Hostname=Server1
    

    Step 4 – Restarting Zabbix Agent

    After adding zabbix server ip in configuration file, now restart agent service using below command.

    # /etc/init.d/zabbix-agent restart
    

    To start and stop zabbix-agent service anytime use following commands.

    # /etc/init.d/zabbix-agent start
    # /etc/init.d/zabbix-agent stop
    

    Congratulation’s! You have successfully installed Zabbix Agent. Lets add host in zabbix serverto be monitory.

  • 相关阅读:
    从零开始在虚拟机中搭建一个4个节点的CentOS集群(三)-----将一台虚拟机复制成4台虚拟机
    从零开始在虚拟机中搭建一个4个节点的CentOS集群(二)-----在虚拟机中安装Java和Perl
    java后台访问接口
    java文件名更改一直是false,看看是否是文件打开没有关
    java后台调用url无协议
    MyEclipse怎么设置个性化代码注释模板
    sql参数化查询in的参数
    mongodb索引
    oracle分配权限:一个用户访问另一个用户的表
    spring读写分离
  • 原文地址:https://www.cnblogs.com/SZLLQ2000/p/5604258.html
Copyright © 2011-2022 走看看