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

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

@ -39,7 +39,7 @@ sub action
my($incrAge, $reasonHilite, $frequency, $lastAge, $lastAgeColor, $tempState, $tempReason, $lastXferErrors, $lastXferErrorsColor, $ifErrors, $sizeConsistency, $sizeConsistencyColor, $fullCnt, $incrCnt, $nbBackups); my($incrAge, $reasonHilite, $frequency, $lastAge, $lastAgeColor, $tempState, $tempReason, $lastXferErrors, $lastXferErrorsColor, $ifErrors, $sizeConsistency, $sizeConsistencyColor, $fullCnt, $incrCnt, $nbBackups);
my($shortErr); my($shortErr);
my @Backups = $bpc->BackupInfoRead($host); my @Backups = $bpc->BackupInfoRead($host);
$fullCnt = $incrCnt = $nbBackup = 0; $fullCnt = $incrCnt = $nbBackups = 0;
$bpc->ConfigRead($host); $bpc->ConfigRead($host);
%Conf = $bpc->Conf(); %Conf = $bpc->Conf();
@ -145,7 +145,7 @@ sub action
# Show summary # Show summary
$str .= <<EOF; $str .= <<EOF;
<tr$reasonHilite> <tr$reasonHilite>
<td class="border"><a href="$browseFile">$host ($idBackup) TOTAL = $nbBackup</a></td> <td class="border"><a href="$browseFile">$host ($idBackup) TOTAL = $nbBackups</a></td>
<td align="center" class="border" style="color:$lastAgeColor;">$lastAge <em>(Freq: $frequency)</em></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:$lastXferErrorsColor;">$lastXferErrors $ifErrors</td>
<td align="center" class="border" style="color:$sizeConsistencyColor;">$sizeConsistency</td> <td align="center" class="border" style="color:$sizeConsistencyColor;">$sizeConsistency</td>

Loading…
Cancel
Save