From 0e47289bb8c65d85a972e8f1dafbbf983e69bbe7 Mon Sep 17 00:00:00 2001
From: Heuzef
Date: Fri, 13 Sep 2019 14:53:39 +0200
Subject: [PATCH] Include content hardcode
---
Check.pm | 65 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++-
1 file changed, 64 insertions(+), 1 deletion(-)
diff --git a/Check.pm b/Check.pm
index 3c4fcaf..76a73b4 100644
--- a/Check.pm
+++ b/Check.pm
@@ -148,7 +148,70 @@ EOF
my $DUmaxTime = timeStamp2($Info{DUDailyMaxTime});
my $DUInodemaxTime = timeStamp2($Info{DUInodeDailyMaxTime});
- my $content = eval ("qq{$Lang->{BackupPC_Summary}}");
+ my $content = eval ("qq{
+
+ \${h1(qq{"BackupPC: Check"})}
+
+
+ - This status was generated at \$now.
+
- Pool file system was recently at \$Info{DUlastValue}%
+ (\$DUlastTime), today\'s max is \$Info{DUDailyMax}% (\$DUmaxTime)
+ and yesterday\'s max was \$Info{DUDailyMaxPrev}%.
+
- Pool file system inode usage was recently at \$Info{DUInodelastValue}%
+ (\$DUlastTime), today\'s max is \$Info{DUInodeDailyMax}% (\$DUInodemaxTime)
+ and yesterday\'s max was \$Info{DUInodeDailyMaxPrev}%.
+
+
+
+ \${h2("Hosts with good Backups")}
+
+ There are \$hostCntGood hosts that have been backed up, for a total of:
+
+ - \$fullTot full backups of total size \${fullSizeTot}GiB
+ (prior to pooling and compression),
+
- \$incrTot incr backups of total size \${incrSizeTot}GiB
+ (prior to pooling and compression).
+
+
+
+ \${h2("Hosts with no Backups")}
+
+ There are \$hostCntNone hosts with no backups.
+
+
+ EOF
+
+ }");
Header("BackupPC: Check", $content);
Trailer();
}