Zabbix-agent安装问题汇总
1.python解释器问题;
解决方法:
先执行yum -y install https://repo.zabbix.com/zabbix/4.4/rhel/7/x86_64/zabbix-release-4.4-1.el7.noarch.rpm
再执行yum install Zabbix-agent
2.
Errors during downloading metadata for repository 'AppStream':
- Curl error (28): Timeout was reached for http://vault.centos.org/centos/8/AppStream/x86_64/os/repodata/repomd.xml [Operation too slow. Less than 1000 bytes/sec transferred the last 30 seconds]
Error: Failed to download metadata for repo 'AppStream': Cannot download repomd.xml: Cannot download repodata/repomd.xml: All mirrors were tried
暂时的解决方法:下载安装包放到本地进行安装。
3.本地安装提示缺少依赖
解决方法:先下载依赖包:
使用命令rpm -i compat-openssl10-1.0.2o-3.el8.x86_64.rpm --nodeps --force强制安装
然后再安装agent的rpm包
4. 安装完成,但出现告警:
[/usr/lib/tmpfiles.d/libstoragemgmt.conf:1] Line references path below legacy directory /var/run/, updating /var/run/lsm → /run/lsm; please update the tmpfiles.d/ drop-in file accordingly.
[/usr/lib/tmpfiles.d/libstoragemgmt.conf:2] Line references path below legacy directory /var/run/, updating /var/run/lsm/ipc → /run/lsm/ipc; please update the tmpfiles.d/ drop-in file accordingly.
查看得到:
解决方案:
将提示的需要修改的文件进行更改:旧→ 新
标签:run,x86,安装,汇总,agent,Zabbix,64,rpm From: https://www.cnblogs.com/lazyzzzloading/p/17716700.html