Inverse for test

master
Heuzef 5 years ago
parent eb7965d69f
commit bd33420732
  1. 4
      Check.pm

@ -107,7 +107,7 @@ sub action
my $sizeConsistencyColor = "Tomato";
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 :
if ( $new_size > ($new_size_q3 + ($new_size_q3 - $new_size_q1) ) * 1.5 and $new_size > $new_size_avg * 6 ) {
@ -137,7 +137,7 @@ sub action
# Show summary
$str .= <<EOF;
<tr$reasonHilite>
<td class="border"><a href="$browseFile" target="_blank">[$idBackup] $host</a></td>
<td class="border"><a href="$browseFile" target="_blank">$host ($idBackup)</a></td>
<td align="center" class="border" style="color:$lastAgeColor;">$lastAge <em>(Freq: $frequency)</em></td>
<td align="center" class="border" style="color:$lastXferErrorsColor;">$lastXferErrors $ifErrors</td>
<td align="center" class="border" style="color:$sizeConsistencyColor;">$sizeConsistency</td>

Loading…
Cancel
Save