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
|
@ -198,6 +198,10 @@ dhcp01.phx2.fedoraproject.org
|
||||||
noc01.phx2.fedoraproject.org
|
noc01.phx2.fedoraproject.org
|
||||||
noc02.fedoraproject.org
|
noc02.fedoraproject.org
|
||||||
|
|
||||||
|
[nagios]
|
||||||
|
noc01.phx2.fedoraproject.org
|
||||||
|
noc02.fedoraproject.org
|
||||||
|
|
||||||
[memcached]
|
[memcached]
|
||||||
memcached03.phx2.fedoraproject.org
|
memcached03.phx2.fedoraproject.org
|
||||||
memcached04.phx2.fedoraproject.org
|
memcached04.phx2.fedoraproject.org
|
||||||
|
|
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