-
Change Request
-
Resolution: Unresolved
-
Trivial
-
None
-
5.4.9
-
None
In my environment i am checking for systemd.unit.info"{#UNIT.NAME}",Type,Service to get the service type. Additionally i have set a trigger condition that for example services with type "oneshot" will not fire the trigger.
With the latest provided systemd template all data is gathered in one go by: systemd.unit.get"{#UNIT.NAME}"
Unfortunately to get the service type i have to run another query separately for each service: systemd.unit.info"{#UNIT.NAME}",Type,Service
In the ideal world the initial systemd.unit.get"{#UNIT.NAME}" would also include the data of systemd.unit.info"{#UNIT.NAME}",Type,Service to have a single query get the service type information.
If you need additional information please let me know.