summaryrefslogtreecommitdiffstats
path: root/templates/graphite-template memory-linux-local.ini
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-14 13:21:16 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-14 13:21:16 +0000
commit2e582fe0b8b6a8e67982ddb84935db1bd3b401fe (patch)
treedd511b321f308264952cffb005a4288ea4e478e6 /templates/graphite-template memory-linux-local.ini
parentInitial commit. (diff)
downloadicingaweb2-module-graphite-2e582fe0b8b6a8e67982ddb84935db1bd3b401fe.tar.xz
icingaweb2-module-graphite-2e582fe0b8b6a8e67982ddb84935db1bd3b401fe.zip
Adding upstream version 1.2.2.upstream/1.2.2
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'templates/graphite-template memory-linux-local.ini')
-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)')"