Update bot
This commit is contained in:
parent
a4b0e0927e
commit
9f7533ed4c
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user