BackupPC verification helper
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
Heuzef 70c6795b81 Math formule 5 years ago
Check.pm Get cmd cli for Get the last full backup ID 5 years ago
check_backuppc_sudo.pl Add check_backuppc_sudo.pl 5 years ago
check_size_consistency.pl correction var 5 years ago
en.pm Add more function 5 years ago
readme.txt Math formule 5 years ago
zabbix.pl Fix single quote 5 years ago

readme.txt

Need to install some perl module :

yum -y install perl-JSON perl-Statistics-Descriptive

Update script :
cd BackupPC-Check
git pull ; \cp -vu Check.pm /usr/share/BackupPC/lib/BackupPC/CGI/Check.pm ; \cp -vu en.pm /usr/share/BackupPC/lib/BackupPC/Lang/en.pm

-----

TOO SMALL :

(new_size.last > new_size_q3.last + new_size_q3.last - new_size_q1.last) * 1.5 and new_size.last > new_size_avg.last*6

TOO BIG :
(last=1 and last>4 and new_size.last < new_size_q1.last - new_size_q3.last - new_size_q1.last) * 1.5 and new_size.last < new_size_avg.last/3