-
Problem report
-
Resolution: Won't fix
-
Major
-
None
-
5.0.15, 5.4.4
-
None
Based on the documentation there's no required configuration to use the systemd template, but even though the "systemd.unit.info" command is working, there are others that are not. Can you please help me?
I am using Zabbix server 5.4.4 and agent v2 5.4.4
Documentation that I used:
Zabbix agent 2 template operation [Zabbix Documentation 5.4]
Browse Zabbix / Zabbix - ZABBIX GIT
Steps to reproduce:
- Configure agent with server IP and hostname only
- Start zabbix agent2 service and enabled.
- run zabbix get from server: zabbix_get -s <zabbix_agent_ip> -k 'systemd.service.active_state[httpd.service]'
Result:
Error from the command:
ZBX_NOTSUPPORTED: Unknown metric systemd.service.active_state
Error in logfile from zabbix agent2:
2021/09/21 15:50:26.070186 received passive check request: 'systemd.service.active_state[httpd.service]' from 'x.x.x.x' 2021/09/21 15:50:26.070310 [1] processing update request (1 requests) 2021/09/21 15:50:26.070332 [1] cannot monitor metric "systemd.service.active_state[httpd.service]": Unknown metric systemd.service.active_state 2021/09/21 15:50:26.070347 sending passive check response: ZBX_NOTSUPPORTED: 'Unknown metric systemd.service.active_state' to 'x.x.x.x'
Expected: