zabbix6.4监控centos-CSDN博客

阿里云国内75折 回扣 微信号:monov8
阿里云国际,腾讯云国际,低至75折。AWS 93折 免费开户实名账号 代冲值 优惠多多 微信号:monov8 飞机:@monov6

1、关闭防火墙
setenforce 0  #关闭SELinux

sed -i "s/SELINUX=enforcing/SELINUX=disabled/g" /etc/selinux/config           #设置永久关闭SELinux

systemctl stop firewalld.service              #关闭防火墙

systemctl disable firewalld.service          #设置永久关闭防火墙

2、安装agent
rpm -Uvh https://repo.zabbix.com/zabbix/6.4/rhel/8/x86_64/zabbix-release-6.4-1.el8.noarch.rpm #获取zabbix的源

dnf install -y zabbix-agent

 

3、修改agent参数
vi /etc/zabbix/zabbix_agentd.conf

Server=192.168.34.107          #zabbix-server的ip

ServerActive=192.168.34.107     #zabbix-server的ip

Hostname=192.168.34.109         #本机ip

4、启动agent
systemctl start zabbix-agent

sy

阿里云国内75折 回扣 微信号:monov8
阿里云国际,腾讯云国际,低至75折。AWS 93折 免费开户实名账号 代冲值 优惠多多 微信号:monov8 飞机:@monov6
标签: centos