X-Git-Url: http://git.ipfire.org/?p=collecty.git;a=blobdiff_plain;f=src%2Fcollecty%2Fplugins%2Fcpu.py;h=c2f01836d7eb7933ed17db849be8aa35664e9662;hp=c9825b7d2849f2db6dbb3a9392bf58883d56f204;hb=c968f6d9744a12474be417bfca1056c44c1eadc9;hpb=0ec1854a7313e4e0408e85c516ce38d67aa1c804 diff --git a/src/collecty/plugins/cpu.py b/src/collecty/plugins/cpu.py index c9825b7..c2f0183 100644 --- a/src/collecty/plugins/cpu.py +++ b/src/collecty/plugins/cpu.py @@ -25,8 +25,8 @@ import base from ..i18n import _ -class GraphTemplateCPU(base.GraphTemplate): - name = "cpu" +class GraphTemplateProcessor(base.GraphTemplate): + name = "processor" rrd_graph = [ "DEF:user=%(file)s:user:AVERAGE", @@ -154,7 +154,7 @@ class ProcessorPlugin(base.Plugin): name = "processor" description = "Processor Usage Plugin" - templates = [GraphTemplateCPU,] + templates = [GraphTemplateProcessor] interval = 30