Deploy function for get total of backups (incr + full)

master
heuzef 4 years ago
parent b1c032c81b
commit fec798e9e2
  1. 4
      Check.pm

@ -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>

Loading…
Cancel
Save