diff options
Diffstat (limited to 'templates/app/systemd/template_app_systemd.yaml')
-rw-r--r-- | templates/app/systemd/template_app_systemd.yaml | 57 |
1 files changed, 39 insertions, 18 deletions
diff --git a/templates/app/systemd/template_app_systemd.yaml b/templates/app/systemd/template_app_systemd.yaml index fc388194dd3..ac110501e02 100644 --- a/templates/app/systemd/template_app_systemd.yaml +++ b/templates/app/systemd/template_app_systemd.yaml @@ -1,6 +1,6 @@ zabbix_export: version: '6.0' - date: '2021-12-15T06:58:10Z' + date: '2022-01-26T10:01:58Z' groups: - uuid: a571c0d144b14fd4a87a9d9b2aa9fcd6 @@ -17,7 +17,7 @@ zabbix_export: You can discuss this template or leave feedback on our forum https://www.zabbix.com/forum/zabbix-suggestions-and-feedback/ - Template tooling version used: 0.40 + Template tooling version used: 0.41 groups: - name: Templates/Applications @@ -82,8 +82,8 @@ zabbix_export: key: 'systemd.unit.get["{#UNIT.NAME}"]' tags: - - tag: Application - value: 'Systemd service: {#UNIT.NAME}' + tag: component + value: service trigger_prototypes: - uuid: 5237bd423307449b8a58f692082d2a0a @@ -91,6 +91,10 @@ zabbix_export: name: '{#UNIT.NAME}: Service is not running' priority: WARNING manual_close: 'YES' + tags: + - + tag: scope + value: availability - uuid: bed610e6ce33494b817eb787e34e18c2 name: '{#UNIT.NAME}: Load state' @@ -114,8 +118,8 @@ zabbix_export: key: 'systemd.unit.get["{#UNIT.NAME}"]' tags: - - tag: Application - value: 'Systemd service: {#UNIT.NAME}' + tag: component + value: service - uuid: f1174eb5abf74e028a75ab9bb8eec649 name: '{#UNIT.NAME}: Unit file state' @@ -139,8 +143,8 @@ zabbix_export: key: 'systemd.unit.get["{#UNIT.NAME}"]' tags: - - tag: Application - value: 'Systemd service: {#UNIT.NAME}' + tag: component + value: service - uuid: a35992b54d944a389c1bb44748a37fdb name: '{#UNIT.NAME}: Active time' @@ -165,8 +169,8 @@ zabbix_export: key: 'systemd.unit.get["{#UNIT.NAME}"]' tags: - - tag: Application - value: 'Systemd service: {#UNIT.NAME}' + tag: component + value: service trigger_prototypes: - uuid: e2292c5ead924500a06d38b6356930c7 @@ -175,6 +179,10 @@ zabbix_export: priority: INFO description: 'Uptime is less than 10 minutes' manual_close: 'YES' + tags: + - + tag: scope + value: notice - uuid: bdb94d1182114985a8734de7d5d92380 name: '{#UNIT.NAME}: Get unit info' @@ -187,8 +195,11 @@ zabbix_export: Unit description: {#UNIT.DESCRIPTION}. tags: - - tag: Application - value: 'Zabbix raw items' + tag: component + value: raw + - + tag: component + value: unit - uuid: 5c337762ae7b43a98fcb9dc3102a8467 name: 'Socket units discovery' @@ -247,8 +258,8 @@ zabbix_export: key: 'systemd.unit.get["{#UNIT.NAME}",Socket]' tags: - - tag: Application - value: 'Systemd socket: {#UNIT.NAME}' + tag: component + value: socket - uuid: 258a899aba9546db956b8e235738bd89 name: '{#UNIT.NAME}: Connections connected' @@ -266,8 +277,8 @@ zabbix_export: key: 'systemd.unit.get["{#UNIT.NAME}",Socket]' tags: - - tag: Application - value: 'Systemd socket: {#UNIT.NAME}' + tag: component + value: socket - uuid: 83ffad5a484d48e388ac658511d4b803 name: '{#UNIT.NAME}: Get unit info' @@ -280,8 +291,18 @@ zabbix_export: Unit description: {#UNIT.DESCRIPTION}. tags: - - tag: Application - value: 'Zabbix raw items' + tag: component + value: raw + - + tag: component + value: socket + tags: + - + tag: class + value: software + - + tag: target + value: systemd macros: - macro: '{$SYSTEMD.ACTIVESTATE.SERVICE.MATCHES}' |