bcache.conf 974 B

12345678910111213141516171819202122232425262728293031
  1. template: bcache_cache_errors
  2. on: disk.bcache_cache_read_races
  3. class: Errors
  4. type: System
  5. component: Disk
  6. lookup: sum -1m unaligned absolute
  7. units: errors
  8. every: 1m
  9. warn: $this > 0
  10. delay: up 2m down 1h multiplier 1.5 max 2h
  11. summary: Bcache cache read race errors
  12. info: Number of times data was read from the cache, \
  13. the bucket was reused and invalidated in the last 10 minutes \
  14. (when this occurs the data is reread from the backing device)
  15. to: silent
  16. template: bcache_cache_dirty
  17. on: disk.bcache_cache_alloc
  18. class: Utilization
  19. type: System
  20. component: Disk
  21. calc: $dirty + $metadata + $undefined
  22. units: %
  23. every: 1m
  24. warn: $this > 75
  25. delay: up 1m down 1h multiplier 1.5 max 2h
  26. summary: Bcache cache used space
  27. info: Percentage of cache space used for dirty data and metadata \
  28. (this usually means your SSD cache is too small)
  29. to: silent