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 ac1e5cdcac Print size infos 5 years ago
Check.pm Add color for errors 5 years ago
check_backuppc_sudo.pl Add check_backuppc_sudo.pl 5 years ago
check_size_consistency.pl Print size infos 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