|
|
@ -250,31 +250,7 @@ EOF |
|
|
|
my $DUmaxTime = timeStamp2($Info{DUDailyMaxTime}); |
|
|
|
my $DUmaxTime = timeStamp2($Info{DUDailyMaxTime}); |
|
|
|
my $DUInodemaxTime = timeStamp2($Info{DUInodeDailyMaxTime}); |
|
|
|
my $DUInodemaxTime = timeStamp2($Info{DUInodeDailyMaxTime}); |
|
|
|
|
|
|
|
|
|
|
|
# Show Header |
|
|
|
my $content = eval ("qq{$Lang->{BackupPC_Check}}"); |
|
|
|
my $content = <<EOF; |
|
|
|
|
|
|
|
\${h1("BackupPC: Check")} |
|
|
|
|
|
|
|
<p>This check was generated at <strong>\$now</strong>.</p> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<p>File system pool size usage (\$DUmaxTime) :</p> |
|
|
|
|
|
|
|
<div style="background-color:#f1f1f1!important"> |
|
|
|
|
|
|
|
<div style="color:#fff!important;background-color:#2196F3!important; text-align:center; width:\$Info{DUDailyMax}%">\$Info{DUDailyMax}%</div> |
|
|
|
|
|
|
|
</div> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<p>File system inode size usage (\$DUInodemaxTime) :</p> |
|
|
|
|
|
|
|
<div style="background-color:#f1f1f1!important"> |
|
|
|
|
|
|
|
<div style="color:#fff!important;background-color:#2196F3!important; text-align:center; width:\$Info{DUInodeDailyMax}%">\$Info{DUInodeDailyMax}%</div> |
|
|
|
|
|
|
|
</div> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
\${h2("Backups summary")} |
|
|
|
|
|
|
|
<table class="sortable" id="host_summary_backups" border cellpadding="3" cellspacing="1"> |
|
|
|
|
|
|
|
<tr class="tableheader"><td> Host </td> |
|
|
|
|
|
|
|
<td> Last Backup (days) </td> |
|
|
|
|
|
|
|
<td> Errors </td> |
|
|
|
|
|
|
|
<td> Size Consistency </td> |
|
|
|
|
|
|
|
<td> Browse </td> |
|
|
|
|
|
|
|
\$strGood |
|
|
|
|
|
|
|
</table> |
|
|
|
|
|
|
|
EOF |
|
|
|
|
|
|
|
Header("BackupPC: Check", $content); |
|
|
|
Header("BackupPC: Check", $content); |
|
|
|
Trailer(); |
|
|
|
Trailer(); |
|
|
|
} |
|
|
|
} |
|
|
|