aboutsummaryrefslogtreecommitdiff
path: root/nagios-force-check.1
diff options
context:
space:
mode:
Diffstat (limited to 'nagios-force-check.1')
-rw-r--r--nagios-force-check.128
1 files changed, 22 insertions, 6 deletions
diff --git a/nagios-force-check.1 b/nagios-force-check.1
index 27d7114..9836247 100644
--- a/nagios-force-check.1
+++ b/nagios-force-check.1
@@ -7,7 +7,10 @@
-h
.br
.B nagios-force-check
-.I HOSTNAME[/SERVICE]
+-a
+.br
+.B nagios-force-check
+.I HOSTNAME[/SERVICE] [HOSTNAME[/SERVICE]...]
.SH SYNOPSIS
.B nfc
webhost
@@ -26,11 +29,24 @@ done
.B nagios-force-check
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 force a
-check of a particular host (and all its services) or just one particular
-service.
+check of at least one particular host (and all its services) or at least one
+particular service.
+.P
+You can use the
+.B -a
+switch on its own (with no targets specified) to force checks on all problem
+services returned by
+.B nagios-problem-list(1)
+-- this is equivalent to running something like:
+.P
+npl | while read -r object ; do
+.br
+ nfc "$object"
+.br
+done
.SH SEE ALSO
-nagios-acknowledge(1), nagios-downtime(1)
+nagios-acknowledge(1), nagios-data-search(1), nagios-descendent-list(1),
+nagios-downtime(1), nagios-notification-switch(1), nagios-problem-list(1),
+nagios-unhandled-list(1)
.SH AUTHOR
Tom Ryder <tom@sanctum.geek.nz>
-.PP
-