Lessen noise:)
This commit is contained in:
@ -22,6 +22,14 @@ sub parser {
|
||||
m/(\ ($re_host):[0-9]{1,6})/gcix && do {
|
||||
$host = $2;
|
||||
};
|
||||
} elsif($string =~ m/https\~ servers\/httpd/) {
|
||||
#haproxy routed this somewhere, probably not the worst
|
||||
$hostile = 0;
|
||||
$reply = 'Routed to https, do not care:)'
|
||||
} elsif($string =~ m/stopped \(cumulated conns/) {
|
||||
#Usual service restart info
|
||||
$hostile = 0;
|
||||
$reply = 'haproxy restart information'
|
||||
}
|
||||
return { retval => 1, retmsg => $reply, hostile => $hostile, host => $host, string => $string };
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user