From 1f44f69b84ca38038b355d13274b0dc59f92a862 Mon Sep 17 00:00:00 2001 From: Jordi Sanfeliu Date: Tue, 31 Aug 2021 09:18:07 +0200 Subject: [PATCH] fixed to not treat option 'graph_name' as special as it ends up duplicating graphs --- monitorix | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/monitorix b/monitorix index b69ca7f..4eace27 100755 --- a/monitorix +++ b/monitorix @@ -602,11 +602,12 @@ if($config{include_dir} && opendir(DIR, $config{include_dir})) { next; } # graph_name option is special - if($key eq "graph_name") { - $config{graph_name} .= ", $val"; - delete $config_inc{graph_name}; - next; - } + #if($key eq "graph_name") { + # $config{graph_name} .= ", $val"; + # delete $config_inc{$key}; + # next; + #} + # one level options $config{$key} = $val; delete $config_inc{$key};