diff --git a/backuppc_check.pl b/backuppc_check.pl index 18f8819..592760c 100644 --- a/backuppc_check.pl +++ b/backuppc_check.pl @@ -151,19 +151,9 @@ EOF # Print results print("\n----------------\n"); -print("new_size_median : $json->{new_size_median}"); +print("Last Backup : $json->{age}"); print("\n"); -print("new_size_avg : $json->{new_size_avg}"); -print("\n"); -print("new_size_q3 : $json->{new_size_q3}"); -print("\n"); -print("new_size : $json->{new_size}"); -print("\n"); -print("new_size_q1 : $json->{new_size_q1}"); -print("\n"); -print("full_size : $json->{full_size}"); -print("\n----------------\n"); -print("\n----------------\n"); +print("Errors : $json->{errors}"); print("Size Consistency : "); # TOO SMALL ? @@ -190,5 +180,7 @@ if ( $toosmall == "false" && $toobig == "false" ) { else { print("ANOMALOUS"); } +print("\n"); +print("Random file : .........."); print("\n----------------\n"); exit(0);