summaryrefslogtreecommitdiffstats
path: root/health/health.d/btrfs.conf
diff options
context:
space:
mode:
Diffstat (limited to 'health/health.d/btrfs.conf')
-rw-r--r--health/health.d/btrfs.conf75
1 files changed, 75 insertions, 0 deletions
diff --git a/health/health.d/btrfs.conf b/health/health.d/btrfs.conf
index 8d197aa8..ab63ff28 100644
--- a/health/health.d/btrfs.conf
+++ b/health/health.d/btrfs.conf
@@ -66,3 +66,78 @@ component: File system
delay: up 1m down 15m multiplier 1.5 max 1h
info: utilization of BTRFS system space
to: sysadmin
+
+ template: btrfs_device_read_errors
+ on: btrfs.device_errors
+ class: Errors
+ type: System
+component: File system
+ os: *
+ hosts: *
+ families: *
+ units: errors
+ lookup: max -10m every 1m of read_errs
+ warn: $this > 0
+ delay: up 1m down 15m multiplier 1.5 max 1h
+ info: number of encountered BTRFS read errors
+ to: sysadmin
+
+ template: btrfs_device_write_errors
+ on: btrfs.device_errors
+ class: Errors
+ type: System
+component: File system
+ os: *
+ hosts: *
+ families: *
+ units: errors
+ lookup: max -10m every 1m of write_errs
+ warn: $this > 0
+ delay: up 1m down 15m multiplier 1.5 max 1h
+ info: number of encountered BTRFS write errors
+ to: sysadmin
+
+ template: btrfs_device_flush_errors
+ on: btrfs.device_errors
+ class: Errors
+ type: System
+component: File system
+ os: *
+ hosts: *
+ families: *
+ units: errors
+ lookup: max -10m every 1m of flush_errs
+ warn: $this > 0
+ delay: up 1m down 15m multiplier 1.5 max 1h
+ info: number of encountered BTRFS flush errors
+ to: sysadmin
+
+ template: btrfs_device_corruption_errors
+ on: btrfs.device_errors
+ class: Errors
+ type: System
+component: File system
+ os: *
+ hosts: *
+ families: *
+ units: errors
+ lookup: max -10m every 1m of corruption_errs
+ warn: $this > 0
+ delay: up 1m down 15m multiplier 1.5 max 1h
+ info: number of encountered BTRFS corruption errors
+ to: sysadmin
+
+ template: btrfs_device_generation_errors
+ on: btrfs.device_errors
+ class: Errors
+ type: System
+component: File system
+ os: *
+ hosts: *
+ families: *
+ units: errors
+ lookup: max -10m every 1m of generation_errs
+ warn: $this > 0
+ delay: up 1m down 15m multiplier 1.5 max 1h
+ info: number of encountered BTRFS generation errors
+ to: sysadmin