From 62956446985aae33fe718a51ae6105daa8aa531c Mon Sep 17 00:00:00 2001 From: Michael Tremer Date: Tue, 15 Dec 2015 23:04:35 +0000 Subject: [PATCH] cpufreq: Fix graph generation Signed-off-by: Michael Tremer --- src/collecty/plugins/cpufreq.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/collecty/plugins/cpufreq.py b/src/collecty/plugins/cpufreq.py index 8bbd1fb..e6b8647 100644 --- a/src/collecty/plugins/cpufreq.py +++ b/src/collecty/plugins/cpufreq.py @@ -57,8 +57,8 @@ class GraphTemplateCPUFreq(base.GraphTemplate): for processor, colour in zip(self.objects, self.processor_colours): rrd_graph += processor.make_rrd_defs(processor.id) + [ - "LINE2:%s%s:%-10s" % (processor.id, colour, processor.name), - "GPRINT:%s:%%6.2lf %%sHz" % processor.id, + "LINE2:%s_current%s:%-10s" % (processor.id, colour, processor.name), + "GPRINT:%s_current_avg:%%6.2lf %%sHz\l" % processor.id, ] return rrd_graph -- 2.39.2