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:
parent
bdad8b7d48
commit
8fbe0ebe27
@ -16,6 +16,8 @@
|
|||||||
# tc - Override default program
|
# tc - Override default program
|
||||||
# ignore_queue<n> - Queue with handle <n> not be plotted
|
# ignore_queue<n> - Queue with handle <n> not be plotted
|
||||||
# label_name<n> - Queue with handle <n> as defined label
|
# 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:
|
# Magic markers:
|
||||||
#%# family=manual
|
#%# 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_vlabel bits per \${graph_period}\n";
|
||||||
print "graph_category network\n";
|
print "graph_category network\n";
|
||||||
print "graph_info This graph shows the QoS queue of the $IFACE network interface.\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 ";
|
print "graph_order ";
|
||||||
foreach my $key (sort by_handle keys %queues) {
|
foreach my $key (sort by_handle keys %queues) {
|
||||||
$haschild = 0;
|
$haschild = 0;
|
||||||
|
Loading…
Reference in New Issue
Block a user