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
|
@ -198,6 +198,10 @@ dhcp01.phx2.fedoraproject.org
|
|||
noc01.phx2.fedoraproject.org
|
||||
noc02.fedoraproject.org
|
||||
|
||||
[nagios]
|
||||
noc01.phx2.fedoraproject.org
|
||||
noc02.fedoraproject.org
|
||||
|
||||
[memcached]
|
||||
memcached03.phx2.fedoraproject.org
|
||||
memcached04.phx2.fedoraproject.org
|
||||
|
|
|
@ -0,0 +1,4 @@
|
|||
#!/bin/bash
|
||||
|
||||
ansible nagios -m nagios -a "action=unsilence_nagios"
|
||||
|
|
@ -0,0 +1,4 @@
|
|||
#!/bin/bash
|
||||
|
||||
ansible nagios -m nagios -a "action=silence_nagios"
|
||||
|
Loading…
Reference in New Issue