Uploaded image for project: 'ZABBIX FEATURE REQUESTS'
  1. ZABBIX FEATURE REQUESTS
  2. ZBXNEXT-7487

Ability to discover disabled systemd units

    XMLWordPrintable

Details

    • Team B
    • Sprint 85 (Feb 2022), Sprint 86 (Mar 2022), Sprint 87 (Apr 2022)
    • 1

    Description

      Currently systemd.unit.discovery only discovers system units which are either enabled (or started once). In some use-cases this is undesired.

      It is suggested (without modifying current behavior) to implement new optional parameter <state> parameter with possible values:

      • enabled (default)
      • disabled
      • all

      Implementation-wise this is possible by making a call to DBus method ListUnitFiles (currently only ListUnits is used). The difference between two calls can be seen by comparing "systemctl list-units" and "systemctl list-unit-files" outputs.

      Attachments

        Issue Links

          Activity

            People

              ssimonenko Sergey Simonenko (Inactive)
              ssimonenko Sergey Simonenko (Inactive)
              Votes:
              2 Vote for this issue
              Watchers:
              9 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: