How to install Zabbix-agent on CentOS 7

Source: Internet
Author: User

=============================================================================================

How to install Zabbix-agent on CentOS 7


Step 1:add Required Repository

#rpm-UVH http://repo.zabbix.com/zabbix/2.4/rhel/7/x86_64/zabbix-release-2.4-1.el7.noarch.rpm


Step 2:install, Activate and Edit configuration file

#yum Install Zabbix zabbix-agent

#systemctl Status Zabbix-agent

#systemctl Enable Zabbix-agent

#vi/etc/zabbix/zabbix_agentd.conf

server=192.168.1.100

Hostname=host1

#systemctl Start Zabbix-agent


Step 3:open zabbix-agent lisenting port TCP-10050 on firewall


View the services and ports that are running on each zone of the firewall

#firewall-cmd--list-all-zones


Add Firewall Listener zabbix-agent TCP-10050

#firewall-cmd--zone=public--add-port=10050/tcp--permanent


Make effective

#firewall-cmd--reload


If you remove zabbix-agent from the firewall TCP-10050

Firewall-cmd--zone=public--remove-port=10050/tcp--permanent


Make effective

Firewall-cmd--reload


View Session

Netstat-tpwau

==============================================================================================


This article from "Sukhoi" blog, declined reprint!

How to install Zabbix-agent on CentOS 7

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.