summaryrefslogtreecommitdiffstats
path: root/templates/swap.ini
diff options
context:
space:
mode:
Diffstat (limited to 'templates/swap.ini')
-rw-r--r--templates/swap.ini17
1 files changed, 17 insertions, 0 deletions
diff --git a/templates/swap.ini b/templates/swap.ini
new file mode 100644
index 0000000..535bc69
--- /dev/null
+++ b/templates/swap.ini
@@ -0,0 +1,17 @@
+[swap.graph]
+check_command = "swap, swap-windows"
+
+[swap.metrics_filters]
+value = "$service_name_template$.perfdata.swap.value"
+max = "$service_name_template$.perfdata.swap.max"
+
+[swap.urlparams]
+areaAlpha = "0.5"
+areaMode = "all"
+lineWidth = "2"
+min = "0"
+yUnitSystem = "binary"
+
+[swap.functions]
+value = "alias(color($metric$, '#1a7dd7'), 'Used (bytes)')"
+max = "alias(color($metric$, '#cfd7e6'), 'Size (bytes)')"