forked from infra/ansible
Zabbix: Use a dedicated Copr group and optional host tag
Signed-off-by: Greg Sutcliffe <fedora@emeraldreverie.org>
This commit is contained in:
parent
013b1f8b48
commit
0fdaf5ff7d
1 changed files with 15 additions and 3 deletions
|
|
@ -61,6 +61,11 @@
|
|||
media_type: "Matrix"
|
||||
send_to_users:
|
||||
- "matrix-bot"
|
||||
update_operations:
|
||||
- type: send_message
|
||||
media_type: "Matrix"
|
||||
send_to_users:
|
||||
- "matrix-bot"
|
||||
tags:
|
||||
- zabbix_users
|
||||
- zabbix_triggers
|
||||
|
|
@ -98,12 +103,13 @@
|
|||
status: enabled
|
||||
esc_period: 1m
|
||||
conditions:
|
||||
- type: "event_tag_value"
|
||||
operator: "equals"
|
||||
value: "team"
|
||||
value2: "copr"
|
||||
- type: "host_group"
|
||||
operator: "equals"
|
||||
value: "Copr_all_instances_aws"
|
||||
- type: "host_group"
|
||||
operator: "equals"
|
||||
value: "Copr_hypervisor"
|
||||
value: "Copr Hosts"
|
||||
operations:
|
||||
- type: send_message
|
||||
media_type: "Matrix"
|
||||
|
|
@ -114,6 +120,12 @@
|
|||
media_type: "Matrix"
|
||||
send_to_users:
|
||||
- "matrix-bot-copr"
|
||||
update_operations:
|
||||
- type: send_message
|
||||
media_type: "Matrix"
|
||||
send_to_users:
|
||||
- "matrix-bot-copr"
|
||||
|
||||
tags:
|
||||
- zabbix_users
|
||||
- zabbix_triggers
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue