When shutting up nagios also disable handlers and re-enable then when ok
This commit is contained in:
parent
34d47f27e4
commit
8bd2fc224f
2 changed files with 2 additions and 2 deletions
|
@ -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'"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue