From 42c3d558c04e20f9b474ca0c93512475818e0c99 Mon Sep 17 00:00:00 2001 From: john30 Date: Sun, 16 Oct 2016 16:02:56 +0200 Subject: [PATCH] use diff for YieldTotal --- contrib/munin/plugins/ebusd_ | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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]"