aboutsummaryrefslogtreecommitdiff
path: root/nagios-problem-list.1
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2016-06-20 13:08:15 +1200
committerTom Ryder <tom@sanctum.geek.nz>2016-06-20 13:08:15 +1200
commitcdc34fa78b326bd241aae7399190c739e25bf025 (patch)
tree2d12fdf161b74dcde13baf33bb46f0137f443952 /nagios-problem-list.1
parentRemove silly symlinks (diff)
downloadnagscripts-cdc34fa78b326bd241aae7399190c739e25bf025.tar.gz
nagscripts-cdc34fa78b326bd241aae7399190c739e25bf025.zip
Update to latest version with MKLivestatusmk-livestatus
No longer using NDOUtils at work, these are much nicer and more likely to work with any given Nagios installation now anyway. Added nagios-data-search, nagios-downtstream-list, nagios-exists, nagios-problem-list, and nagios-unhandled-list.
Diffstat (limited to 'nagios-problem-list.1')
-rw-r--r--nagios-problem-list.130
1 files changed, 30 insertions, 0 deletions
diff --git a/nagios-problem-list.1 b/nagios-problem-list.1
new file mode 100644
index 0000000..8ce7bcc
--- /dev/null
+++ b/nagios-problem-list.1
@@ -0,0 +1,30 @@
+.TH NAGIOS-PROBLEM-LIST 1 "Nagios Problem List" "Nagscripts"
+.SH NAME
+.B npl, nagios-problem-list
+\- List hosts and services presently in problem state for ndt(1) input
+.SH USAGE
+.B nagios-problem-list
+.PP
+.B npl
+| while read -r object ; do
+.br
+ ndt "$object" 'sunday 3:00am' 'sunday 4:00am' 'Outage for all problems'
+.br
+done
+.SH DESCRIPTION
+.B nagios-problem-list
+will write to standard output the hosts and services that are presently in
+problem state. It's intended as a way to select hosts for
+.B nac(1)
+or
+.B ndt(1)
+input. It differs from
+.B nagios-unhandled-list
+in that it shows all objects in problem state, including any that are
+acknowledged or in downtime.
+.SH SEE ALSO
+nagios-acknowledge(1), nagios-data-search(1), nagios-descendent-list(1),
+nagios-downtime(1), nagios-force-check(1), nagios-notification-switch(1),
+nagios-unhandled-list(1)
+.SH AUTHOR
+Tom Ryder <tom@sanctum.geek.nz>