When shutting up nagios also disable handlers and re-enable then when ok

This commit is contained in:
Kevin Fenzi 2016-05-27 21:41:44 +00:00
parent 34d47f27e4
commit 8bd2fc224f
2 changed files with 2 additions and 2 deletions

View file

@ -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'"

View file

@ -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'"