aboutsummaryrefslogtreecommitdiff
path: root/nagios-acknowledge.1
diff options
context:
space:
mode:
Diffstat (limited to 'nagios-acknowledge.1')
-rw-r--r--nagios-acknowledge.147
1 files changed, 47 insertions, 0 deletions
diff --git a/nagios-acknowledge.1 b/nagios-acknowledge.1
new file mode 100644
index 0000000..48f31f7
--- /dev/null
+++ b/nagios-acknowledge.1
@@ -0,0 +1,47 @@
+.TH NAGIOS-ACKNOWLEDGE 1 "Nagios Acknowledge" "Nagscripts"
+.SH NAME
+.B nac, nagios-acknowledge
+\- Pleasant way to acknowledge problems with a Nagios host or service
+.SH USAGE
+.B nagios-acknowledge
+-h
+.br
+.B nagios-acknowledge
+[-n]
+.I HOSTNAME[/SERVICE]
+.I [COMMENT]
+.SH SYNOPSIS
+.B nac
+webhost 'DDoS I think, fixing'
+.PP
+.B nac
+-n webhost/HTTP 'Apache HTTPD crashed, fixing'
+.PP
+for hostname in ns{1..3} ; do
+.br
+.B
+ nac
+"$hostname" 'DNS is completely rooted, addressing now'
+.br
+done
+.SH DESCRIPTION
+.B nagios-acknowledge
+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 acknowledge
+a problem for a particular host or service.
+.PP
+The user's current login name will be used as the author field for the
+acknowledgement, taking into account any use of
+.I sudo(8)
+changes. Note that the
+.I COMMENT
+parameter is optional.
+.P
+By default, the script won't send an ACKNOWLEDGEMENT notification. Add a -n
+option if you actually want to do this.
+.SH SEE ALSO
+nagios-downtime(1), nagios-force-check(1)
+.SH AUTHOR
+Tom Ryder <tom@sanctum.geek.nz>
+.PP
+