CENTOS7 installation Zabbix-agent

Source: Internet
Author: User

    • Turn off SELinux

Sed-i "s/selinux=enforcing/selinux=disabled/"/etc/selinux/config Setenforce 0
    • Firewall settings
      Allow Zabbix-agent 10050 ports to pass

Firewall-cmd--permanent--add-port=10050/tcpfirewall-cmd--reload
Installing the Zabbix software source
RPM-IVH http://repo.zabbix.com/zabbix/2.4/rhel/7/x86_64/zabbix-release-2.4-1.el7.noarch.rpm
Installing Zabbix-agent
Yum Install Zabbix-sender zabbix-agent Zabbix

sed-i"s/server=127.0.0.1/server=10.0.0.101/"/etc/zabbix/zabbix_agentd. confsed-i"s/serveractive=127.0.0.1/serveractive=10.0.0.101/"/etc/zabbix/zabbix_agentd. conf(Active mode) Sed-i"S/hostname=zabbix server/hostname=10.0.0.105/"/etc/zabbix/zabbix_agentd. conf


    • Start and set up boot

Systemctl Restart Zabbix-agent.servicesystemctl Enable Zabbix-agent.service


CENTOS7 installation Zabbix-agent

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.