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 9609b2d1fc Add perl-IPC-System-Simple lib 5 years ago
Check.pm Random file 5 years ago
check_backuppc_sudo.pl Add check_backuppc_sudo.pl 5 years ago
check_size_consistency.pl Add somes comments 5 years ago
en.pm Add more function 5 years ago
readme.txt Add perl-IPC-System-Simple lib 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 perl-IPC-System-Simple

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