In Debian 12, the systemd discovery and unit items no longer work.
Discovery does not work via remote get
zabbix_get -s localhost -k "systemd.unit.discovery[service]"
ZBX_NOTSUPPORTED: Cannot retrieve list of units: dbus: connection closed by user
Discovery does work via local get
zabbix_agent2 -t "systemd.unit.discovery[service]" systemd.unit.discovery[service] [s|[{"{#UNIT.NAME}":"dracut-mount.service",.......
Unit item does not work via remote get
zabbix_get -s localhost -k "systemd.unit.get["ssh.service"]" ZBX_NOTSUPPORTED: Cannot get unit property: dbus: connection closed by user
Unit item does not work via local get
zabbix_agent2 -t "systemd.unit.get["ssh.service"]" systemd.unit.get[ssh.service] [m|ZBX_NOTSUPPORTED] [Cannot get unit property: dbus: wire format error: unexpected EOF]
- duplicates
-
ZBX-21845 DBus v1.12.24-0 breaks systemd units discovery rules
- Closed