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
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
|
zabbix_export:
version: '6.4'
date: '2022-08-16T11:22:02Z'
template_groups:
-
uuid: e960332b3f6c46a1956486d4f3f99fce
name: 'Templates/Server hardware'
templates:
-
uuid: cf0947cc05d3450b9a6d66b2eb180482
template: 'Supermicro Aten SNMP'
name: 'Supermicro Aten SNMP'
description: |
Template Server Supermicro Aten
MIBs used:
HOST-RESOURCES-MIB
SNMPv2-MIB
ATEN-IPMI-MIB
Template tooling version used: 0.42
groups:
-
name: 'Templates/Server hardware'
items:
-
uuid: 7c60cd8613094b95bfd0ad45d04bc0e8
name: 'ICMP ping'
type: SIMPLE
key: icmpping
history: 1w
valuemap:
name: 'Service state'
tags:
-
tag: component
value: health
-
tag: component
value: network
triggers:
-
uuid: 680c72ab6bb441779553b198081e3bf4
expression: 'max(/Supermicro Aten SNMP/icmpping,#3)=0'
name: 'Unavailable by ICMP ping'
priority: HIGH
description: 'Last three attempts returned timeout. Please check device connectivity.'
tags:
-
tag: scope
value: availability
-
uuid: 4a8bd0d13bab4666aaf4c53b7722ec74
name: 'ICMP loss'
type: SIMPLE
key: icmppingloss
history: 1w
value_type: FLOAT
units: '%'
tags:
-
tag: component
value: health
-
tag: component
value: network
triggers:
-
uuid: e2e4bfca2d0c4f8ebd64bef322d2a368
expression: 'min(/Supermicro Aten SNMP/icmppingloss,5m)>{$ICMP_LOSS_WARN} and min(/Supermicro Aten SNMP/icmppingloss,5m)<100'
name: 'High ICMP ping loss'
opdata: 'Loss: {ITEM.LASTVALUE1}'
priority: WARNING
dependencies:
-
name: 'Unavailable by ICMP ping'
expression: 'max(/Supermicro Aten SNMP/icmpping,#3)=0'
tags:
-
tag: scope
value: availability
-
tag: scope
value: performance
-
uuid: feb1b9189b904b42b17ac4e1db49806e
name: 'ICMP response time'
type: SIMPLE
key: icmppingsec
history: 1w
value_type: FLOAT
units: s
tags:
-
tag: component
value: health
-
tag: component
value: network
triggers:
-
uuid: b6fb489c6a624b2994c5e50ba75539b2
expression: 'avg(/Supermicro Aten SNMP/icmppingsec,5m)>{$ICMP_RESPONSE_TIME_WARN}'
name: 'High ICMP ping response time'
opdata: 'Value: {ITEM.LASTVALUE1}'
priority: WARNING
dependencies:
-
name: 'High ICMP ping loss'
expression: 'min(/Supermicro Aten SNMP/icmppingloss,5m)>{$ICMP_LOSS_WARN} and min(/Supermicro Aten SNMP/icmppingloss,5m)<100'
-
name: 'Unavailable by ICMP ping'
expression: 'max(/Supermicro Aten SNMP/icmpping,#3)=0'
tags:
-
tag: scope
value: availability
-
tag: scope
value: performance
-
uuid: cadc501d69624baa8ad292c2c8f6fd52
name: 'SNMP traps (fallback)'
type: SNMP_TRAP
key: snmptrap.fallback
history: 2w
trends: '0'
value_type: LOG
description: 'The item is used to collect all SNMP traps unmatched by other snmptrap items'
logtimefmt: 'hh:mm:sszyyyy/MM/dd'
tags:
-
tag: component
value: network
-
uuid: ccba865de57a41718b53ff1f82b2ca87
name: 'System contact details'
type: SNMP_AGENT
snmp_oid: 1.3.6.1.2.1.1.4.0
key: 'system.contact[sysContact.0]'
delay: 15m
history: 2w
trends: '0'
value_type: CHAR
description: |
MIB: SNMPv2-MIB
The textual identification of the contact person for this managed node, together with information on how to contact this person. If no contact information is known, the value is the zero-length string.
inventory_link: CONTACT
preprocessing:
-
type: DISCARD_UNCHANGED_HEARTBEAT
parameters:
- 12h
tags:
-
tag: component
value: system
-
uuid: 70f51b4370c64c2bab2c811359ef690b
name: 'System description'
type: SNMP_AGENT
snmp_oid: 1.3.6.1.2.1.1.1.0
key: 'system.descr[sysDescr.0]'
delay: 15m
history: 2w
trends: '0'
value_type: CHAR
description: |
MIB: SNMPv2-MIB
A textual description of the entity. This value should
include the full name and version identification of the system's hardware type, software operating-system, and
networking software.
preprocessing:
-
type: DISCARD_UNCHANGED_HEARTBEAT
parameters:
- 12h
tags:
-
tag: component
value: system
-
uuid: 8b0320157a0144a0b2f1d7df7cbbe08a
name: 'Uptime (hardware)'
type: SNMP_AGENT
snmp_oid: 1.3.6.1.2.1.25.1.1.0
key: 'system.hw.uptime[hrSystemUptime.0]'
delay: 30s
history: 2w
trends: 0d
units: uptime
description: |
MIB: HOST-RESOURCES-MIB
The amount of time since this host was last initialized. Note that this is different from sysUpTime in the SNMPv2-MIB [RFC1907] because sysUpTime is the uptime of the network management portion of the system.
preprocessing:
-
type: CHECK_NOT_SUPPORTED
parameters:
- ''
error_handler: CUSTOM_VALUE
error_handler_params: '0'
-
type: MULTIPLIER
parameters:
- '0.01'
tags:
-
tag: component
value: system
-
uuid: 52169be1d3924c638476a290590066f3
name: 'System location'
type: SNMP_AGENT
snmp_oid: 1.3.6.1.2.1.1.6.0
key: 'system.location[sysLocation.0]'
delay: 15m
history: 2w
trends: '0'
value_type: CHAR
description: |
MIB: SNMPv2-MIB
The physical location of this node (e.g., `telephone closet, 3rd floor'). If the location is unknown, the value is the zero-length string.
inventory_link: LOCATION
preprocessing:
-
type: DISCARD_UNCHANGED_HEARTBEAT
parameters:
- 12h
tags:
-
tag: component
value: system
-
uuid: afa2acff36034dccb96a1946e7039f39
name: 'System name'
type: SNMP_AGENT
snmp_oid: 1.3.6.1.2.1.1.5.0
key: system.name
delay: 15m
history: 2w
trends: '0'
value_type: CHAR
description: |
MIB: SNMPv2-MIB
An administratively-assigned name for this managed node.By convention, this is the node's fully-qualified domain name. If the name is unknown, the value is the zero-length string.
inventory_link: NAME
preprocessing:
-
type: DISCARD_UNCHANGED_HEARTBEAT
parameters:
- 12h
tags:
-
tag: component
value: system
triggers:
-
uuid: 07b7a49bffea4c03a022eed632754f47
expression: 'last(/Supermicro Aten SNMP/system.name,#1)<>last(/Supermicro Aten SNMP/system.name,#2) and length(last(/Supermicro Aten SNMP/system.name))>0'
name: 'System name has changed'
event_name: 'System name has changed (new name: {ITEM.VALUE})'
priority: INFO
description: 'System name has changed. Ack to close.'
manual_close: 'YES'
tags:
-
tag: scope
value: notice
-
tag: scope
value: security
-
uuid: cc33c0e22893432280d642c75020a222
name: 'Uptime (network)'
type: SNMP_AGENT
snmp_oid: 1.3.6.1.2.1.1.3.0
key: 'system.net.uptime[sysUpTime.0]'
delay: 30s
history: 2w
trends: 0d
units: uptime
description: |
MIB: SNMPv2-MIB
The time (in hundredths of a second) since the network management portion of the system was last re-initialized.
preprocessing:
-
type: MULTIPLIER
parameters:
- '0.01'
tags:
-
tag: component
value: system
-
uuid: a0c0d3ee729b4a159719271232024b45
name: 'System object ID'
type: SNMP_AGENT
snmp_oid: 1.3.6.1.2.1.1.2.0
key: 'system.objectid[sysObjectID.0]'
delay: 15m
history: 2w
trends: '0'
value_type: CHAR
description: |
MIB: SNMPv2-MIB
The vendor's authoritative identification of the network management subsystem contained in the entity. This value is allocated within the SMI enterprises subtree (1.3.6.1.4.1) and provides an easy and unambiguous means for determining`what kind of box' is being managed. For example, if vendor`Flintstones, Inc.' was assigned the subtree1.3.6.1.4.1.4242, it could assign the identifier 1.3.6.1.4.1.4242.1.1 to its `Fred Router'.
preprocessing:
-
type: DISCARD_UNCHANGED_HEARTBEAT
parameters:
- 12h
tags:
-
tag: component
value: system
-
uuid: e205f1aa96a448a2955e988fa8528600
name: 'SNMP agent availability'
type: INTERNAL
key: 'zabbix[host,snmp,available]'
history: 7d
description: |
Availability of SNMP checks on the host. The value of this item corresponds to availability icons in the host list.
Possible value:
0 - not available
1 - available
2 - unknown
valuemap:
name: zabbix.host.available
tags:
-
tag: component
value: health
-
tag: component
value: network
triggers:
-
uuid: caeb9732846b4ae586ee103ac0c4a65b
expression: 'max(/Supermicro Aten SNMP/zabbix[host,snmp,available],{$SNMP.TIMEOUT})=0'
name: 'No SNMP data collection'
opdata: 'Current state: {ITEM.LASTVALUE1}'
priority: WARNING
description: 'SNMP is not available for polling. Please check device connectivity and SNMP settings.'
dependencies:
-
name: 'Unavailable by ICMP ping'
expression: 'max(/Supermicro Aten SNMP/icmpping,#3)=0'
tags:
-
tag: scope
value: availability
discovery_rules:
-
uuid: e31995e21b3942e58b7ed451f57f0360
name: 'FAN Discovery'
type: SNMP_AGENT
snmp_oid: 'discovery[{#SNMPVALUE},1.3.6.1.4.1.21317.1.3.1.2,{#SENSOR_DESCR},1.3.6.1.4.1.21317.1.3.1.13]'
key: fan.discovery
delay: 1h
filter:
evaltype: AND
conditions:
-
macro: '{#SNMPVALUE}'
value: '[1-9]+'
formulaid: B
-
macro: '{#SENSOR_DESCR}'
value: 'FAN.*'
formulaid: A
description: 'Scanning ATEN-IPMI-MIB::sensorTable with filter: not connected FAN sensors (Value = 0)'
item_prototypes:
-
uuid: 5309e5fab7a44b11a8f045db2868a544
name: '{#SENSOR_DESCR}: Fan speed, %'
type: SNMP_AGENT
snmp_oid: '1.3.6.1.4.1.21317.1.3.1.2.{#SNMPINDEX}'
key: 'sensor.fan.speed.percentage[sensorReading.{#SNMPINDEX}]'
units: '%'
description: |
MIB: ATEN-IPMI-MIB
A textual string containing information about the interface.
This string should include the name of the manufacturer, the product name and the version of the interface hardware/software.
tags:
-
tag: component
value: fan
-
uuid: c03c556ed8e441099513aaacaf4a3752
name: 'Temperature Discovery'
type: SNMP_AGENT
snmp_oid: 'discovery[{#SNMPVALUE},1.3.6.1.4.1.21317.1.3.1.2,{#SENSOR_DESCR},1.3.6.1.4.1.21317.1.3.1.13]'
key: tempDescr.discovery
delay: 1h
filter:
evaltype: AND
conditions:
-
macro: '{#SNMPVALUE}'
value: '[1-9]+'
formulaid: B
-
macro: '{#SENSOR_DESCR}'
value: '.*Temp.*'
formulaid: A
description: 'Scanning ATEN-IPMI-MIB::sensorTable with filter: not connected temp sensors (Value = 0)'
item_prototypes:
-
uuid: fe3acdb63d884c10bc5abe7edf001ceb
name: '{#SENSOR_DESCR}: Temperature'
type: SNMP_AGENT
snmp_oid: '1.3.6.1.4.1.21317.1.3.1.2.{#SNMPINDEX}'
key: 'sensor.temp.value[sensorReading.{#SNMPINDEX}]'
delay: 3m
value_type: FLOAT
units: °C
description: |
MIB: ATEN-IPMI-MIB
A textual string containing information about the interface.
This string should include the name of the manufacturer, the product name and the version of the interface hardware/software.
tags:
-
tag: component
value: temperature
trigger_prototypes:
-
uuid: 1a48aee477d54d34bdea47fc6027968c
expression: 'avg(/Supermicro Aten SNMP/sensor.temp.value[sensorReading.{#SNMPINDEX}],5m)>{$TEMP_CRIT:"{#SENSOR_DESCR}"}'
recovery_mode: RECOVERY_EXPRESSION
recovery_expression: 'max(/Supermicro Aten SNMP/sensor.temp.value[sensorReading.{#SNMPINDEX}],5m)<{$TEMP_CRIT:"{#SENSOR_DESCR}"}-3'
name: '{#SENSOR_DESCR}: Temperature is above critical threshold'
event_name: '{#SENSOR_DESCR}: Temperature is above critical threshold: >{$TEMP_CRIT:"{#SENSOR_DESCR}"}'
opdata: 'Current value: {ITEM.LASTVALUE1}'
priority: HIGH
description: 'This trigger uses temperature sensor values as well as temperature sensor status if available'
tags:
-
tag: scope
value: availability
-
tag: scope
value: performance
-
uuid: 2c2914d1c8c846d180ee308fa861540e
expression: 'avg(/Supermicro Aten SNMP/sensor.temp.value[sensorReading.{#SNMPINDEX}],5m)>{$TEMP_WARN:"{#SENSOR_DESCR}"}'
recovery_mode: RECOVERY_EXPRESSION
recovery_expression: 'max(/Supermicro Aten SNMP/sensor.temp.value[sensorReading.{#SNMPINDEX}],5m)<{$TEMP_WARN:"{#SENSOR_DESCR}"}-3'
name: '{#SENSOR_DESCR}: Temperature is above warning threshold'
event_name: '{#SENSOR_DESCR}: Temperature is above warning threshold: >{$TEMP_WARN:"{#SENSOR_DESCR}"}'
opdata: 'Current value: {ITEM.LASTVALUE1}'
priority: WARNING
description: 'This trigger uses temperature sensor values as well as temperature sensor status if available'
dependencies:
-
name: '{#SENSOR_DESCR}: Temperature is above critical threshold'
expression: 'avg(/Supermicro Aten SNMP/sensor.temp.value[sensorReading.{#SNMPINDEX}],5m)>{$TEMP_CRIT:"{#SENSOR_DESCR}"}'
recovery_expression: 'max(/Supermicro Aten SNMP/sensor.temp.value[sensorReading.{#SNMPINDEX}],5m)<{$TEMP_CRIT:"{#SENSOR_DESCR}"}-3'
tags:
-
tag: scope
value: availability
-
tag: scope
value: performance
-
uuid: 1439e7a34bbf4046836890f208f99a48
expression: 'avg(/Supermicro Aten SNMP/sensor.temp.value[sensorReading.{#SNMPINDEX}],5m)<{$TEMP_CRIT_LOW:"{#SENSOR_DESCR}"}'
recovery_mode: RECOVERY_EXPRESSION
recovery_expression: 'min(/Supermicro Aten SNMP/sensor.temp.value[sensorReading.{#SNMPINDEX}],5m)>{$TEMP_CRIT_LOW:"{#SENSOR_DESCR}"}+3'
name: '{#SENSOR_DESCR}: Temperature is too low'
event_name: '{#SENSOR_DESCR}: Temperature is too low: <{$TEMP_CRIT_LOW:"{#SENSOR_DESCR}"}'
opdata: 'Current value: {ITEM.LASTVALUE1}'
priority: AVERAGE
tags:
-
tag: scope
value: availability
-
tag: scope
value: performance
tags:
-
tag: class
value: hardware
-
tag: target
value: aten
-
tag: target
value: supermicro
macros:
-
macro: '{$ICMP_LOSS_WARN}'
value: '20'
-
macro: '{$ICMP_RESPONSE_TIME_WARN}'
value: '0.15'
-
macro: '{$SNMP.TIMEOUT}'
value: 5m
-
macro: '{$TEMP_CRIT}'
value: '60'
-
macro: '{$TEMP_CRIT_LOW}'
value: '5'
-
macro: '{$TEMP_WARN}'
value: '50'
valuemaps:
-
uuid: e6794dc7602149a3b4fdbfeef45f6e8e
name: 'Service state'
mappings:
-
value: '0'
newvalue: Down
-
value: '1'
newvalue: Up
-
uuid: 1fbe26c5dcb3457f98f84a240aa790cd
name: zabbix.host.available
mappings:
-
value: '0'
newvalue: 'not available'
-
value: '1'
newvalue: available
-
value: '2'
newvalue: unknown
triggers:
-
uuid: 37aab043ea474548ab1e54e504720bed
expression: '(last(/Supermicro Aten SNMP/system.hw.uptime[hrSystemUptime.0])>0 and last(/Supermicro Aten SNMP/system.hw.uptime[hrSystemUptime.0])<10m) or (last(/Supermicro Aten SNMP/system.hw.uptime[hrSystemUptime.0])=0 and last(/Supermicro Aten SNMP/system.net.uptime[sysUpTime.0])<10m)'
name: 'Host has been restarted'
event_name: '{HOST.NAME} has been restarted (uptime < 10m)'
priority: WARNING
description: 'Uptime is less than 10 minutes.'
manual_close: 'YES'
dependencies:
-
name: 'No SNMP data collection'
expression: 'max(/Supermicro Aten SNMP/zabbix[host,snmp,available],{$SNMP.TIMEOUT})=0'
tags:
-
tag: scope
value: notice
|