summaryrefslogtreecommitdiffstats
path: root/health/health.d/zfs.conf
blob: 7f8ea2793a8c4f563413dda9a368c5242c26ad1f (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
32
33
34
35
36
37
38
39
40
41
    alarm: zfs_memory_throttle
       on: zfs.memory_ops
    class: Utilization
     type: System
component: File system
   lookup: sum -10m unaligned absolute of throttled
    units: events
    every: 1m
     warn: $this > 0
    delay: down 1h multiplier 1.5 max 2h
     info: number of times ZFS had to limit the ARC growth in the last 10 minutes
       to: sysadmin

# ZFS pool state

 template: zfs_pool_state_warn
       on: zfspool.state
    class: Errors
     type: System
component: File system
     calc: $degraded
    units: boolean
    every: 10s
     warn: $this > 0
    delay: down 1m multiplier 1.5 max 1h
     info: ZFS pool ${label:pool} state is degraded
       to: sysadmin

 template: zfs_pool_state_crit
       on: zfspool.state
    class: Errors
     type: System
component: File system
     calc: $faulted + $unavail
    units: boolean
    every: 10s
     crit: $this > 0
    delay: down 1m multiplier 1.5 max 1h
     info: ZFS pool ${label:pool} state is faulted or unavail
       to: sysadmin