| 1 | # you can disable an alarm notification by setting the 'to' line to: silent |
| 2 | |
| 3 | alarm: netfilter_conntrack_full |
| 4 | on: netfilter.conntrack_sockets |
| 5 | class: Workload |
| 6 | type: System |
| 7 | component: Network |
| 8 | host labels: _os=linux |
| 9 | lookup: max -10s unaligned of connections |
| 10 | calc: $this * 100 / $netfilter_conntrack_max |
| 11 | units: % |
| 12 | every: 10s |
| 13 | warn: $this > (($status >= $WARNING) ? (85) : (90)) |
| 14 | crit: $this > (($status == $CRITICAL) ? (90) : (95)) |
| 15 | delay: down 5m multiplier 1.5 max 1h |
| 16 | summary: System Netfilter connection tracker utilization |
| 17 | info: Netfilter connection tracker table size utilization |
| 18 | to: sysadmin |