在agent的日志里看到有“host [Seafile server] not found“的提示;

[root@SeafileServer ~]# tail -f /var/log/zabbix/zabbix_agentd.log
 11895:20210409:155141.338 TLS support:           YES
 11895:20210409:155141.338 **************************
 11895:20210409:155141.338 using configuration file: /etc/zabbix/zabbix_agentd.conf
 11895:20210409:155141.340 agent #0 started [main process]
 11896:20210409:155141.342 agent #1 started [collector]
 11897:20210409:155141.345 agent #2 started [listener #1]
 11899:20210409:155141.345 agent #4 started [listener #3]
 11898:20210409:155141.348 agent #3 started [listener #2]
 11900:20210409:155141.350 agent #5 started [active checks #1]
 11900:20210409:155141.366 no active checks on server [192.168.99.21:10051]: host [Seafile server] not found
 11900:20210409:155341.420 no active checks on server [192.168.99.21:10051]: host [Seafile server] not found

解决方法

vim /etc/zabbix/zabbix_agentd.conf

将Hostname=更改成截图中的Hostname
image.png

最后修改:2021 年 04 月 09 日 04 : 37 PM
如果觉得我的文章对你有用,请随意赞赏