1
0
Fork 0
forked from infra/ansible

Zabbix: get the tag name/value pair the right way around

Signed-off-by: Greg Sutcliffe <fedora@emeraldreverie.org>
This commit is contained in:
Greg Sutcliffe 2026-07-07 10:45:17 +01:00
commit dee5b453f1
Signed by: gwmngilfen
SSH key fingerprint: SHA256:dNHcz65ApR68w2TkCIAXDBdt4oNL62Fyx48U7dXWuk0
2 changed files with 7 additions and 7 deletions

View file

@ -105,8 +105,8 @@
conditions:
- type: "event_tag_value"
operator: "equals"
value: "team" # tag value
value2: "copr" # tag name
value: "copr" # tag value
value2: "team" # tag name
formulaid: A
- type: "host_group"
operator: "equals"
@ -114,8 +114,8 @@
formulaid: B
- type: "event_tag_value"
operator: "equals"
value: "service" # tag value
value2: "apache" # tag name
value: "apache" # tag value
value2: "service" # tag name
formulaid: C
- type: "event_tag"
operator: "equals"
@ -127,8 +127,8 @@
formulaid: E
- type: "event_tag_value"
operator: "equals"
value: "component" # tag value
value2: "memory" # tag name
value: "memory" # tag value
value2: "component" # tag name
formulaid: F
formula: "A or (B and (C or D or E or F))"
operations:
@ -146,7 +146,6 @@
media_type: "Matrix"
send_to_users:
- "matrix-bot-copr"
tags:
- zabbix_users
- zabbix_triggers

View file

@ -12,6 +12,7 @@
- zabbix
- zabbix_configuration
- zabbix_api
- zabbix_users
- include_tasks: plugins.yml