aboutsummaryrefslogtreecommitdiff
path: root/nagios-data-search.1
diff options
context:
space:
mode:
Diffstat (limited to 'nagios-data-search.1')
-rw-r--r--nagios-data-search.112
1 files changed, 9 insertions, 3 deletions
diff --git a/nagios-data-search.1 b/nagios-data-search.1
index 3c1adf7..807836e 100644
--- a/nagios-data-search.1
+++ b/nagios-data-search.1
@@ -4,16 +4,22 @@
\- List hosts (or services) with names matching at least one of a set of
strings
.SH USAGE
-.B nagios-data-search [-hs] STRING1 [STRING2 ...]
+.B nagios-data-search [-d | -h | -s] STRING1 [STRING2 ...]
.SH DESCRIPTION
.B nagios-data-search
will write to standard output the names of hosts matching any of the given
arguments as a substring.
.P
+If -d is given, the host search will include all hosts downstream of all
+matched hosts. This is intended for easy piping through ndt(1).
+.P
If -s is given, services with a host or service description matching any of the
strings will be printed instead.
+.P
+The -d and -s options cannot be used together.
.SH SEE ALSO
-nagios-acknowledge(1), nagios-downtime(1), nagios-force-check(1),
-nagios-notification-switch(1), nagios-problem-list(1), nagios-unhandled-list(1)
+nagios-acknowledge(1), nagios-clear(1), nagios-downtime(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>