|
|
@ -107,7 +107,7 @@ sub action |
|
|
|
my $sizeConsistencyColor = "Tomato"; |
|
|
|
my $sizeConsistencyColor = "Tomato"; |
|
|
|
my $sizeConsistency = "<strong>ANOMALOUS</strong>"; |
|
|
|
my $sizeConsistency = "<strong>ANOMALOUS</strong>"; |
|
|
|
|
|
|
|
|
|
|
|
if ( $idBackup < 4 ) { # There are enough backup ? |
|
|
|
if ( $idBackup > 4 ) { # There are enough backup ? |
|
|
|
|
|
|
|
|
|
|
|
# TOO BIG ? If the size is 6 times higher than usual : |
|
|
|
# TOO BIG ? If the size is 6 times higher than usual : |
|
|
|
if ( $new_size > ($new_size_q3 + ($new_size_q3 - $new_size_q1) ) * 1.5 and $new_size > $new_size_avg * 6 ) { |
|
|
|
if ( $new_size > ($new_size_q3 + ($new_size_q3 - $new_size_q1) ) * 1.5 and $new_size > $new_size_avg * 6 ) { |
|
|
@ -124,13 +124,11 @@ sub action |
|
|
|
$sizeConsistencyColor = "MediumSeaGreen"; |
|
|
|
$sizeConsistencyColor = "MediumSeaGreen"; |
|
|
|
$sizeConsistency = "Normal"; |
|
|
|
$sizeConsistency = "Normal"; |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} else { |
|
|
|
else { |
|
|
|
my $sizeConsistencyColor = "Gray"; |
|
|
|
my $sizeConsistencyColor = "MediumSeaGreen"; |
|
|
|
|
|
|
|
my $sizeConsistency = "<em>Not enough backups</em>"; |
|
|
|
my $sizeConsistency = "<em>Not enough backups</em>"; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# Get URL for explore file |
|
|
|
# Get URL for explore file |
|
|
|
my $browseFile = "?action=browse&host=$host"; |
|
|
|
my $browseFile = "?action=browse&host=$host"; |
|
|
|
|
|
|
|
|
|
|
|