Hi,
I just noticed that my zabbix (active) agent on 1 of my servers was not running for a couple of weeks.
Manually starting the service I get:
Reading trough the documentation, this appears to be a selinux issue. However, selinux is disabled...
This system is running CloudLinux 7.4.
Any ideas how I can fix this?
Apart from that, what is the appropriate method to monitor if the agent is dead?
I have added an Agent Ping item to my template:

And a trigger:

But it does not seem to trigger, as the item does not get data:

Thanks!
I just noticed that my zabbix (active) agent on 1 of my servers was not running for a couple of weeks.
Manually starting the service I get:
Code:
[root@bezaweb03 ~]# systemctl status zabbix-agent.service ● zabbix-agent.service - Zabbix Agent Loaded: loaded (/usr/lib/systemd/system/zabbix-agent.service; enabled; vendor preset: disabled) Active: activating (auto-restart) (Result: resources) since Sat 2018-03-03 09:32:22 CET; 6s ago Process: 20407 ExecStart=/usr/sbin/zabbix_agentd -c $CONFFILE (code=exited, status=0/SUCCESS) Mar 03 09:32:22 server.com systemd[1]: Failed to start Zabbix Agent. Mar 03 09:32:22 server.com systemd[1]: Unit zabbix-agent.service entered failed state. Mar 03 09:32:22 server.com systemd[1]: zabbix-agent.service failed. [root@bezaweb03 ~]# systemctl start zabbix-agent.service Job for zabbix-agent.service failed because a configured resource limit was exceeded. See "systemctl status zabbix-agent.service" and "journalctl -xe" for details. [root@bezaweb03 ~]#
Code:
[root@bezaweb03 ~]# systemctl status zabbix-agent.service ● zabbix-agent.service - Zabbix Agent Loaded: loaded (/usr/lib/systemd/system/zabbix-agent.service; enabled; vendor preset: disabled) Active: activating (auto-restart) (Result: resources) since Sat 2018-03-03 09:38:20 CET; 5s ago Process: 22351 ExecStart=/usr/sbin/zabbix_agentd -c $CONFFILE (code=exited, status=0/SUCCESS) Mar 03 09:38:20 server.com systemd[1]: zabbix-agent.service never wrote its PID file. Failing. Mar 03 09:38:20 server.com systemd[1]: Failed to start Zabbix Agent. Mar 03 09:38:20 server.com systemd[1]: Unit zabbix-agent.service entered failed state. Mar 03 09:38:20 server.com systemd[1]: zabbix-agent.service failed.
Code:
[root@bezaweb03 ~]# sestatus SELinux status: disabled
Any ideas how I can fix this?
Apart from that, what is the appropriate method to monitor if the agent is dead?
I have added an Agent Ping item to my template:

And a trigger:

But it does not seem to trigger, as the item does not get data:

Thanks!

Comment