]> git.ipfire.org Git - collecty.git/blobdiff - src/collecty/plugins/sensors.py
Add some magic to collecty that makes the graph templates smaller
[collecty.git] / src / collecty / plugins / sensors.py
index f81f7dea53e6b07e8aafe3ee701b9e99207e66f4..efdbe9b17b9bc38fbb3fb27aa0ea2c536d1f2476 100644 (file)
@@ -51,11 +51,6 @@ class GraphTemplateSensorsTemperature(base.GraphTemplate):
                        "CDEF:value_high=value,high,GT,value,UNKN,IF",
                        "CDEF:value_normal=value,high,GT,UNKN,value,IF",
 
-                       "VDEF:value_cur=value,LAST",
-                       "VDEF:value_avg=value,AVERAGE",
-                       "VDEF:value_max=value,MAXIMUM",
-                       "VDEF:value_min=value,MINIMUM",
-
                        # Get data points for the threshold lines
                        "VDEF:critical_line=critical,MINIMUM",
                        "VDEF:low_line=low,MAXIMUM",
@@ -153,10 +148,6 @@ class GraphTemplateSensorsProcessorTemperature(base.GraphTemplate):
                        "CDEF:value_high=value,high,GT,value,UNKN,IF",
                        "CDEF:value_normal=value,high,GT,UNKN,value,IF",
 
-                       "VDEF:value_avg=value,AVERAGE",
-                       "VDEF:value_max=value,MAXIMUM",
-                       "VDEF:value_min=value,MINIMUM",
-
                        "LINE3:value_high#FF0000",
                        "LINE3:value_normal#000000:%-15s\l" % _("Temperature"),