summaryrefslogtreecommitdiffstats
path: root/src/health/health.d/lvm.conf
blob: 570aa14d379ede05274f51e013c21180d0837923 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
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