LLD filter for systemd units allows to discover "inactive" services by mistake

XMLWordPrintable

    • Type: Incident report
    • Resolution: Fixed
    • Priority: Trivial
    • None
    • Affects Version/s: 6.0.3
    • Component/s: Templates (T)

      I assume that by design a LLD macro {#UNIT.ACTIVESTATE} -> {$SYSTEMD.ACTIVESTATE.SERVICE.MATCHES} -> "active" should discover only active usints.

      But there are quite a lot of units which are in "inactive" state, which passes the filter by partial match.

      If this is indeed was not by design, the value for regexp should be changed from "active" to "^active".

            Assignee:
            Zabbix Development Team
            Reporter:
            Oleksii Zagorskyi
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: