master
conf 174 lines 6.07 KB
Raw
1 # you can disable an alarm notification by setting the 'to' line to: silent
2
3 # --- CPU Utilization ---
4
5 template: am_express_route_gateway_cpu
6 on: azure_monitor.express_route_gateway.cpu_utilization
7 class: Utilization
8 type: Other
9 component: ExpressRoute Gateway
10 lookup: average -5m unaligned of average
11 units: percentage
12 every: 1m
13 warn: $this > (($status >= $WARNING) ? (70) : (80))
14 crit: $this > (($status == $CRITICAL) ? (80) : (90))
15 delay: down 5m multiplier 1.5 max 1h
16 summary: ExpressRoute GW CPU on ${label:resource_name}
17 info: Average CPU utilization of ExpressRoute Gateway ${label:resource_name} \
18 in ${label:resource_group} (${label:region}). \
19 High CPU may cause degraded forwarding performance
20 to: sysadmin
21
22 # --- Gateway Throughput ---
23
24 template: am_express_route_gateway_throughput
25 on: azure_monitor.express_route_gateway.gateway_throughput
26 class: Workload
27 type: Other
28 component: ExpressRoute Gateway
29 lookup: average -5m unaligned of average
30 units: bits/s
31 every: 1m
32 info: Average throughput of ExpressRoute Gateway ${label:resource_name} \
33 in ${label:resource_group} (${label:region})
34 to: silent
35
36 # --- Connection Throughput ---
37
38 template: am_express_route_gateway_connection_in
39 on: azure_monitor.express_route_gateway.connection_throughput
40 class: Workload
41 type: Other
42 component: ExpressRoute Gateway
43 lookup: average -5m unaligned of in
44 units: bits/s
45 every: 1m
46 info: Average inbound connection throughput of ExpressRoute Gateway ${label:resource_name} \
47 in ${label:resource_group} (${label:region})
48 to: silent
49
50 template: am_express_route_gateway_connection_out
51 on: azure_monitor.express_route_gateway.connection_throughput
52 class: Workload
53 type: Other
54 component: ExpressRoute Gateway
55 lookup: average -5m unaligned of out
56 units: bits/s
57 every: 1m
58 info: Average outbound connection throughput of ExpressRoute Gateway ${label:resource_name} \
59 in ${label:resource_group} (${label:region})
60 to: silent
61
62 # --- Packets ---
63
64 template: am_express_route_gateway_packets
65 on: azure_monitor.express_route_gateway.packets
66 class: Workload
67 type: Other
68 component: ExpressRoute Gateway
69 lookup: average -5m unaligned of average
70 units: packets/s
71 every: 1m
72 info: Average packet rate through ExpressRoute Gateway ${label:resource_name} \
73 in ${label:resource_group} (${label:region})
74 to: silent
75
76 # --- Active Flows ---
77
78 template: am_express_route_gateway_active_flows
79 on: azure_monitor.express_route_gateway.active_flows
80 class: Workload
81 type: Other
82 component: ExpressRoute Gateway
83 lookup: average -5m unaligned of average
84 units: flows
85 every: 1m
86 warn: $this > (($status >= $WARNING) ? (200000) : (250000))
87 delay: down 5m multiplier 1.5 max 1h
88 summary: ExpressRoute GW active flows on ${label:resource_name}
89 info: Average number of active flows on ExpressRoute Gateway ${label:resource_name} \
90 in ${label:resource_group} (${label:region}). \
91 High flow counts may indicate approaching scalability limits
92 to: sysadmin
93
94 # --- Route Changes ---
95
96 template: am_express_route_gateway_route_changes
97 on: azure_monitor.express_route_gateway.route_changes
98 class: Errors
99 type: Other
100 component: ExpressRoute Gateway
101 lookup: average -5m unaligned of total
102 units: changes/s
103 every: 1m
104 warn: $this > (($status >= $WARNING) ? (5) : (10))
105 delay: down 5m multiplier 1.5 max 1h
106 summary: ExpressRoute GW route churn on ${label:resource_name}
107 info: Rate of BGP route changes on ExpressRoute Gateway ${label:resource_name} \
108 in ${label:resource_group} (${label:region}). \
109 Frequent route changes may indicate BGP instability
110 to: sysadmin
111
112 # --- Routes Advertised ---
113
114 template: am_express_route_gateway_routes_advertised
115 on: azure_monitor.express_route_gateway.routes_advertised
116 class: Workload
117 type: Other
118 component: ExpressRoute Gateway
119 lookup: average -5m unaligned of maximum
120 units: routes
121 every: 1m
122 warn: $this > (($status >= $WARNING) ? (900) : (950))
123 delay: down 5m multiplier 1.5 max 1h
124 summary: ExpressRoute GW routes advertised on ${label:resource_name}
125 info: Number of routes advertised to peer by ExpressRoute Gateway ${label:resource_name} \
126 in ${label:resource_group} (${label:region}). \
127 Azure limits advertised routes to 1000 per peering
128 to: sysadmin
129
130 # --- Routes Learned ---
131
132 template: am_express_route_gateway_routes_learned
133 on: azure_monitor.express_route_gateway.routes_learned
134 class: Workload
135 type: Other
136 component: ExpressRoute Gateway
137 lookup: average -5m unaligned of maximum
138 units: routes
139 every: 1m
140 warn: $this > (($status >= $WARNING) ? (3800) : (3900))
141 delay: down 5m multiplier 1.5 max 1h
142 summary: ExpressRoute GW routes learned on ${label:resource_name}
143 info: Number of routes learned from peer by ExpressRoute Gateway ${label:resource_name} \
144 in ${label:resource_group} (${label:region}). \
145 Azure limits learned routes to 4000 per peering
146 to: sysadmin
147
148 # --- Max Flow Creation Rate ---
149
150 template: am_express_route_gateway_flow_creation_rate
151 on: azure_monitor.express_route_gateway.max_flows_creation_rate
152 class: Workload
153 type: Other
154 component: ExpressRoute Gateway
155 lookup: average -5m unaligned of maximum
156 units: flows/s
157 every: 1m
158 info: Maximum flow creation rate on ExpressRoute Gateway ${label:resource_name} \
159 in ${label:resource_group} (${label:region})
160 to: silent
161
162 # --- VMs in VNet ---
163
164 template: am_express_route_gateway_vm_count
165 on: azure_monitor.express_route_gateway.vm_count
166 class: Workload
167 type: Other
168 component: ExpressRoute Gateway
169 lookup: average -5m unaligned of maximum
170 units: VMs
171 every: 1m
172 info: Number of VMs in the VNet behind ExpressRoute Gateway ${label:resource_name} \
173 in ${label:resource_group} (${label:region})
174 to: silent