-
Notifications
You must be signed in to change notification settings - Fork 1.8k
/
template_hp-2920-xxg.yaml
455 lines (455 loc) · 13 KB
/
template_hp-2920-xxg.yaml
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
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
zabbix_export:
version: '6.0'
date: '2021-11-21T21:20:29Z'
groups:
-
uuid: 7df96b18c230490a9a0a9e2307226338
name: Templates
templates:
-
uuid: 77d2b28b537449b4a0878614bad8ee12
template: 'HP Procurve 2920'
name: 'HP Procurve 2920'
groups:
-
name: Templates
items:
-
uuid: 840fce5782c141f2961787d9d37d25f1
name: 'Fan Status'
type: SNMP_AGENT
snmp_oid: .1.3.6.1.4.1.11.2.14.11.1.2.6.1.4.1
key: FAN-Status
delay: '80'
history: 7d
trends: 100d
tags:
-
tag: Application
value: System
triggers:
-
uuid: 6fa07b60b1d74cdb96b2d5fabf68659f
expression: 'last(/HP Procurve 2920/FAN-Status,#2)<4'
name: 'FAN status changed on {HOSTNAME}'
priority: DISASTER
-
uuid: 529f858b844e4632a32ba45c01919720
name: 'HP: Base MAC'
type: SNMP_AGENT
snmp_oid: .1.3.6.1.4.1.11.2.14.11.5.1.1.6.0
key: hpBaseMac
delay: '300'
history: 7d
trends: '0'
value_type: CHAR
inventory_link: MACADDRESS_A
tags:
-
tag: Application
value: System
-
uuid: cf827d0800744cd1a9c5e04903a07718
name: 'HP: Serial Number'
type: SNMP_AGENT
snmp_oid: .1.3.6.1.4.1.11.2.36.1.1.2.9.0
key: hpHttpMgSerialNumber
delay: '300'
history: 7d
trends: '0'
value_type: CHAR
inventory_link: SERIALNO_A
tags:
-
tag: Application
value: System
-
uuid: 03c8118fda0342908637b35bd8bacfdf
name: 'HP: CPU utilization'
type: SNMP_AGENT
snmp_oid: .1.3.6.1.4.1.11.2.14.11.5.1.9.6.1.0
key: hpSwitchCpuStat
delay: '60'
history: 7d
trends: 90d
units: '%'
tags:
-
tag: Application
value: System
triggers:
-
uuid: 630fa986083e4cd9b8b48f9618960c06
expression: 'last(/HP Procurve 2920/hpSwitchCpuStat,#1:now-60s)>94'
name: '95% CPU on {HOSTNAME}'
priority: HIGH
-
uuid: 31b562e9997446708513459578e541ca
name: 'HP: Switch Os Version'
type: SNMP_AGENT
snmp_oid: .1.3.6.1.4.1.11.2.14.11.5.1.1.3.0
key: hpSwitchOsVersion
delay: '300'
history: 7d
trends: '0'
value_type: CHAR
inventory_link: SOFTWARE
tags:
-
tag: Application
value: System
-
uuid: dcfb96b3dfb44446815f11b2ebb0e546
name: 'HP: Switch Type'
type: SNMP_AGENT
snmp_oid: iso.3.6.1.4.1.11.2.14.11.1.2.4.1.4.1
key: hpSwitchType
delay: '300'
history: 7d
trends: '0'
value_type: CHAR
inventory_link: HARDWARE
tags:
-
tag: Application
value: System
-
uuid: 04189b36cfff473a90f623e1a0841f66
name: ping
type: SIMPLE
key: icmpping
delay: '30'
history: 30d
trends: 90d
tags:
-
tag: Application
value: Events
triggers:
-
uuid: 3bfe6eb2690042ae8ba064606f0daa16
expression: 'max(/HP Procurve 2920/icmpping,90s)=0'
name: '{HOSTNAME} Unreachable'
priority: DISASTER
-
uuid: 984abb32d0e84b91a07ca60a82e92441
name: 'SNMP Trap Events'
type: SNMP_TRAP
key: snmptrap.fallback
delay: '0'
trends: '0'
value_type: LOG
logtimefmt: 'hh:mm:ss dd/mm/yyyy'
tags:
-
tag: Application
value: Events
-
uuid: f7139f6ed16b4507918ed461cb5f50ee
name: 'Interface status change'
type: SNMP_TRAP
key: 'snmptrap[@netIF_OperStatChange]'
delay: '0'
trends: '0'
value_type: LOG
logtimefmt: 'hh:mm:ss dd/mm/yyyy'
tags:
-
tag: Application
value: Events
-
uuid: 0c9fa25b2a894470a2e934254707bec0
name: 'ColdStart detected'
type: SNMP_TRAP
key: 'snmptrap[^.*coldStart.*]'
delay: '0'
trends: '0'
value_type: LOG
logtimefmt: 'hh:mm:ss dd/mm/yyyy'
tags:
-
tag: Application
value: Events
-
tag: Application
value: System
triggers:
-
uuid: 02334597e4e3447c99beeb36618ea1c5
expression: '((find(/HP Procurve 2920/snmptrap[^.*coldStart.*],,"regexp","^.*Failure.*$"))<>0)'
name: 'Coldstart detected'
priority: INFO
type: MULTIPLE
-
uuid: 5cff1a28ab0f4c199ef6276dbd764352
name: SysContact
type: SNMP_AGENT
snmp_oid: .1.3.6.1.2.1.1.4.0
key: SysContact
delay: '30'
history: 7d
trends: '0'
value_type: TEXT
inventory_link: CONTACT
tags:
-
tag: Application
value: System
-
uuid: ab715ecef8164a1d94ccc334d2c880a3
name: SysLocation
type: SNMP_AGENT
snmp_oid: .1.3.6.1.2.1.1.6.0
key: SysLocation
delay: '30'
history: 7d
trends: '0'
value_type: TEXT
inventory_link: LOCATION
tags:
-
tag: Application
value: System
-
uuid: e2d233b781b14a57890993840c487234
name: 'System Memory Free left'
type: SNMP_AGENT
snmp_oid: 'NETSWITCH-MIB::hpLocalMemFreeBytes.1'
key: sysMemFreeLeft
delay: '20'
history: 7d
units: bytes
tags:
-
tag: Application
value: System
triggers:
-
uuid: abc06e029db947c5a7e745520aed406b
expression: 'max(/HP Procurve 2920/sysMemFreeLeft,#5)<8096'
name: 'Low memory'
priority: WARNING
-
uuid: c35def7feeaa4234a92b857cc43b33c3
name: SysName
type: SNMP_AGENT
snmp_oid: .1.3.6.1.2.1.1.5.0
key: SysName
delay: '30'
history: 7d
trends: '0'
value_type: TEXT
inventory_link: NAME
tags:
-
tag: Application
value: System
-
uuid: 114c9aa48114427f8eb8ccb3f8e63b3d
name: SysUptime
type: SNMP_AGENT
snmp_oid: .1.3.6.1.2.1.1.3.0
key: SysUptime
delay: '30'
history: 7d
trends: 60d
value_type: FLOAT
units: uptime
preprocessing:
-
type: MULTIPLIER
parameters:
- '0.01'
tags:
-
tag: Application
value: System
triggers:
-
uuid: c4c3b615ba5440bf8dcd1c93146d14c9
expression: 'last(/HP Procurve 2920/SysUptime)<1000'
name: '{HOSTNAME} Has been restarted'
priority: INFO
discovery_rules:
-
uuid: 67a73eca79c544d4a7c04a6b241ee554
name: Interfaces
type: SNMP_AGENT
snmp_oid: 'discovery[{#SNMPVALUE},IF-MIB::ifDescr]'
key: ifDescr
delay: '120'
filter:
evaltype: OR
conditions:
-
macro: '{#SNMPVALUE}'
value: '^[0-9]{1,3}$'
formulaid: A
item_prototypes:
-
uuid: 9ab5c8f8a6cc467f847d8a08e3e4165d
name: 'Admin status of interface $1'
type: SNMP_AGENT
snmp_oid: 'IF-MIB::ifAdminStatus.{#SNMPINDEX}'
key: 'ifAdminStatus[{#SNMPVALUE}]'
delay: '30'
history: 7d
trends: 90d
tags:
-
tag: Application
value: Interfaces
-
uuid: 760eb2c9c6b4436ebc6a539ab4d59b5b
name: 'Alias of interface $1'
type: SNMP_AGENT
snmp_oid: 'IF-MIB::ifAlias.{#SNMPINDEX}'
key: 'ifAlias[{#SNMPVALUE}]'
delay: '3600'
history: 7d
trends: '0'
status: DISABLED
value_type: CHAR
tags:
-
tag: Application
value: Interfaces
-
uuid: b4de03ec138a40f79ddb1d77c0706375
name: 'Description of interface $1'
type: SNMP_AGENT
snmp_oid: 'IF-MIB::ifDescr.{#SNMPINDEX}'
key: 'ifDescr[{#SNMPVALUE}]'
delay: '3600'
history: 7d
trends: '0'
status: DISABLED
value_type: CHAR
tags:
-
tag: Application
value: Interfaces
-
uuid: 2c05c448b4f14f14ace3ca0c19280f7c
name: 'Incoming traffic on interface $1'
type: SNMP_AGENT
snmp_oid: 'IF-MIB::ifInOctets.{#SNMPINDEX}'
key: 'ifInOctets[{#SNMPVALUE}]'
delay: '30'
history: 30d
trends: 90d
units: bps
preprocessing:
-
type: CHANGE_PER_SECOND
parameters:
- ''
-
type: MULTIPLIER
parameters:
- '8'
tags:
-
tag: Application
value: Interfaces
-
uuid: 7e0bbe1d5b1c48ea92539c9bb47cf2c2
name: 'Operational status of interface $1'
type: SNMP_AGENT
snmp_oid: 'IF-MIB::ifOperStatus.{#SNMPINDEX}'
key: 'ifOperStatus[{#SNMPVALUE}]'
delay: '30'
history: 30d
trends: 90d
valuemap:
name: 'SNMP interface status (ifOperStatus)'
tags:
-
tag: Application
value: Interfaces
-
uuid: 95d9329ac17b4b97bfaee4bfd67f4759
name: 'Outgoing traffic on interface $1'
type: SNMP_AGENT
snmp_oid: 'IF-MIB::ifOutOctets.{#SNMPINDEX}'
key: 'ifOutOctets[{#SNMPVALUE}]'
delay: '30'
history: 30d
trends: 90d
units: bps
preprocessing:
-
type: CHANGE_PER_SECOND
parameters:
- ''
-
type: MULTIPLIER
parameters:
- '8'
tags:
-
tag: Application
value: Interfaces
graph_prototypes:
-
uuid: 1e44fd608539467bb879075d56c01aae
name: 'Traffic on interface {#SNMPVALUE}'
width: '300'
graph_items:
-
color: 0000EE
item:
host: 'HP Procurve 2920'
key: 'ifInOctets[{#SNMPVALUE}]'
-
sortorder: '1'
color: 33FF33
item:
host: 'HP Procurve 2920'
key: 'ifOutOctets[{#SNMPVALUE}]'
valuemaps:
-
uuid: aeeb4d7d7cac401192a88d4aabeb725b
name: 'SNMP interface status (ifOperStatus)'
mappings:
-
value: '1'
newvalue: up
-
value: '2'
newvalue: down
-
value: '3'
newvalue: testing
-
value: '4'
newvalue: unknown
-
value: '5'
newvalue: dormant
-
value: '6'
newvalue: notPresent
-
value: '7'
newvalue: lowerLayerDown
graphs:
-
uuid: 44ab4c7704a043b68dd5ff3da801d919
name: CPU
graph_items:
-
color: C80000
calc_fnc: MAX
item:
host: 'HP Procurve 2920'
key: hpSwitchCpuStat
-
uuid: f15b5f4320024aa4807dee9184a79585
name: 'System Memory'
graph_items:
-
color: 1A7C11
item:
host: 'HP Procurve 2920'
key: sysMemFreeLeft