| 1 | # you can disable an alarm notification by setting the 'to' line to: silent |
| 2 | |
| 3 | # --- Health --- |
| 4 | |
| 5 | template: am_firewall_health |
| 6 | on: azure_monitor.firewall.health |
| 7 | class: Availability |
| 8 | type: Other |
| 9 | component: Azure Firewall |
| 10 | lookup: average -5m unaligned of average |
| 11 | units: percentage |
| 12 | every: 1m |
| 13 | warn: $this < (($status >= $WARNING) ? (99) : (90)) |
| 14 | crit: $this < (($status == $CRITICAL) ? (90) : (80)) |
| 15 | delay: down 5m multiplier 1.5 max 1h |
| 16 | summary: Firewall health on ${label:resource_name} |
| 17 | info: Health state of Azure Firewall ${label:resource_name} \ |
| 18 | in ${label:resource_group} (${label:region}). \ |
| 19 | AMBA threshold is 90%. Values below 100% indicate partial degradation |
| 20 | to: sysadmin |
| 21 | |
| 22 | # --- Latency --- |
| 23 | |
| 24 | template: am_firewall_latency |
| 25 | on: azure_monitor.firewall.latency |
| 26 | class: Latency |
| 27 | type: Other |
| 28 | component: Azure Firewall |
| 29 | lookup: average -5m unaligned of average |
| 30 | units: milliseconds |
| 31 | every: 1m |
| 32 | warn: $this > (($status >= $WARNING) ? (10) : (20)) |
| 33 | crit: $this > (($status == $CRITICAL) ? (20) : (50)) |
| 34 | delay: down 5m multiplier 1.5 max 1h |
| 35 | summary: Firewall latency on ${label:resource_name} |
| 36 | info: Average latency probe of Azure Firewall ${label:resource_name} \ |
| 37 | in ${label:resource_group} (${label:region}). \ |
| 38 | High latency indicates firewall processing delays |
| 39 | to: sysadmin |
| 40 | |
| 41 | # --- SNAT Port Utilization --- |
| 42 | |
| 43 | template: am_firewall_snat_port_utilization |
| 44 | on: azure_monitor.firewall.snat_port_utilization |
| 45 | class: Utilization |
| 46 | type: Other |
| 47 | component: Azure Firewall |
| 48 | lookup: average -5m unaligned of average |
| 49 | units: percentage |
| 50 | every: 1m |
| 51 | warn: $this > (($status >= $WARNING) ? (60) : (80)) |
| 52 | crit: $this > (($status == $CRITICAL) ? (80) : (95)) |
| 53 | delay: down 5m multiplier 1.5 max 1h |
| 54 | summary: Firewall SNAT port utilization on ${label:resource_name} |
| 55 | info: SNAT port utilization of Azure Firewall ${label:resource_name} \ |
| 56 | in ${label:resource_group} (${label:region}). \ |
| 57 | AMBA threshold is 80%. Exhaustion causes outbound connection failures |
| 58 | to: sysadmin |