| 1 | template: 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 | |
| 10 | template: dev_dim_template_user |
| 11 | on: system.cpu |
| 12 | os: linux |
| 13 | lookup: sum -3s at 0 every 3 percentage of user |
| 14 | units: % |
| 15 | every: 1s |
| 16 | warn: $this > 1 |
| 17 | crit: $this > 4 |
| 18 | |
| 19 | template: dev_dim_template_nice |
| 20 | on: system.cpu |
| 21 | os: linux |
| 22 | lookup: sum -3s at 0 every 3 percentage of nice |
| 23 | units: % |
| 24 | every: 1s |
| 25 | warn: $this > 1 |
| 26 | crit: $this > 4 |