In-line docs.
This commit is contained in:
parent
9a14871cc4
commit
7e5ab54b7f
1 changed files with 20 additions and 0 deletions
20
nagios
20
nagios
|
@ -15,6 +15,26 @@
|
||||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
# 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:
|
Configuration:
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue