From 88dc2a720c0313fa74b840663a78b6eac23cb195 Mon Sep 17 00:00:00 2001 From: Heuzef Date: Wed, 25 Sep 2019 15:44:26 +0200 Subject: [PATCH] Function for Size Consistency is valid now :) --- backuppc_check.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backuppc_check.pl b/backuppc_check.pl index 57df50a..52bd4a8 100644 --- a/backuppc_check.pl +++ b/backuppc_check.pl @@ -57,7 +57,7 @@ if ( $host ) { my $i = ( $bpc_info[-1]->{type} =~ m/^full|incr$/ ) ? -1 : -2; $json->{errors} = $bpc_info[$i]->{xferErrs}; - $json->{new_size} = 501898; + $json->{new_size} = $bpc_info[$i]->{sizeNew}; $json->{new_size_avg} = int $sizes->mean; $json->{new_size_median} = int $sizes->median; $json->{new_size_q1} = eval { int $sizes->quantile(1) } || 0;