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

qos_: add ability to use custom update_rate

This commit is contained in:
Steve Schnepp 2013-01-10 18:00:05 +01:00
parent bdad8b7d48
commit 8fbe0ebe27

View File

@ -16,6 +16,8 @@
# tc - Override default program
# ignore_queue<n> - Queue with handle <n> not be plotted
# label_name<n> - Queue with handle <n> 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;