diff --git a/contrib/munin/plugins/ebusd_ b/contrib/munin/plugins/ebusd_ index 9e80acbf..bc649984 100755 --- a/contrib/munin/plugins/ebusd_ +++ b/contrib/munin/plugins/ebusd_ @@ -75,7 +75,7 @@ if [ "$1" = "config" ]; then fi name=${sensor/:/_} name=${name/./_} - if [ "${sensor%%Energy}" = "$sensor" -a ! "$type" = "hours" ]; then + if [ "${sensor%%Total}" = "$sensor" -a ! "$type" = "hours" ]; then echo ${prefix}_${name}.label ${sensor/:/ } else echo ${prefix}_${name}.label ${sensor/:/ } "[diff]"