Heuzef 5 years ago
parent af73cad438
commit 3161d1a06a
  1. 5
      Check.pm

@ -126,11 +126,10 @@ sub action
new_size_q3 => 0
};
my @bpc_info = $bpc->BackupInfoRead($host);
my $sizes = new Statistics::Descriptive::Full;
if ( scalar( @bpc_info ) ){
foreach my $backup ( @bpc_info ) {
if ( scalar( @Backups ) ){
foreach my $backup ( @Backups ) {
# Skip partial or active backups
next if ( $backup->{type} !~ m/^full|incr$/ );
# Push all the sizes in our data set to compute avg sizes

Loading…
Cancel
Save