Lessen noise:)

This commit is contained in:
2025-03-20 19:03:24 +01:00
parent 3062c1fb31
commit 7c418005ae

View File

@ -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 };
}