mirror of
https://github.com/munin-monitoring/contrib.git
synced 2025-07-22 02:51:03 +00:00
Plugin backuppc: convert documentation to perldoc header
This commit is contained in:
parent
e66faac0cc
commit
105e7d459c
1 changed files with 44 additions and 13 deletions
|
@ -1,16 +1,47 @@
|
||||||
#! /bin/sh
|
#!/bin/sh
|
||||||
# Copyright (C) 2013 - LGPL - Steve Schnepp <steve.schnepp@pwkf.org>
|
|
||||||
#
|
: <<=cut
|
||||||
# [backuppc]
|
|
||||||
# user backuppc
|
=head1 NAME
|
||||||
# env.pcdir /var/lib/BackupPC/pc
|
|
||||||
# env.full_warning 10 # warn if FULL backup older than N days
|
backuppc - monitor the age of backuppc's most recent backup operation
|
||||||
# env.full_critical 20 # critical if FULL backup older than N days
|
|
||||||
# env.incr_warning 1 # warn if INCR backup older than N days
|
|
||||||
# env.incr_critical 3 # critical if INCR backup older than N days
|
=head1 APPLICABLE SYSTEMS
|
||||||
#
|
|
||||||
#%# family=backuppc
|
Hosts with a local backuppc respository.
|
||||||
#%# capabilities=autoconf
|
|
||||||
|
|
||||||
|
=head1 CONFIGURATION
|
||||||
|
|
||||||
|
[backuppc]
|
||||||
|
user backuppc
|
||||||
|
env.pcdir /var/lib/BackupPC/pc
|
||||||
|
env.full_warning 10 # warn if FULL backup older than N days
|
||||||
|
env.full_critical 20 # critical if FULL backup older than N days
|
||||||
|
env.incr_warning 1 # warn if INCR backup older than N days
|
||||||
|
env.incr_critical 3 # critical if INCR backup older than N days
|
||||||
|
|
||||||
|
|
||||||
|
=head1 AUTHORS
|
||||||
|
|
||||||
|
Copyright (C) 2013 Steve Schnepp <steve.schnepp@pwkf.org>
|
||||||
|
|
||||||
|
|
||||||
|
=head1 LICENSE
|
||||||
|
|
||||||
|
GNU Library General Public License v2 or later
|
||||||
|
|
||||||
|
SPDX-License-Identifier: LGPL-2.0-or-later
|
||||||
|
|
||||||
|
|
||||||
|
=head1 MAGIC MARKERS
|
||||||
|
|
||||||
|
#%# family=backuppc
|
||||||
|
#%# capabilities=autoconf
|
||||||
|
|
||||||
|
=cut
|
||||||
|
|
||||||
|
|
||||||
PCDIR=${pcdir:-"/var/lib/BackupPC/pc"}
|
PCDIR=${pcdir:-"/var/lib/BackupPC/pc"}
|
||||||
HOSTS=$(cd ${PCDIR} 2>/dev/null && ls -1)
|
HOSTS=$(cd ${PCDIR} 2>/dev/null && ls -1)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue