From a2d7dede737947d7c6afa20a88e1f0c64e0eb96c Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Thu, 10 Aug 2023 11:18:52 +0200 Subject: Merging upstream version 1.42.0. Signed-off-by: Daniel Baumann --- health/health.d/btrfs.conf | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'health/health.d/btrfs.conf') diff --git a/health/health.d/btrfs.conf b/health/health.d/btrfs.conf index 97b7a3a94..b2a50682b 100644 --- a/health/health.d/btrfs.conf +++ b/health/health.d/btrfs.conf @@ -9,11 +9,10 @@ component: File system calc: 100 - ($unallocated * 100 / ($unallocated + $data_used + $data_free + $meta_used + $meta_free + $sys_used + $sys_free)) units: % every: 10s - warn: $this > (($status >= $WARNING) ? (90) : (95)) - crit: $this > (($status == $CRITICAL) ? (95) : (98)) + warn: $this > (($status == $CRITICAL) ? (95) : (98)) delay: up 1m down 15m multiplier 1.5 max 1h info: percentage of allocated BTRFS physical disk space - to: sysadmin + to: silent template: btrfs_data on: btrfs.data @@ -86,7 +85,7 @@ component: File system hosts: * units: errors lookup: max -10m every 1m of write_errs - warn: $this > 0 + crit: $this > 0 delay: up 1m down 15m multiplier 1.5 max 1h info: number of encountered BTRFS write errors to: sysadmin @@ -100,7 +99,7 @@ component: File system hosts: * units: errors lookup: max -10m every 1m of flush_errs - warn: $this > 0 + crit: $this > 0 delay: up 1m down 15m multiplier 1.5 max 1h info: number of encountered BTRFS flush errors to: sysadmin -- cgit v1.2.3