|
|
|
@ -51,7 +51,10 @@ sub action |
|
|
|
|
next if ( !$Privileged && !CheckPermission($host) ); |
|
|
|
|
|
|
|
|
|
# Get frequence for this host |
|
|
|
|
$frequence = $Conf{FullPeriod}; |
|
|
|
|
if ( $Conf{IncrPeriod} < $Conf{FullPeriod} ) { |
|
|
|
|
$frequence = $Conf{IncrPeriod}; |
|
|
|
|
} else { |
|
|
|
|
$frequence = $Conf{FullPeriod}; |
|
|
|
|
|
|
|
|
|
# Age |
|
|
|
|
for ( my $i = 0 ; $i < @Backups ; $i++ ) { |
|
|
|
@ -212,7 +215,7 @@ my $browseFile = "?action=browse&host=$host"; |
|
|
|
|
# Show summary |
|
|
|
|
$str = <<EOF; |
|
|
|
|
<tr$reasonHilite><td class="border">${HostLink($host)}</td> |
|
|
|
|
<td align="center" class="border" style="color:$lastAgeColor;">$lastAge</td> |
|
|
|
|
<td align="center" class="border" style="color:$lastAgeColor;">$lastAge <em>(Freq: $frequence)</em></td> |
|
|
|
|
<td align="center" class="border" style="color:$lastXferErrorsColor;">$lastXferErrors</td> |
|
|
|
|
<td align="center" class="border" style="color:$sizeConsistencyColor;">$sizeConsistency</td> |
|
|
|
|
<td align="center" class="border"><a href="$browseFile" target="_blank">Explore files ...</a></td> |
|
|
|
@ -254,7 +257,7 @@ EOF |
|
|
|
|
|
|
|
|
|
<table class="sortable" id="host_summary_backups" border cellpadding="3" cellspacing="1"> |
|
|
|
|
<tr class="tableheader"><td> Host </td> |
|
|
|
|
<td> Last backup in days (frequence is \$frequence days)</td> |
|
|
|
|
<td> Last backup in days </td> |
|
|
|
|
<td> Errors </td> |
|
|
|
|
<td> Size Consistency </td> |
|
|
|
|
<td> Browse </td> |
|
|
|
|