summaryrefslogtreecommitdiffstats
path: root/templates/file_age.ini
diff options
context:
space:
mode:
Diffstat (limited to 'templates/file_age.ini')
-rw-r--r--templates/file_age.ini32
1 files changed, 32 insertions, 0 deletions
diff --git a/templates/file_age.ini b/templates/file_age.ini
new file mode 100644
index 0000000..7be72ad
--- /dev/null
+++ b/templates/file_age.ini
@@ -0,0 +1,32 @@
+[file_age-age.graph]
+check_command = "file_age"
+
+[file_age-age.metrics_filters]
+value = "$service_name_template$.perfdata.age.value"
+
+[file_age-age.urlparams]
+areaAlpha = "0.5"
+areaMode = "all"
+lineWidth = "2"
+min = "0"
+yUnitSystem = "sec"
+
+[file_age-age.functions]
+value = "alias(color($metric$, '#1a7dd7'), 'File age (s)')"
+
+
+[file_age-size.graph]
+check_command = "file_age"
+
+[file_age-size.metrics_filters]
+value = "$service_name_template$.perfdata.size.value"
+
+[file_age-size.urlparams]
+areaAlpha = "0.5"
+areaMode = "all"
+lineWidth = "2"
+min = "0"
+yUnitSystem = "binary"
+
+[file_age-size.functions]
+value = "alias(color($metric$, '#1a7dd7'), 'File size (bytes)')"