file_descriptors.conf 1.0 KB

123456789101112131415161718192021222324252627282930313233
  1. # you can disable an alarm notification by setting the 'to' line to: silent
  2. template: system_file_descriptors_utilization
  3. on: system.file_nr_utilization
  4. class: Utilization
  5. type: System
  6. component: Processes
  7. hosts: *
  8. lookup: max -1m unaligned
  9. units: %
  10. every: 1m
  11. crit: $this > 90
  12. delay: down 15m multiplier 1.5 max 1h
  13. summary: System open file descriptors utilization
  14. info: System-wide utilization of open files
  15. to: sysadmin
  16. template: apps_group_file_descriptors_utilization
  17. on: app.fds_open_limit
  18. class: Utilization
  19. type: System
  20. component: Process
  21. os: linux
  22. module: *
  23. hosts: *
  24. lookup: max -10s unaligned foreach *
  25. units: %
  26. every: 10s
  27. warn: $this > (($status >= $WARNING) ? (85) : (95))
  28. delay: down 15m multiplier 1.5 max 1h
  29. summary: App group ${label:app_group} file descriptors utilization
  30. info: Open files percentage against the processes limits, among all PIDs in application group
  31. to: sysadmin