logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

check_backuppc - A Nagios plugin to monitor BackupPC

Author

       Seneca Cunningham <tetragon@users.sourceforge.net>

Description

check_backuppc  is  a nagios plugin that reports on the status of BackupPC.  By default, it monitors both
       archive and backup hosts for errors.

Examples

       /usr/local/lib/nagios/plugins/check_backuppc -r1 -w3 -c8 -b -x otter
              Check  the status of all backup hosts except "otter".  Warn if a failed backup is older than three
              days old, return critical if a failure is older than eight days old unless there is only a  single
              failure.  In that case, warn if the single failed backup is older than eight days.

Name

       check_backuppc - A Nagios plugin to monitor BackupPC

Notes

       This plugin must be run on the same host and as the same user as BackupPC.  An archive host only takes on
       a reported type of archive after its first archive run.

Options

-a,--archive-only
              Only check the status of archive hosts.

       -b,--backup-only
              Only check the status of non-archive hosts.

       -s,--status-only
              Only  check  the  status  of  the  backups,  omit  connection  failures   that   are   less   than
              $Conf{FullPeriod} old.

       -H,--hostnamehostname
              Only  check  the  specified  host.   Uses  hostnames  that  BackupPC  is configured to use, can be
              specified multiple times.

       -x,--excludehostname
              Do not check the specified host.  Uses hostnames that  BackupPC  is  configured  to  use,  can  be
              specified multiple times.

       -w,--warningage
              The days old at which a failure is considered a warning, default 1.

       -c,--criticalage
              The days old at which a failure is considered critical, default 8.

       -r,--reducecount
              The maximum number of failed hosts for which to reduce reported severity, default 0.

       -h,--help
              Show summary of options.

See Also

sudo(8).  backuppc(8).

                                                                                               check_backuppc(8)

Synopsis

check_backuppc[options]

See Also