blob: 03e05afbbebd4e23c5ac25c24da4ab8c8042a365 (
plain)
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
|
zabbix_export:
version: '5.2'
date: '2020-10-16T09:33:36Z'
groups:
-
name: 'Templates/Network devices'
templates:
-
template: 'Ubiquiti AirOS SNMP'
name: 'Ubiquiti AirOS SNMP'
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.38
templates:
-
name: 'Generic SNMP'
-
name: 'Interfaces Simple SNMP'
groups:
-
name: 'Templates/Network devices'
applications:
-
name: CPU
-
name: Inventory
-
name: Memory
items:
-
name: 'CPU utilization'
type: SNMP_AGENT
snmp_oid: 1.3.6.1.4.1.10002.1.1.1.4.2.1.3.2
key: 'system.cpu.util[loadValue.2]'
history: 7d
value_type: FLOAT
units: '%'
description: |
MIB: FROGFOOT-RESOURCES-MIB
5 minute load average of processor load.
applications:
-
name: CPU
triggers:
-
expression: '{min(5m)}>{$CPU.UTIL.CRIT}'
name: 'High CPU utilization (over {$CPU.UTIL.CRIT}% for 5m)'
opdata: 'Current utilization: {ITEM.LASTVALUE1}'
priority: WARNING
description: 'CPU utilization is too high. The system might be slow to respond.'
-
name: 'Firmware version'
type: SNMP_AGENT
snmp_oid: 1.2.840.10036.3.1.2.1.4.5
key: system.hw.firmware
delay: 1h
history: 2w
trends: '0'
value_type: CHAR
description: |
MIB: IEEE802dot11-MIB
Printable string used to identify the manufacturer's product version of the resource. Maximum string length is 128 octets.
applications:
-
name: Inventory
preprocessing:
-
type: DISCARD_UNCHANGED_HEARTBEAT
parameters:
- 1d
triggers:
-
expression: '{diff()}=1 and {strlen()}>0'
name: 'Firmware has changed'
opdata: 'Current value: {ITEM.LASTVALUE1}'
priority: INFO
description: 'Firmware version has changed. Ack to close'
manual_close: 'YES'
-
name: 'Hardware model name'
type: SNMP_AGENT
snmp_oid: 1.2.840.10036.3.1.2.1.3.5
key: system.hw.model
delay: 1h
history: 2w
trends: '0'
value_type: CHAR
description: |
MIB: IEEE802dot11-MIB
A printable string used to identify the manufacturer's product name of the resource. Maximum string length is 128 octets.
inventory_link: MODEL
applications:
-
name: Inventory
preprocessing:
-
type: DISCARD_UNCHANGED_HEARTBEAT
parameters:
- 1d
-
name: 'Memory (buffers)'
type: SNMP_AGENT
snmp_oid: 1.3.6.1.4.1.10002.1.1.1.1.3.0
key: 'vm.memory.buffers[memBuffer.0]'
history: 7d
units: B
description: |
MIB: FROGFOOT-RESOURCES-MIB
Memory used by kernel buffers (Buffers in /proc/meminfo)
applications:
-
name: Memory
preprocessing:
-
type: MULTIPLIER
parameters:
- '1024'
-
name: 'Memory (cached)'
type: SNMP_AGENT
snmp_oid: 1.3.6.1.4.1.10002.1.1.1.1.4.0
key: 'vm.memory.cached[memCache.0]'
history: 7d
units: B
description: |
MIB: FROGFOOT-RESOURCES-MIB
Memory used by the page cache and slabs (Cached and Slab in /proc/meminfo)
applications:
-
name: Memory
preprocessing:
-
type: MULTIPLIER
parameters:
- '1024'
-
name: 'Free memory'
type: SNMP_AGENT
snmp_oid: 1.3.6.1.4.1.10002.1.1.1.1.2.0
key: 'vm.memory.free[memFree.0]'
history: 7d
units: B
description: 'MIB: FROGFOOT-RESOURCES-MIB'
applications:
-
name: Memory
preprocessing:
-
type: MULTIPLIER
parameters:
- '1024'
-
name: 'Total memory'
type: SNMP_AGENT
snmp_oid: 1.3.6.1.4.1.10002.1.1.1.1.1.0
key: 'vm.memory.total[memTotal.0]'
history: 7d
units: B
description: |
MIB: FROGFOOT-RESOURCES-MIB
Total memory in Bytes
applications:
-
name: Memory
preprocessing:
-
type: MULTIPLIER
parameters:
- '1024'
-
name: 'Memory utilization'
type: CALCULATED
key: 'vm.memory.util[memoryUsedPercentage]'
history: 7d
value_type: FLOAT
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'
description: 'Memory utilization in %'
applications:
-
name: Memory
triggers:
-
expression: '{min(5m)}>{$MEMORY.UTIL.MAX}'
name: 'High memory utilization ( >{$MEMORY.UTIL.MAX}% for 5m)'
priority: AVERAGE
description: 'The system is running out of free memory.'
macros:
-
macro: '{$CPU.UTIL.CRIT}'
value: '90'
-
macro: '{$MEMORY.UTIL.MAX}'
value: '90'
graphs:
-
name: 'CPU utilization'
ymin_type_1: FIXED
ymax_type_1: FIXED
graph_items:
-
drawtype: GRADIENT_LINE
color: 1A7C11
item:
host: 'Ubiquiti AirOS SNMP'
key: 'system.cpu.util[loadValue.2]'
-
name: 'Memory utilization'
ymin_type_1: FIXED
ymax_type_1: FIXED
graph_items:
-
drawtype: GRADIENT_LINE
color: 1A7C11
item:
host: 'Ubiquiti AirOS SNMP'
key: 'vm.memory.util[memoryUsedPercentage]'
|