Call external script

master
Heuzef 5 years ago
parent cac49cf82e
commit ca9cb61752
  1. 3
      Check.pm

@ -129,6 +129,7 @@ sub action
($shortErr = $Status{$host}{error}) =~ s/(.{48}).*/$1.../;
$shortErr = " ($shortErr)";
}
my $sizeConsistency = `/bin/perl check_size_consistency.pl --host=localhost`;
$str = <<EOF;
<tr$reasonHilite><td class="border">${HostLink($host)}</td>
@ -136,7 +137,7 @@ sub action
<td align="center" class="border" style="color:Gray">$incrAge</td>
<td align="center" class="border" style="color:$lastAgeColor;">$lastAge</td>
<td align="center" class="border" style="color:$lastXferErrorsColor;">$lastXferErrors</td>
<td align="center" class="border">???</td>
<td align="center" class="border">$sizeConsistency</td>
<td align="center" class="border">???</td>
EOF
if ( @Backups == 0 ) {

Loading…
Cancel
Save