aboutsummaryrefslogtreecommitdiff
path: root/nagios-downtime.1
diff options
context:
space:
mode:
Diffstat (limited to 'nagios-downtime.1')
-rw-r--r--nagios-downtime.129
1 files changed, 14 insertions, 15 deletions
diff --git a/nagios-downtime.1 b/nagios-downtime.1
index c4ef614..3581651 100644
--- a/nagios-downtime.1
+++ b/nagios-downtime.1
@@ -7,29 +7,28 @@
-h
.br
.B nagios-downtime
-.I HOSTNAME[/SERVICE]
+.I (HOSTNAME[/SERVICE][,HOSTNAME[,SERVICE],...]|-)
.I START
.I END
.I [COMMENT]
.SH SYNOPSIS
-.B ndt
-webhost now 10pm 'Upgrading to latest OS release'
+ndt webhost now 10pm 'Upgrading to latest Ubuntu release'
.PP
-.B ndt
-webhost/HTTP now 10pm 'Upgrading Apache HTTPD'
-.PP
-for hostname in ns{1..3} ; do
+ndt webhost/HTTP now 10pm 'Upgrading Apache HTTPD'
.br
-.B
- ndt
-"$hostname" 'sunday 3:00am' 'sunday 4:00am' 'Outage for entire DNS system for upgrades'
+ndt authns1,authns2,recdns1,recdns2 'sunday 3:00am' 'sunday 4:00am' 'Outage for entire DNS system for upgrades'
.br
-done
+nds abc-example | ndt - 9am 10am 'Power problems at abc-example'
.SH DESCRIPTION
.B nagios-downtime
will format and attempt to write a Nagios command to the Nagios commands file
which it expects to find at /usr/local/nagios/var/rw/nagios.cmd to schedule
-downtime for a particular host or service. The two date fields
+downtime for given hosts or services.
+.PP
+Multiple hosts or services can be separated by commas, and the special value -
+allows hosts or services to be read from stdin.
+.PP
+The two date fields
.I START
and
.I END
@@ -46,8 +45,8 @@ changes. Note that the
.I COMMENT
parameter is optional.
.SH SEE ALSO
-nagios-acknowledge(1), nagios-force-check(1)
+nagios-acknowledge(1), nagios-data-search(1), nagios-descendent-list(1),
+nagios-force-check(1), nagios-notification-switch(1), nagios-problem-list(1),
+nagios-unhandled-list(1)
.SH AUTHOR
Tom Ryder <tom@sanctum.geek.nz>
-.PP
-