|
|
|
@ -130,7 +130,7 @@ sub action |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
# Get result, if we don't have enough backup (< 4) we can't calcul a realist average |
|
|
|
|
if ( not $idBackup > 4) { |
|
|
|
|
if ( not $nbBackups > 4) { |
|
|
|
|
$sizeConsistencyColor = "Gray"; |
|
|
|
|
$sizeConsistency = "Not enough backups"; |
|
|
|
|
} |
|
|
|
@ -145,7 +145,7 @@ sub action |
|
|
|
|
# Show summary |
|
|
|
|
$str .= <<EOF; |
|
|
|
|
<tr$reasonHilite> |
|
|
|
|
<td class="border"><a href="$browseFile">$host ($idBackup) TOTAL = $nbBackups</a></td> |
|
|
|
|
<td class="border"><a href="$browseFile">$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> |
|
|
|
|