redis.conf 698 B

12345678910111213141516171819202122232425262728
  1. template: redis_bgsave_broken
  2. families: *
  3. on: redis.bgsave_health
  4. class: Errors
  5. type: KV Storage
  6. component: Redis
  7. every: 10s
  8. crit: $last_bgsave != nan AND $last_bgsave != 0
  9. units: ok/failed
  10. info: status of the last RDB save operation (0: ok, 1: error)
  11. delay: down 5m multiplier 1.5 max 1h
  12. to: dba
  13. template: redis_bgsave_slow
  14. families: *
  15. on: redis.bgsave_now
  16. class: Latency
  17. type: KV Storage
  18. component: Redis
  19. every: 10s
  20. calc: $current_bgsave_time
  21. warn: $this > 600
  22. crit: $this > 1200
  23. units: seconds
  24. info: duration of the on-going RDB save operation
  25. delay: down 5m multiplier 1.5 max 1h
  26. to: dba