mirror of
https://pagure.io/fedora-infra/ansible.git
synced 2026-03-20 03:57:02 +08:00
add a nagios group to inventory
add shutup-nagios and ok-nagios scripts to do those things quickly
This commit is contained in:
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"
|
||||
|
||||
Reference in New Issue
Block a user