mirror of
https://pagure.io/fedora-infra/ansible.git
synced 2026-03-20 03:57:02 +08:00
When shutting up nagios also disable handlers and re-enable then when ok
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
#!/bin/bash
|
||||
|
||||
ansible nagios -m nagios -a "action=unsilence_nagios"
|
||||
|
||||
ansible nagios -m nagios -a "action=command command='ENABLE_EVENT_HANDLERS'"
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
#!/bin/bash
|
||||
|
||||
ansible nagios -m nagios -a "action=silence_nagios"
|
||||
|
||||
ansible nagios -m nagios -a "action=command command='DISABLE_EVENT_HANDLERS'"
|
||||
|
||||
Reference in New Issue
Block a user