aboutsummaryrefslogtreecommitdiff
path: root/nagios-data-search.1
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2016-09-04 13:31:05 +1200
committerTom Ryder <tom@sanctum.geek.nz>2016-09-04 13:38:22 +1200
commite7b180da0f0e4eab3b7c2b08ba405654baf82588 (patch)
treec5349e668f9f8329c5a636889d05c979f7c77619 /nagios-data-search.1
parentRequire at least one host (diff)
downloadnagscripts-e7b180da0f0e4eab3b7c2b08ba405654baf82588.tar.gz
nagscripts-e7b180da0f0e4eab3b7c2b08ba405654baf82588.zip
Upgrading to latest version
These are sanitized from the versions we use at work, so maintaining them is becoming a bit of a pain. I may have to work out some reasonable submodule system.
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>