mirror of
https://github.com/munin-monitoring/contrib.git
synced 2025-07-21 18:41:03 +00:00
Fix inconsistent category order of varnish4_ plugin
Varnish4_ plugin displays categories in an arbitrary order, changing the colors of the graphs with each run. This fix introduces a 'sort' statement in the category iteration function to force the same order consistently.
This commit is contained in:
parent
7325ba61ba
commit
49bfc34617
1 changed files with 1 additions and 1 deletions
|
@ -1081,7 +1081,7 @@ sub get_config
|
|||
print_if_exist(\%ASPECTS,$graph,$field,"graph_$field");
|
||||
}
|
||||
|
||||
foreach my $value (keys %values) {
|
||||
foreach my $value (sort keys %values) {
|
||||
# Just print the description/type if it's a dynamic
|
||||
# counter. It'll be silent if it isn't.
|
||||
if(print_dynamic($value,'.label',('description','type','ident'))) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue