Update bot

This commit is contained in:
root 2016-09-20 15:56:45 +02:00
parent a4b0e0927e
commit 9f7533ed4c

View File

@ -406,6 +406,9 @@ while (1) {
$renot{$host} = time();
my $id = ackable($host,undef,$state,$output);
$output =~ s/^\s*CRITICAL\s*//g;
$output =~ s/^\s*WARNING\s*//g;
$output =~ s/^\s*OK\s*//g;
$msg = $state_to_color->{$state} . "$id$host is $state: $output";
}
else {