summaryrefslogtreecommitdiffstats
path: root/src/health/health.d/btrfs.conf
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-05 11:19:16 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-05 12:07:37 +0000
commitb485aab7e71c1625cfc27e0f92c9509f42378458 (patch)
treeae9abe108601079d1679194de237c9a435ae5b55 /src/health/health.d/btrfs.conf
parentAdding upstream version 1.44.3. (diff)
downloadnetdata-b485aab7e71c1625cfc27e0f92c9509f42378458.tar.xz
netdata-b485aab7e71c1625cfc27e0f92c9509f42378458.zip
Adding upstream version 1.45.3+dfsg.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
-rw-r--r--src/health/health.d/btrfs.conf (renamed from health/health.d/btrfs.conf)19
1 files changed, 1 insertions, 18 deletions
diff --git a/health/health.d/btrfs.conf b/src/health/health.d/btrfs.conf
index 1557a5941..f43f600c0 100644
--- a/health/health.d/btrfs.conf
+++ b/src/health/health.d/btrfs.conf
@@ -1,11 +1,10 @@
+# you can disable an alarm notification by setting the 'to' line to: silent
template: btrfs_allocated
on: btrfs.disk
class: Utilization
type: System
component: File system
- os: *
- hosts: *
calc: 100 - ($unallocated * 100 / ($unallocated + $data_used + $data_free + $meta_used + $meta_free + $sys_used + $sys_free))
units: %
every: 10s
@@ -20,8 +19,6 @@ component: File system
class: Utilization
type: System
component: File system
- os: *
- hosts: *
calc: $used * 100 / ($used + $free)
units: %
every: 10s
@@ -37,8 +34,6 @@ component: File system
class: Utilization
type: System
component: File system
- os: *
- hosts: *
calc: ($used + $reserved) * 100 / ($used + $free + $reserved)
units: %
every: 10s
@@ -54,8 +49,6 @@ component: File system
class: Utilization
type: System
component: File system
- os: *
- hosts: *
calc: $used * 100 / ($used + $free)
units: %
every: 10s
@@ -71,8 +64,6 @@ component: File system
class: Errors
type: System
component: File system
- os: *
- hosts: *
units: errors
lookup: max -10m every 1m of read_errs
warn: $this > 0
@@ -86,8 +77,6 @@ component: File system
class: Errors
type: System
component: File system
- os: *
- hosts: *
units: errors
lookup: max -10m every 1m of write_errs
crit: $this > 0
@@ -101,8 +90,6 @@ component: File system
class: Errors
type: System
component: File system
- os: *
- hosts: *
units: errors
lookup: max -10m every 1m of flush_errs
crit: $this > 0
@@ -116,8 +103,6 @@ component: File system
class: Errors
type: System
component: File system
- os: *
- hosts: *
units: errors
lookup: max -10m every 1m of corruption_errs
warn: $this > 0
@@ -131,8 +116,6 @@ component: File system
class: Errors
type: System
component: File system
- os: *
- hosts: *
units: errors
lookup: max -10m every 1m of generation_errs
warn: $this > 0