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

Ignore sfq child classes for configure.

This commit is contained in:
Samuel Smith 2016-01-14 21:36:14 -06:00
parent 999f43474e
commit 87efe7091b

View File

@ -106,6 +106,8 @@ if ( exists $ARGV[0] and $ARGV[0] eq 'config' ) {
print "graph_data_size $ENV{graph_data_size}\n" if $ENV{graph_data_size}; print "graph_data_size $ENV{graph_data_size}\n" if $ENV{graph_data_size};
print "graph_order "; print "graph_order ";
foreach my $key (sort by_handle keys %queues) { foreach my $key (sort by_handle keys %queues) {
delete $queues{$key} if $key =~ /sfq/i;
next if $key =~ /sfq/i;
$haschild = 0; $haschild = 0;
foreach my $key2 (sort by_handle keys %queues) { foreach my $key2 (sort by_handle keys %queues) {
if($queues{$key}->{id} eq $queues{$key2}->{parent}) { if($queues{$key}->{id} eq $queues{$key2}->{parent}) {