summaryrefslogtreecommitdiffstats
path: root/health/health.d/bcache.conf
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2021-05-19 12:33:27 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2021-05-19 12:33:27 +0000
commit841395dd16f470e3c051a0a4fff5b91efc983c30 (patch)
tree4115f6eedcddda75067130b80acaff9e51612f49 /health/health.d/bcache.conf
parentAdding upstream version 1.30.1. (diff)
downloadnetdata-upstream/1.31.0.tar.xz
netdata-upstream/1.31.0.zip
Adding upstream version 1.31.0.upstream/1.31.0
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'health/health.d/bcache.conf')
-rw-r--r--health/health.d/bcache.conf50
1 files changed, 28 insertions, 22 deletions
diff --git a/health/health.d/bcache.conf b/health/health.d/bcache.conf
index d5fccf4f7..d75d8e19b 100644
--- a/health/health.d/bcache.conf
+++ b/health/health.d/bcache.conf
@@ -1,24 +1,30 @@
-template: bcache_cache_errors
- on: disk.bcache_cache_read_races
- lookup: sum -1m unaligned absolute
- units: errors
- every: 1m
- warn: $this > 0
- delay: up 2m down 1h multiplier 1.5 max 2h
- info: number of times data was read from the cache, \
- the bucket was reused and invalidated in the last 10 minutes \
- (when this occurs the data is reread from the backing device)
- to: sysadmin
+ template: bcache_cache_errors
+ on: disk.bcache_cache_read_races
+ class: System
+component: Disk
+ type: Errors
+ lookup: sum -1m unaligned absolute
+ units: errors
+ every: 1m
+ warn: $this > 0
+ delay: up 2m down 1h multiplier 1.5 max 2h
+ info: number of times data was read from the cache, \
+ the bucket was reused and invalidated in the last 10 minutes \
+ (when this occurs the data is reread from the backing device)
+ to: sysadmin
-template: bcache_cache_dirty
- on: disk.bcache_cache_alloc
- calc: $dirty + $metadata + $undefined
- units: %
- every: 1m
- warn: $this > ( ($status >= $WARNING ) ? ( 70 ) : ( 90 ) )
- crit: $this > ( ($status == $CRITICAL) ? ( 90 ) : ( 95 ) )
- delay: up 1m down 1h multiplier 1.5 max 2h
- info: percentage of cache space used for dirty data and metadata \
- (this usually means your SSD cache is too small)
- to: sysadmin
+ template: bcache_cache_dirty
+ on: disk.bcache_cache_alloc
+ class: System
+component: Disk
+ type: Utilization
+ calc: $dirty + $metadata + $undefined
+ units: %
+ every: 1m
+ warn: $this > ( ($status >= $WARNING ) ? ( 70 ) : ( 90 ) )
+ crit: $this > ( ($status == $CRITICAL) ? ( 90 ) : ( 95 ) )
+ delay: up 1m down 1h multiplier 1.5 max 2h
+ info: percentage of cache space used for dirty data and metadata \
+ (this usually means your SSD cache is too small)
+ to: sysadmin