mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
In-line docs.
This commit is contained in:
parent
9829033a8a
commit
da2665bcd2
1 changed files with 20 additions and 0 deletions
|
@ -15,6 +15,26 @@
|
|||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
"""
|
||||
Action Summaries (all must be delegate_to'd a nagios server):
|
||||
|
||||
* Set 30 minutes of downtime for a single service:
|
||||
action: nagios action=downtime minutes=30 service=httpd host=$inventory_hostname
|
||||
|
||||
* Set 30 minutes of downtime for a few services:
|
||||
action: nagios action=downtime minutes=30 services=httpd,git,nfs host=$inventory_hostname
|
||||
|
||||
* (Un)Silence all alerts from a host/service:
|
||||
action: nagios action=silence host=$inventory_hostname
|
||||
action: nagios action=unsilence host=$inventory_hostname
|
||||
|
||||
* Enable/Disable alerts for a host or service(s):
|
||||
action: nagios action=enable_alerts service=host host=$inventory_hostname
|
||||
action: nagios action=disable_alerts services=httpd,git,nfs host=$inventory_hostname
|
||||
|
||||
|
||||
Note: 'service' is an alias for 'services'.
|
||||
Separate multiple services with commas.
|
||||
|
||||
|
||||
Configuration:
|
||||
|
||||
|
|
Loading…
Reference in a new issue