From 8fbe0ebe27240eefdfba819a6e9ebe41eec2f210 Mon Sep 17 00:00:00 2001 From: Steve Schnepp Date: Thu, 10 Jan 2013 18:00:05 +0100 Subject: [PATCH] qos_: add ability to use custom update_rate --- plugins/network/qos_ | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/plugins/network/qos_ b/plugins/network/qos_ index 6382cfe1..3b9bc6fa 100755 --- a/plugins/network/qos_ +++ b/plugins/network/qos_ @@ -16,6 +16,8 @@ # tc - Override default program # ignore_queue - Queue with handle not be plotted # label_name - Queue with handle as defined label +# update_rate - Custom update_rate, to be used with async +# graph_data_size - Custom graph_data_size, to be used with async & custom update_rate # # Magic markers: #%# family=manual @@ -100,6 +102,8 @@ if ( exists $ARGV[0] and $ARGV[0] eq 'config' ) { print "graph_vlabel bits per \${graph_period}\n"; print "graph_category network\n"; print "graph_info This graph shows the QoS queue of the $IFACE network interface.\n"; + print "update_rate $ENV{update_rate}\n" if $ENV{update_rate}; + print "graph_data_size $ENV{graph_data_size}\n" if $ENV{graph_data_size}; print "graph_order "; foreach my $key (sort by_handle keys %queues) { $haschild = 0;