From da2665bcd2574352549d778a255b25d74ad856f2 Mon Sep 17 00:00:00 2001 From: Tim Bielawa Date: Mon, 27 Aug 2012 11:39:52 -0400 Subject: [PATCH] In-line docs. --- library/nagios | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/library/nagios b/library/nagios index 627be77384..ce8d293409 100644 --- a/library/nagios +++ b/library/nagios @@ -15,6 +15,26 @@ # along with this program. If not, see . """ +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: