推荐经验
点击查看经验
zabbix的yum源配置:
点击查看经验
清华大学zabbix的yum的源配置(3.0版本):
下载仓库包:
wget https://mirrors.tuna.tsinghua.edu.cn/zabbix/zabbix/3.0/rhel/7/x86_64/zabbix-release-3.0-1.el7.noarch.rpm
引入仓库包:
rpm -ivh zabbix-release-3.0-1.el7.noarch.rpm
下载客户端
yum install zabbix-agent zabbix-sender
配置下载源(清华3.0源):
vim /etc/yum.repos.d/zabbix.repo
[zabbix] #zabbix yum源!
name=Zabbix Official Repository - $basearch
baseurl=https://mirrors.tuna.tsinghua.edu.cn/zabbix/zabbix/3.0/rhel/7/x86_64/ #根据系统版本变动
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-ZABBIX
[zabbix-non-supported]
name=Zabbix Official Repository non-supported - $basearch
baseurl=https://mirrors.tuna.tsinghua.edu.cn/zabbix/zabbix/3.0/rhel/7/x86_64/
enabled=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-ZABBIX
gpgcheck=1
问题记录
问题1
1.yum安装zabbix-agent报如下错误
Public key for zabbix-agent-3.0.27-1.el7.x86_64.rpm is not installed
zabbix-agent-3.0.27-1.el7.x86_64.rpm //缺少zabbix-agent密匙
解决方法
yum install zabbix-agent-3.0.27-1.el7.x86_64.rpm --nogpgcheck //安装密钥
参考经验:点击查看解答
问题2