From b7288b85841fce9f9d9c6f4d0a09a6087722abd7 Mon Sep 17 00:00:00 2001 From: Heuzef Date: Fri, 27 Sep 2019 15:39:38 +0200 Subject: [PATCH] Begin random file function --- Check.pm | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/Check.pm b/Check.pm index fd9f8a3..0c87096 100644 --- a/Check.pm +++ b/Check.pm @@ -141,7 +141,7 @@ if ( $Conf{BackupsDisable} == 1 ) { $shortErr = " ($shortErr)"; } -# Size Consistency +# Check Size Consistency my $bpc = BackupPC::Lib->new(); my $mainConf = $bpc->ConfigDataRead(); my $json = {}; @@ -219,13 +219,16 @@ else { $sizeConsistencyColor = "MediumSeaGreen"; } +# Get random file +my $randomFile = "random-file.txt"; + # Show summary $str = <${HostLink($host)} $lastAge $lastXferErrors $sizeConsistency - random-file.txt + $randomFile EOF # Increment counter