aboutsummaryrefslogtreecommitdiff
path: root/nagios-acknowledge.1
blob: 2641acf07418520e0e6aa1a033a8bcaf4a2e533b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
.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][,HOSTNAME[,SERVICE],...]|-)
.I [COMMENT]
.SH SYNOPSIS
nac webhost 'DDoS I think, fixing'
.br
nac -n webhost/HTTP 'Apache HTTPD crashed, fixing'
.br
nac authns1,authns2,recdns1,recdns2 'DNS is all buggered'
.br
npl | grep abc-example | nac - 'Power problems at abc-example'
.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
Multiple hosts or services can be separated by commas, and the special value -
allows hosts or services to be read from stdin.
.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-data-search(1), nagios-descendent-list(1), nagios-downtime(1),
nagios-force-check(1), nagios-problem-list(1), nagios-unhandled-list(1)
.SH AUTHOR
Tom Ryder <tom@sanctum.geek.nz>
.PP