reorganisation of etc

This commit is contained in:
Marc Wäckerlin
2018-07-18 14:08:51 +02:00
parent 88f95cc29c
commit a493c2ed6a
7 changed files with 25 additions and 11 deletions

27
etc/backup.conf Normal file
View File

@@ -0,0 +1,27 @@
## @id $Id$
## 1 2 3 4 5 6 7 8
## 45678901234567890123456789012345678901234567890123456789012345678901234567890
# E-Mail to report errors
#EMAIL=x@y.z
# Number of backups to keep per type
#NUM=5
# Target to backup to
#TARGET="/var/backup"
# Additional arguments to pass to rsync
#MORE_ARGS="--exclude /var/backup"
################################################################################
# The following variables are detected automatically
# and setup with good defaulte
# You rarely need to change them
# Overwrite standard detection of backup sources
#SOURCES=$(ssh $HOST mount | awk '/^\// && !/'${TARGET//\//\\\/}'/ && $2=="on" {print $3}')
# Basic rsync arguments
#ARGS="-aqx --delete"

1
etc/check_backup.cfg.in Normal file
View File

@@ -0,0 +1 @@
command[check_backup]=@prefix@/lib/nagios/plugins/check_backup $ARG1$ $ARG2$

13
etc/makefile.am Normal file
View File

@@ -0,0 +1,13 @@
## @id $Id$
## 1 2 3 4 5 6 7 8
## 45678901234567890123456789012345678901234567890123456789012345678901234567890
EXTRA_DIST = check_backup.cfg.in
dist_sysconf_DATA = backup.conf
icingapluginnrpeconfigdir = ${sysconfdir}/nagios/nrpe.d
icingapluginnrpeconfig_DATA = check_backup.cfg
MAINTAINERCLEANFILES = makefile.in