system_cpu.conf.unique_alarm 510 B

1234567891011121314151617181920212223242526
  1. alarm: dev_dim_template_system
  2. on: system.cpu
  3. os: linux
  4. lookup: sum -3s at 0 every 3 percentage of system
  5. units: %
  6. every: 1s
  7. warn: $this > 1
  8. crit: $this > 4
  9. alarm: dev_dim_template_user
  10. on: system.cpu
  11. os: linux
  12. lookup: sum -3s at 0 every 3 percentage of user
  13. units: %
  14. every: 1s
  15. warn: $this > 1
  16. crit: $this > 4
  17. alarm: dev_dim_template_nice
  18. on: system.cpu
  19. os: linux
  20. lookup: sum -3s at 0 every 3 percentage of nice
  21. units: %
  22. every: 1s
  23. warn: $this > 1
  24. crit: $this > 4