| 1 | # you can disable an alarm notification by setting the 'to' line to: silent |
| 2 | |
| 3 | template: lvm_lv_data_space_utilization |
| 4 | on: lvm.lv_data_space_utilization |
| 5 | class: Utilization |
| 6 | type: System |
| 7 | component: LVM |
| 8 | calc: $utilization |
| 9 | units: % |
| 10 | every: 1m |
| 11 | warn: $this > (($status >= $WARNING ) ? (85) : (90)) |
| 12 | crit: ($this > (($status == $CRITICAL) ? (90) : (98))) |
| 13 | delay: down 5m multiplier 1.5 max 1h |
| 14 | summary: LVM LV ${label:lv_name} on VG ${label:vg_name} high data space usage |
| 15 | info: LVM logical volume high data space usage (LV ${label:lv_name} VG ${label:vg_name} Type ${label:volume_type}) |
| 16 | to: sysadmin |
| 17 | |
| 18 | template: lvm_lv_metadata_space_utilization |
| 19 | on: lvm.lv_metadata_space_utilization |
| 20 | class: Utilization |
| 21 | type: System |
| 22 | component: LVM |
| 23 | calc: $utilization |
| 24 | units: % |
| 25 | every: 1m |
| 26 | warn: $this > (($status >= $WARNING ) ? (85) : (90)) |
| 27 | crit: ($this > (($status == $CRITICAL) ? (90) : (98))) |
| 28 | delay: down 5m multiplier 1.5 max 1h |
| 29 | summary: LVM LV ${label:lv_name} on VG ${label:vg_name} high metadata space usage |
| 30 | info: LVM logical volume high metadata space usage (LV ${label:lv_name} VG ${label:vg_name} Type ${label:volume_type}) |
| 31 | to: sysadmin |