| 1 | # dhcp-range utilization |
| 2 | |
| 3 | template: dnsmasq_dhcp_dhcp_range_utilization |
| 4 | on: dnsmasq_dhcp.dhcp_range_utilization |
| 5 | class: Utilization |
| 6 | type: DHCP |
| 7 | component: Dnsmasq |
| 8 | every: 10s |
| 9 | units: % |
| 10 | calc: $used |
| 11 | warn: $this > ( ($status >= $WARNING ) ? ( 80 ) : ( 90 ) ) |
| 12 | delay: down 5m |
| 13 | summary: Dnsmasq DHCP range ${label:dhcp_range} utilization |
| 14 | info: DHCP range ${label:dhcp_range} utilization |
| 15 | to: sysadmin |