[root@zabbix zabbix]# cat /var/log/zabbix/zabbix_server.log | grep srv1.mydomain.lan
1834:20210316:165431.668 cannot send list of active checks to "192.168.xx.xxx": host [srv1.mydomain.lan] not found
1829:20210316:165656.089 enabling Zabbix agent checks on host "srv1.mydomain.lan": host became available
1818:20210316:172738.656 item "srv1.mydomain.lan:vfs.dev.read.await[sda]" became not supported: Cannot evaluate expression: "Cannot evaluate function "last()": not enough data.".
1820:20210316:172739.658 item "srv1.mydomain.lan:vfs.dev.write.await[sda]" became not supported: Cannot evaluate expression: "Cannot evaluate function "last()": not enough data.".
1822:20210316:173738.223 item "srv1.mydomain.lan:vfs.dev.read.await[sda]" became supported
1817:20210316:173739.223 item "srv1.mydomain.lan:vfs.dev.write.await[sda]" became supported
1861:20210318:170903.928 Zabbix agent item "vfs.fs.size[/,used]" on host "srv1.mydomain.lan" failed: first network error, wait for 15 seconds
1869:20210318:170923.614 Zabbix agent item "vfs.fs.size[/,total]" on host "srv1.mydomain.lan" failed: another network error, wait for 15 seconds
1869:20210318:170938.815 Zabbix agent item "vfs.fs.size[/,pused]" on host "srv1.mydomain.lan" failed: another network error, wait for 15 seconds
1869:20210318:170954.083 temporarily disabling Zabbix agent checks on host "srv1.mydomain.lan": host unavailable
zabbix_agentd [3571]: cannot create PID file [/var/run/zabbix/zabbix_agentd.pid]: [2] No such file or directory
zabbix_agentd [3584]: cannot create PID file [/var/run/zabbix/zabbix_agentd.pid]: [2] No such file or directory
zabbix_agentd [3598]: cannot create PID file [/var/run/zabbix/zabbix_agentd.pid]: [2] No such file or directory
zabbix_agentd [3623]: cannot create PID file [/var/run/zabbix/zabbix_agentd.pid]: [2] No such file or directory
zabbix_agentd [3644]: cannot create PID file [/var/run/zabbix/zabbix_agentd.pid]: [2] No such file or directory
zabbix_agentd [3659]: cannot create PID file [/var/run/zabbix/zabbix_agentd.pid]: [2] No such file or directory
zabbix_agentd [3674]: cannot create PID file [/var/run/zabbix/zabbix_agentd.pid]: [2] No such file or directory
zabbix_agentd [3728]: cannot create PID file [/var/run/zabbix/zabbix_agentd.pid]: [2] No such file or directory
zabbix_agentd [3742]: cannot create PID file [/var/run/zabbix/zabbix_agentd.pid]: [2] No such file or directory
zabbix_agentd [3757]: cannot create PID file [/var/run/zabbix/zabbix_agentd.pid]: [2] No such file or directory
zabbix_agentd [3774]: cannot create PID file [/var/run/zabbix/zabbix_agentd.pid]: [2] No such file or directory
zabbix_agentd [3787]: cannot create PID file [/var/run/zabbix/zabbix_agentd.pid]: [2] No such file or directory
zabbix_agentd [3802]: cannot create PID file [/var/run/zabbix/zabbix_agentd.pid]: [2] No such file or directory
zabbix_agentd [3835]: cannot create PID file [/var/run/zabbix/zabbix_agentd.pid]: [2] No such file or directory
zabbix_agentd [3850]: cannot create PID file [/var/run/zabbix/zabbix_agentd.pid]: [2] No such file or directory
[root@srv1 run]# systemctl restart zabbix-agent
Job for zabbix-agent.service failed. See "systemctl status zabbix-agent.service" and "journalctl -xe" for details.
[root@srv1 run]# journalctl -xe
-- The result is failed.
Mar 19 08:07:40 srv1.mydomain.lan systemd[1]: Unit zabbix-agent.service entered failed state.
Mar 19 08:07:40 srv1.mydomain.lan systemd[1]: zabbix-agent.service failed.
Mar 19 08:07:40 srv1.mydomain.lan polkitd[731]: Unregistered Authentication Agent for unix-process:4647:129169 (system bus name :1.49, object path /org/freedesktop/PolicyKit1/Authenticati
Mar 19 08:07:42 srv1.mydomain.lan rspamd[1954]: <7h4oer>; lua; bayes_expiry.lua:440: finished expiry step 13: 996 items checked, 198 significant (41 made persistent), 0 insignificant (0 t
Mar 19 08:07:50 srv1.mydomain.lan systemd[1]: zabbix-agent.service holdoff time over, scheduling restart.
Mar 19 08:07:50 srv1.mydomain.lan systemd[1]: Stopped Zabbix Agent.
-- Subject: Unit zabbix-agent.service has finished shutting down
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit zabbix-agent.service has finished shutting down.
Mar 19 08:07:50 srv1.mydomain.lan systemd[1]: Starting Zabbix Agent...
-- Subject: Unit zabbix-agent.service has begun start-up
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit zabbix-agent.service has begun starting up.
Mar 19 08:07:50 srv1.mydomain.lan systemd[1]: Can't open PID file /run/zabbix/zabbix_agentd.pid (yet?) after start: No such file or directory
Mar 19 08:07:50 srv1.mydomain.lan systemd[1]: Daemon never wrote its PID file. Failing.
Mar 19 08:07:50 srv1.mydomain.lan systemd[1]: Failed to start Zabbix Agent.
-- Subject: Unit zabbix-agent.service has failed
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit zabbix-agent.service has failed.
--
-- The result is failed.