-
Problem report
-
Resolution: Unresolved
-
Trivial
-
None
-
None
-
None
-
None
Steps to reproduce:
Terminate a systemd service and the status of the items changes to failed. The Trigger "Systemd: {#UNIT.NAME}: Service is not running" changes to the status Problem. But only until the next discovery "Service units discovery" runs. Only systemd services with activestate = active will be discovered and therefor systemd services with activestate = failed will be immediatle disabled. So the Trigger will also be disabled immediatly after the discovery.
Result:
Trigger of a failed systemd service is disabled after the next discovery.
Expected:
Please change the macro {$SYSTEMD.ACTIVESTATE.SERVICE.MATCHES} to (active|failed) in the Systemd by Zabbix Ageng 2 template.