add a nagios group to inventory
add shutup-nagios and ok-nagios scripts to do those things quickly
This commit is contained in:
parent
2d7cf3de84
commit
8ee0668851
3 changed files with 12 additions and 0 deletions
4
scripts/ok-nagios
Executable file
4
scripts/ok-nagios
Executable file
|
@ -0,0 +1,4 @@
|
|||
#!/bin/bash
|
||||
|
||||
ansible nagios -m nagios -a "action=unsilence_nagios"
|
||||
|
4
scripts/shutup-nagios
Executable file
4
scripts/shutup-nagios
Executable file
|
@ -0,0 +1,4 @@
|
|||
#!/bin/bash
|
||||
|
||||
ansible nagios -m nagios -a "action=silence_nagios"
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue