]> git.ipfire.org Git - collecty.git/blobdiff - src/collecty/plugins/interrupts.py
Add some magic to collecty that makes the graph templates smaller
[collecty.git] / src / collecty / plugins / interrupts.py
index 20ff038c06c1ef0dfb52e65cb1bbef10f4a982d0..c43a9bc0091bdcf1830cca51775db71ae5e06c29 100644 (file)
@@ -33,15 +33,10 @@ class GraphTemplateSystemInterrupts(base.GraphTemplate):
                _ = self.locale.translate
 
                return [
-                       "DEF:intr=%(file)s:intr:AVERAGE",
-
                        "AREA:intr#90EE90:%-15s" % _("System Interrupts"),
-                       "VDEF:intrmax=intr,MAXIMUM",
-                       "VDEF:intrmin=intr,MINIMUM",
-                       "VDEF:intravg=intr,AVERAGE",
-                       "GPRINT:intrmax:%12s\:" % _("Maximum") + " %6.2lf" ,
-                       "GPRINT:intrmin:%12s\:" % _("Minimum") + " %6.2lf" ,
-                       "GPRINT:intravg:%12s\:" % _("Average") + " %6.2lf\\n",
+                       "GPRINT:intr_max:%12s\:" % _("Maximum") + " %6.2lf" ,
+                       "GPRINT:intr_min:%12s\:" % _("Minimum") + " %6.2lf" ,
+                       "GPRINT:intr_avg:%12s\:" % _("Average") + " %6.2lf\\n",
                ]
 
        lower_limit = 0