summaryrefslogtreecommitdiffstats
path: root/health/health.d/btrfs.conf
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2023-08-10 09:18:49 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2023-08-10 09:18:49 +0000
commitdd814a7c1a8de056a79f7238578b09236edd5506 (patch)
tree429e7eed5a634a4efe9a6877ce66da8e64aa1782 /health/health.d/btrfs.conf
parentAdding upstream version 1.41.0. (diff)
downloadnetdata-upstream/1.42.0.tar.xz
netdata-upstream/1.42.0.zip
Adding upstream version 1.42.0.upstream/1.42.0
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'health/health.d/btrfs.conf')
-rw-r--r--health/health.d/btrfs.conf9
1 files changed, 4 insertions, 5 deletions
diff --git a/health/health.d/btrfs.conf b/health/health.d/btrfs.conf
index 97b7a3a9..b2a50682 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