Uploaded image for project: 'ZABBIX BUGS AND ISSUES'
  1. ZABBIX BUGS AND ISSUES
  2. ZBX-22974

Dbus v1.14.6-1 breaks systemd units discovery rules

XMLWordPrintable

      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]
      

            zabbix.support Zabbix Support Team
            xbdrr32 Jason
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: