环境:
服务端zabbix-server: 10.0.0.134 操作系统unbtun20.04
客服端zabbix-agent: 10.0.0.12 操作系统centos7
配置文件目录:
zabbix-agent-----------> /etc/zabbix/zabbix_agentd.conf
日志:------------------ >cat /var/log/zabbix/zabbix_agentd.log
一. 安装zabbix-agent
注:可自行访问zabbix官网安装zabbix-agent
安装详情:
a. Install Zabbix repository
产品手册
# rpm -Uvh https://repo.zabbix.com/zabbix/6.0/rhel/8/x86_64/zabbix-release-6.0-1.el8.noarch.rpm
# dnf clean all
b. 安装Zabbix server,Web前端,agent
# dnf install zabbix-server-pgsql
安装zabbix-agent
[root@12 gegewu]# dnf install zabbix-agent -y
Extra Packages for Enterprise Linux 7 - x86_64 1.5 MB/s | 17 MB 00:10
MySQL 5.6 Community Server 632 kB/s | 2.1 MB 00:03
Zabbix Official Repository - x86_64 26 kB/s | 82 kB 00:03
MySQL Tools Community 209 kB/s | 651 kB 00:03
CentOS-7 - Base - mirrors.aliyun.com 1.7 MB/s | 10 MB 00:05
CentOS-7 - Updates - mirrors.aliyun.com 1.8 MB/s | 19 MB 00:10
Zabbix Official Repository non-supported - x86_64 1.5 kB/s | 1.2 kB 00:00
CentOS-7 - Extras - mirrors.aliyun.com 1.1 MB/s | 331 kB 00:00
MySQL Connectors Community 74 kB/s | 49 kB 00:00
依赖关系解决。
===================================================================&#