reorganisation of etc
This commit is contained in:
		
							
								
								
									
										27
									
								
								etc/backup.conf
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										27
									
								
								etc/backup.conf
									
									
									
									
									
										Normal 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
									
								
							
							
						
						
									
										1
									
								
								etc/check_backup.cfg.in
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1 @@
 | 
			
		||||
command[check_backup]=@prefix@/lib/nagios/plugins/check_backup $ARG1$ $ARG2$
 | 
			
		||||
							
								
								
									
										13
									
								
								etc/makefile.am
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										13
									
								
								etc/makefile.am
									
									
									
									
									
										Normal 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
 | 
			
		||||
		Reference in New Issue
	
	Block a user