| 1 | # you can disable an alarm notification by setting the 'to' line to: silent |
| 2 | |
| 3 | template: system_file_descriptors_utilization |
| 4 | on: system.file_nr_utilization |
| 5 | class: Utilization |
| 6 | type: System |
| 7 | component: Processes |
| 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 | |
| 17 | template: apps_group_file_descriptors_utilization |
| 18 | on: app.fds_open_limit |
| 19 | class: Utilization |
| 20 | type: System |
| 21 | component: Process |
| 22 | host labels: _os=linux |
| 23 | lookup: max -10s unaligned |
| 24 | units: % |
| 25 | every: 10s |
| 26 | warn: $this > (($status >= $WARNING) ? (85) : (95)) |
| 27 | delay: down 15m multiplier 1.5 max 1h |
| 28 | summary: App group ${label:app_group} file descriptors utilization |
| 29 | info: Open files percentage against the processes limits, among all PIDs in application group |
| 30 | to: sysadmin |