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:
parent
ea32c85fa7
commit
dee5b453f1
2 changed files with 7 additions and 7 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -12,6 +12,7 @@
|
|||
- zabbix
|
||||
- zabbix_configuration
|
||||
- zabbix_api
|
||||
- zabbix_users
|
||||
|
||||
- include_tasks: plugins.yml
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue