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

查看防火墙各zone在运行的服务及端口

#firewall-cmd --list-all-zones

添加防火墙监听zabbix-agent TCP-10050

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

使生效

#firewall-cmd --reload

若从防火墙中删除zabbix-agent TCP-10050

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

使生效

firewall-cmd --reload

查看session

netstat -tpwau

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

时间: 2024-08-07 21:17:54

How to install zabbix-agent on CentOS 7的相关文章

How to Install Zabbix Agent on Windows System

Zabbix Agent is installed on remote systems needs to monitor through Zabbix server. The Zabbix agent collects resource utilization and applications data on client system and provide such information to zabbix server on their requests. This article wi

zabbix agent installation for windows

Table of Contents 1, Download zabbix_agents_3.0.0.win.zip. 0 2, Uncompress ZABBIX zip file. 0 3, Enter in zabbix folder and Create a new file named zabbix_agentd.log. 0 4, Enter in conf folder and edit zabbix_agentd.win.conf0 5, copy the zabbix folde

zabbix agent端启动时报错:“错误1053:服务没有及时响应启动或控制请求”

按照前面文章的方法,又想加一台Windows服务器到zabbix监控,结果在最后一步,点击右键菜单"启动"时,却报错了. 我就是在zabbix agent端服务器的DOS窗口,执行"D:\zabbix_agents_2.4.4.yg\bin\win64>zabbix_agentd.exe -c D:\zabbix_agents_2.4.4.yg\conf\zabbix_agentd.win.conf -d"命令.(注意我的路径,并不一定照搬.) 里面的&quo

Zabbix Agent 自动、主动注册

简述: 今天来研究一下 Zabbix 的主动注册功能. 当你有十台机器需要监控时,你手动去添加是没有问题的.但是当你有五十台.上百台或更多服务器要监控时,你会怎么做 ? Active Agent Auto-Registration 主要用于 Agent 主动且自动向 Server 注册.很好的解决了 Agent IP.系统.配置不统一等问题. 非常适合现在的云环境中. 一.安装 Agent shell > cd /scripts ; vim auto_install_zabbix_agent.s

CentOS 6.x 下安装Zabbix Agent 3.2.x 操作指引

CentOS 6.x 下安装Zabbix Agent 3.2.x 操作指引=====第一步:安装rpm包rpm -ivh http://http://repo.zabbix.com/zabbix/3.2/rhel/6/x86_64/zabbix-agent-3.2.0-1.el6.x86_64.rpm注:此处的RPM安装包可以根据URL查找更多版本的RPM包 第二步:检查是否安装成功chkconfigrpm -ql zabbix-agent 第三步:配置Zabbix Agentvim /etc/

How to install Zabbix on CENTOS 7

when you have installed zabbix , it is important of changing password. How to install Zabbix on CENTOS 7 Setup 1 INSTALL Create the repos of Zabbix rpm -ivh https://mirrors.aliyun.com/zabbix/zabbix/3.0/rhel/7/x86_64/zabbix-release-3.0-1.el7.noarch.rp

zabbix专题:第三章 Zabbix Agent客户端安装详解

第三章 Zabbix Agent For  本节目录大纲 程序环境 zabbix agent安装配置 (1)安装 (2)配置 (3)启动服务 在zabbix服务器上面添加zabbix-agent服务器,看是否agent安装成功 zabbix专题:第三章 Zabbix Agent For Linux 前面我们已经知道了Zabbix 可以采用Agent/Server 的架构 如果机器比较多,可以使用批量脚本执行或者使用ansible部署agent zabbix agent安装配置 (1)安装 注意r

Add Zabbix Agent

添加第三方源进行安装CentOS/RHEL 7:# rpm -Uvh http://repo.zabbix.com/zabbix/2.2/rhel/7/x86_64/zabbix-release-2.2-1.el7.noarch.rpmCentOS/RHEL 6:# rpm -Uvh http://repo.zabbix.com/zabbix/2.2/rhel/6/x86_64/zabbix-release-2.2-1.el6.noarch.rpmCentOS/RHEL 5:# rpm -Uvh

zabbix agent安装与配置、自定义监控

zabbix agent配置 安装agent包 #安装agent包 [[email protected] web]# yum -y install zabbix-agent #编辑agent配置文件路径:/etc/zabbix/zabbix_agentd.conf [[email protected] zabbix]# vim zabbix_agentd.conf  #修改被动的Server,主动的ServerActive Server=192.168.0.17 ServerActive=192

Install Zabbix 3.4

Install Zabbix 3.4 which is an enterprise open source monitoring system. It's possible to monitor not only Linux but Windows, Solaris, IBM AIX and others. [1] On this example, It based on that SELinux is Permissive or Disabled. [2] Install Apache htt