2
0
mirror of https://github.com/munin-monitoring/contrib.git synced 2018-11-08 00:59:34 +01:00

Ignore sfq child classes.

Normal rate monitoring should be preformed on parent HTB classes/queues.

SFQ classes are dynamically allocated (as queues fill) and given random names and this messes up charts.
This commit is contained in:
Samuel Smith 2016-01-14 21:20:07 -06:00
parent 0553d6c2d0
commit 999f43474e

View File

@ -157,6 +157,7 @@ sub by_handle {
}
foreach my $key (sort by_handle keys %queues) {
next if $key =~ /sfq/i;
$haschild = 0;
foreach my $key2 (sort by_handle keys %queues) {
if($queues{$key}->{id} eq $queues{$key2}->{parent}) {