summaryrefslogtreecommitdiffstats
path: root/templates/graphite-template memory-linux-local.ini
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--templates/graphite-template memory-linux-local.ini28
1 files changed, 28 insertions, 0 deletions
diff --git a/templates/graphite-template memory-linux-local.ini b/templates/graphite-template memory-linux-local.ini
new file mode 100644
index 0000000..8868bc0
--- /dev/null
+++ b/templates/graphite-template memory-linux-local.ini
@@ -0,0 +1,28 @@
+[memory.graph]
+check_command = "mem"
+
+[memory.metrics_filters]
+value = "$service_name_template$.perfdata.USED.value"
+max = "$service_name_template$.perfdata.USED.max"
+crit = "$service_name_template$.perfdata.USED.crit"
+warn = "$service_name_template$.perfdata.USED.warn"
+caches = "$service_name_template$.perfdata.CACHES.value"
+free = "$service_name_template$.perfdata.FREE.value"
+total = "$service_name_template$.perfdata.TOTAL.value"
+
+[memory.urlparams]
+areaAlpha = "0.5"
+areaMode = "first"
+lineWidth = "2"
+min = "0"
+title = "Memory USED"
+yUnitSystem = "binary"
+
+[memory.functions]
+value = "alias(color($metric$, '#1a7dd7'), 'Used (bytes)')"
+max = "alias(color($metric$, '#cfd7e6'), 'Size (bytes)')"
+crit = "alias(color($metric$, '#ff0000'), 'Crit (bytes)')"
+warn = "alias(color($metric$, '#ff8d00'), 'Warn (bytes)')"
+free = "alias(color($metric$, '#41D2A2'), 'Free (bytes)')"
+total = "alias(color($metric$, '#8000FF'), 'Total (bytes)')"
+caches = "alias(color($metric$, '#ABABAB'), 'Caches (bytes)')"