-
Notifications
You must be signed in to change notification settings - Fork 128
/
Template Net Ubiquiti AirOS SNMP.xml
296 lines (296 loc) · 12.5 KB
/
Template Net Ubiquiti AirOS SNMP.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
<?xml version="1.0" encoding="UTF-8"?>
<zabbix_export>
<version>5.0</version>
<groups>
<group>
<name>Templates/Network devices</name>
</group>
</groups>
<templates>
<template>
<template>Template Net Ubiquiti AirOS SNMP</template>
<name>Template Net Ubiquiti AirOS SNMP</name>
<description>Template Net Ubiquiti AirOS
MIBs used:
IEEE802dot11-MIB
FROGFOOT-RESOURCES-MIB
Known Issues:
Description: UBNT unifi reports speed: like IF-MIB::ifSpeed.1 = Gauge32: 4294967295 for all interfaces
Version: Firmware: BZ.ar7240.v3.7.51.6230.170322.1513
Device: UBNT UAP-LR
Description: UBNT AirMax(NanoStation, NanoBridge etc) reports ifSpeed: as 0 for VLAN and wireless(ath0) interfaces
Version: Firmware: XW.ar934x.v5.6-beta4.22359.140521.1836
Device: NanoStation M5
Description: UBNT AirMax(NanoStation, NanoBridge etc) reports always return ifType: as ethernet(6) even for wifi,vlans and other types
Version: Firmware: XW.ar934x.v5.6-beta4.22359.140521.1836
Device: NanoStation M5
Description: ifXTable is not provided in IF-MIB. So Interfaces Simple Template is used instead
Version: all above
Device: NanoStation, UAP-LR
Template tooling version used: 0.36</description>
<templates>
<template>
<name>Template Module Generic SNMP</name>
</template>
<template>
<name>Template Module Interfaces Simple SNMP</name>
</template>
</templates>
<groups>
<group>
<name>Templates/Network devices</name>
</group>
</groups>
<applications>
<application>
<name>CPU</name>
</application>
<application>
<name>Inventory</name>
</application>
<application>
<name>Memory</name>
</application>
</applications>
<items>
<item>
<name>CPU utilization</name>
<type>SNMP_AGENT</type>
<snmp_oid>1.3.6.1.4.1.10002.1.1.1.4.2.1.3.2</snmp_oid>
<key>system.cpu.util[loadValue.2]</key>
<history>7d</history>
<value_type>FLOAT</value_type>
<units>%</units>
<description>MIB: FROGFOOT-RESOURCES-MIB
5 minute load average of processor load.</description>
<applications>
<application>
<name>CPU</name>
</application>
</applications>
<triggers>
<trigger>
<expression>{min(5m)}>{$CPU.UTIL.CRIT}</expression>
<name>High CPU utilization (over {$CPU.UTIL.CRIT}% for 5m)</name>
<opdata>Current utilization: {ITEM.LASTVALUE1}</opdata>
<priority>WARNING</priority>
<description>CPU utilization is too high. The system might be slow to respond.</description>
</trigger>
</triggers>
</item>
<item>
<name>Firmware version</name>
<type>SNMP_AGENT</type>
<snmp_oid>1.2.840.10036.3.1.2.1.4.5</snmp_oid>
<key>system.hw.firmware</key>
<delay>1h</delay>
<history>2w</history>
<trends>0</trends>
<value_type>CHAR</value_type>
<description>MIB: IEEE802dot11-MIB
Printable string used to identify the manufacturer's product version of the resource. Maximum string length is 128 octets.</description>
<applications>
<application>
<name>Inventory</name>
</application>
</applications>
<preprocessing>
<step>
<type>DISCARD_UNCHANGED_HEARTBEAT</type>
<params>1d</params>
</step>
</preprocessing>
<triggers>
<trigger>
<expression>{diff()}=1 and {strlen()}>0</expression>
<name>Firmware has changed</name>
<opdata>Current value: {ITEM.LASTVALUE1}</opdata>
<priority>INFO</priority>
<description>Firmware version has changed. Ack to close</description>
<manual_close>YES</manual_close>
</trigger>
</triggers>
</item>
<item>
<name>Hardware model name</name>
<type>SNMP_AGENT</type>
<snmp_oid>1.2.840.10036.3.1.2.1.3.5</snmp_oid>
<key>system.hw.model</key>
<delay>1h</delay>
<history>2w</history>
<trends>0</trends>
<value_type>CHAR</value_type>
<description>MIB: IEEE802dot11-MIB
A printable string used to identify the manufacturer's product name of the resource. Maximum string length is 128 octets.</description>
<inventory_link>MODEL</inventory_link>
<applications>
<application>
<name>Inventory</name>
</application>
</applications>
<preprocessing>
<step>
<type>DISCARD_UNCHANGED_HEARTBEAT</type>
<params>1d</params>
</step>
</preprocessing>
</item>
<item>
<name>Memory (buffers)</name>
<type>SNMP_AGENT</type>
<snmp_oid>1.3.6.1.4.1.10002.1.1.1.1.3.0</snmp_oid>
<key>vm.memory.buffers[memBuffer.0]</key>
<history>7d</history>
<units>B</units>
<description>MIB: FROGFOOT-RESOURCES-MIB
Memory used by kernel buffers (Buffers in /proc/meminfo)</description>
<applications>
<application>
<name>Memory</name>
</application>
</applications>
<preprocessing>
<step>
<type>MULTIPLIER</type>
<params>1024</params>
</step>
</preprocessing>
</item>
<item>
<name>Memory (cached)</name>
<type>SNMP_AGENT</type>
<snmp_oid>1.3.6.1.4.1.10002.1.1.1.1.4.0</snmp_oid>
<key>vm.memory.cached[memCache.0]</key>
<history>7d</history>
<units>B</units>
<description>MIB: FROGFOOT-RESOURCES-MIB
Memory used by the page cache and slabs (Cached and Slab in /proc/meminfo)</description>
<applications>
<application>
<name>Memory</name>
</application>
</applications>
<preprocessing>
<step>
<type>MULTIPLIER</type>
<params>1024</params>
</step>
</preprocessing>
</item>
<item>
<name>Free memory</name>
<type>SNMP_AGENT</type>
<snmp_oid>1.3.6.1.4.1.10002.1.1.1.1.2.0</snmp_oid>
<key>vm.memory.free[memFree.0]</key>
<history>7d</history>
<units>B</units>
<description>MIB: FROGFOOT-RESOURCES-MIB</description>
<applications>
<application>
<name>Memory</name>
</application>
</applications>
<preprocessing>
<step>
<type>MULTIPLIER</type>
<params>1024</params>
</step>
</preprocessing>
</item>
<item>
<name>Total memory</name>
<type>SNMP_AGENT</type>
<snmp_oid>1.3.6.1.4.1.10002.1.1.1.1.1.0</snmp_oid>
<key>vm.memory.total[memTotal.0]</key>
<history>7d</history>
<units>B</units>
<description>MIB: FROGFOOT-RESOURCES-MIB
Total memory in Bytes</description>
<applications>
<application>
<name>Memory</name>
</application>
</applications>
<preprocessing>
<step>
<type>MULTIPLIER</type>
<params>1024</params>
</step>
</preprocessing>
</item>
<item>
<name>Memory utilization</name>
<type>CALCULATED</type>
<key>vm.memory.util[memoryUsedPercentage]</key>
<history>7d</history>
<value_type>FLOAT</value_type>
<units>%</units>
<params>(last("vm.memory.total[memTotal.0]")-(last("vm.memory.free[memFree.0]")+last("vm.memory.buffers[memBuffer.0]")+last("vm.memory.cached[memCache.0]")))/last("vm.memory.total[memTotal.0]")*100</params>
<description>Memory utilization in %</description>
<applications>
<application>
<name>Memory</name>
</application>
</applications>
<triggers>
<trigger>
<expression>{min(5m)}>{$MEMORY.UTIL.MAX}</expression>
<name>High memory utilization ( >{$MEMORY.UTIL.MAX}% for 5m)</name>
<priority>AVERAGE</priority>
<description>The system is running out of free memory.</description>
</trigger>
</triggers>
</item>
</items>
<macros>
<macro>
<macro>{$CPU.UTIL.CRIT}</macro>
<value>90</value>
</macro>
<macro>
<macro>{$MEMORY.UTIL.MAX}</macro>
<value>90</value>
</macro>
</macros>
</template>
</templates>
<graphs>
<graph>
<name>CPU utilization</name>
<ymin_type_1>FIXED</ymin_type_1>
<ymax_type_1>FIXED</ymax_type_1>
<graph_items>
<graph_item>
<drawtype>GRADIENT_LINE</drawtype>
<color>1A7C11</color>
<item>
<host>Template Net Ubiquiti AirOS SNMP</host>
<key>system.cpu.util[loadValue.2]</key>
</item>
</graph_item>
</graph_items>
</graph>
<graph>
<name>Memory utilization</name>
<ymin_type_1>FIXED</ymin_type_1>
<ymax_type_1>FIXED</ymax_type_1>
<graph_items>
<graph_item>
<drawtype>GRADIENT_LINE</drawtype>
<color>1A7C11</color>
<item>
<host>Template Net Ubiquiti AirOS SNMP</host>
<key>vm.memory.util[memoryUsedPercentage]</key>
</item>
</graph_item>
</graph_items>
</graph>
</graphs>
</zabbix_export>