summaryrefslogtreecommitdiffstats
path: root/src/health/health.d/lvm.conf
diff options
context:
space:
mode:
Diffstat (limited to 'src/health/health.d/lvm.conf')
-rw-r--r--src/health/health.d/lvm.conf31
1 files changed, 31 insertions, 0 deletions
diff --git a/src/health/health.d/lvm.conf b/src/health/health.d/lvm.conf
new file mode 100644
index 000000000..570aa14d3
--- /dev/null
+++ b/src/health/health.d/lvm.conf
@@ -0,0 +1,31 @@
+# you can disable an alarm notification by setting the 'to' line to: silent
+
+ template: lvm_lv_data_space_utilization
+ on: lvm.lv_data_space_utilization
+ class: Utilization
+ type: System
+ component: LVM
+ calc: $utilization
+ units: %
+ every: 1m
+ warn: $this > (($status >= $WARNING ) ? (85) : (90))
+ crit: ($this > (($status == $CRITICAL) ? (90) : (98)))
+ delay: down 5m multiplier 1.5 max 1h
+ summary: LVM LV ${label:lv_name} on VG ${label:vg_name} high data space usage
+ info: LVM logical volume high data space usage (LV ${label:lv_name} VG ${label:vg_name} Type ${label:volume_type})
+ to: sysadmin
+
+ template: lvm_lv_metadata_space_utilization
+ on: lvm.lv_metadata_space_utilization
+ class: Utilization
+ type: System
+ component: LVM
+ calc: $utilization
+ units: %
+ every: 1m
+ warn: $this > (($status >= $WARNING ) ? (85) : (90))
+ crit: ($this > (($status == $CRITICAL) ? (90) : (98)))
+ delay: down 5m multiplier 1.5 max 1h
+ summary: LVM LV ${label:lv_name} on VG ${label:vg_name} high metadata space usage
+ info: LVM logical volume high metadata space usage (LV ${label:lv_name} VG ${label:vg_name} Type ${label:volume_type})
+ to: sysadmin