Debian Codegraph @

check_backuppc/src/check_backuppc.8

raw
1 .TH check_backuppc 8
2 .SH NAME
3 check_backuppc \- A Nagios plugin to monitor BackupPC
4 .SH SYNOPSIS
5 .B check_backuppc
6 .I [options]
7 .SH DESCRIPTION
8 .B check_backuppc
9 is a nagios plugin that reports on the status of BackupPC. By default, it
10 monitors both archive and backup hosts for errors.
11 .SH OPTIONS
12 .TP
13 .B \-a, \-\-archive\-only
14 Only check the status of archive hosts.
15 .TP
16 .B \-b, \-\-backup\-only
17 Only check the status of non-archive hosts.
18 .TP
19 .B \-s, \-\-status\-only
20 Only check the status of the backups, omit connection failures that are less
21 than $Conf{FullPeriod} old.
22 .TP
23 .B \-H, \-\-hostname hostname
24 Only check the specified host. Uses hostnames that BackupPC is configured to
25 use, can be specified multiple times.
26 .TP
27 .B \-x, \-\-exclude hostname
28 Do not check the specified host. Uses hostnames that BackupPC is configured to
29 use, can be specified multiple times.
30 .TP
31 .B \-w, \-\-warning age
32 The days old at which a failure is considered a warning, default 1.
33 .TP
34 .B \-c, \-\-critical age
35 The days old at which a failure is considered critical, default 8.
36 .TP
37 .B \-r, \-\-reduce count
38 The maximum number of failed hosts for which to reduce reported severity,
39 default 0.
40 .TP
41 .B \-h, \-\-help
42 Show summary of options.
43 .SH NOTES
44 This plugin must be run on the same host and as the same user as BackupPC.
45 An archive host only takes on a reported type of archive after its first archive
46 run.
47 .SH EXAMPLES
48 .TP
49 .EX
50 /usr/local/lib/nagios/plugins/check_backuppc -r1 -w3 -c8 -b -x otter
51 .EE
52 Check the status of all backup hosts except "otter". Warn if a failed backup
53 is older than three days old, return critical if a failure is older than eight
54 days old unless there is only a single failure. In that case, warn if the
55 single failed backup is older than eight days.
56 .SH AUTHOR
57 Seneca Cunningham <[email protected]>
58 .SH "SEE ALSO"
59 .\" Always quote multiple words for .SH
60 .BR sudo (8).
61 .BR backuppc (8).