Closed bibi21000 closed 5 years ago
@bibi21000
The code is looking for "Main PID" which is not present in your output. That is the reason it is not being detected.
● zabbix-agent.service - Zabbix Agent
Loaded: loaded (/lib/systemd/system/zabbix-agent.service; enabled; vendor preset: enabled)
Active: active (running) since Fri 2018-12-28 14:27:10 EST; 1 weeks 4 days ago
Process: 1052 ExecStart=/usr/sbin/zabbix_agentd -c $CONFFILE (code=exited, status=0/SUCCESS)
Main PID: 1146 (zabbix_agentd)
CGroup: /system.slice/zabbix-agent.service
├─1146 /usr/sbin/zabbix_agentd -c /etc/zabbix/zabbix_agentd.conf
├─1147 /usr/sbin/zabbix_agentd: collector [idle 1 sec]
├─1148 /usr/sbin/zabbix_agentd: listener #1 [waiting for connection
├─1149 /usr/sbin/zabbix_agentd: listener #2 [waiting for connection
├─1150 /usr/sbin/zabbix_agentd: listener #3 [waiting for connection
└─1151 /usr/sbin/zabbix_agentd: active checks #1 [idle 1 sec]
@bibi21000
Do you have an update?
Closing for now due to lack of feedback. Please reopen if you continue to have the issue.
Hi, I've got error messages on my zabbix-server when it try to retrieve PID of zabbix-agent :
The result of systemctl status on a client
my agent runs ubuntu xenial with default zabbix-agent :
My server is 3.4 from zabbix repository