-
Notifications
You must be signed in to change notification settings - Fork 128
/
Template Net Alcatel Timetra TiMOS SNMP.xml
583 lines (583 loc) · 28.9 KB
/
Template Net Alcatel Timetra TiMOS 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
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
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
<?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 Alcatel Timetra TiMOS SNMP</template>
<name>Template Net Alcatel Timetra TiMOS SNMP</name>
<description>Template Net Alcatel Timetra TiMOS
MIBs used:
TIMETRA-CHASSIS-MIB
TIMETRA-SYSTEM-MIB
SNMPv2-MIB
Template tooling version used: 0.36</description>
<templates>
<template>
<name>Template Module EtherLike-MIB SNMP</name>
</template>
<template>
<name>Template Module Generic SNMP</name>
</template>
<template>
<name>Template Module Interfaces SNMP</name>
</template>
</templates>
<groups>
<group>
<name>Templates/Network devices</name>
</group>
</groups>
<applications>
<application>
<name>CPU</name>
</application>
<application>
<name>Fans</name>
</application>
<application>
<name>Inventory</name>
</application>
<application>
<name>Memory</name>
</application>
<application>
<name>Power supply</name>
</application>
<application>
<name>Temperature</name>
</application>
</applications>
<items>
<item>
<name>CPU utilization</name>
<type>SNMP_AGENT</type>
<snmp_oid>1.3.6.1.4.1.6527.3.1.2.1.1.1.0</snmp_oid>
<key>system.cpu.util[sgiCpuUsage.0]</key>
<history>7d</history>
<value_type>FLOAT</value_type>
<units>%</units>
<description>MIB: TIMETRA-SYSTEM-MIB
The value of sgiCpuUsage indicates the current CPU utilization for the system.</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>Hardware model name</name>
<type>SNMP_AGENT</type>
<snmp_oid>1.3.6.1.2.1.1.1.0</snmp_oid>
<key>system.hw.model</key>
<delay>1h</delay>
<history>2w</history>
<trends>0</trends>
<value_type>CHAR</value_type>
<description>MIB: SNMPv2-MIB</description>
<inventory_link>MODEL</inventory_link>
<applications>
<application>
<name>Inventory</name>
</application>
</applications>
<preprocessing>
<step>
<type>REGEX</type>
<params>^(\w|-|\.|/)+ (\w|-|\.|/)+ (.+) Copyright
\3</params>
</step>
<step>
<type>DISCARD_UNCHANGED_HEARTBEAT</type>
<params>1d</params>
</step>
</preprocessing>
</item>
<item>
<name>Operating system</name>
<type>SNMP_AGENT</type>
<snmp_oid>1.3.6.1.2.1.1.1.0</snmp_oid>
<key>system.sw.os[sysDescr.0]</key>
<delay>1h</delay>
<history>2w</history>
<trends>0</trends>
<value_type>CHAR</value_type>
<description>MIB: SNMPv2-MIB</description>
<inventory_link>OS</inventory_link>
<applications>
<application>
<name>Inventory</name>
</application>
</applications>
<preprocessing>
<step>
<type>REGEX</type>
<params>^((\w|-|\.|/)+)
\1</params>
</step>
<step>
<type>DISCARD_UNCHANGED_HEARTBEAT</type>
<params>1d</params>
</step>
</preprocessing>
<triggers>
<trigger>
<expression>{diff()}=1 and {strlen()}>0</expression>
<recovery_mode>NONE</recovery_mode>
<name>Operating system description has changed</name>
<priority>INFO</priority>
<description>Operating system description has changed. Possible reasons that system has been updated or replaced. Ack to close.</description>
<manual_close>YES</manual_close>
</trigger>
</triggers>
</item>
<item>
<name>Available memory</name>
<type>SNMP_AGENT</type>
<snmp_oid>1.3.6.1.4.1.6527.3.1.2.1.1.10.0</snmp_oid>
<key>vm.memory.available[sgiKbMemoryAvailable.0]</key>
<history>7d</history>
<units>B</units>
<description>MIB: TIMETRA-SYSTEM-MIB
The value of sgiKbMemoryAvailable indicates the amount of free memory, in kilobytes, in the overall system that is not allocated to memory pools, but is available in case a memory pool needs to grow.</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>CALCULATED</type>
<key>vm.memory.total[snmp]</key>
<history>7d</history>
<units>B</units>
<params>last("vm.memory.available[sgiKbMemoryAvailable.0]")+last("vm.memory.used[sgiKbMemoryUsed.0]")</params>
<description>Total memory in Bytes</description>
<applications>
<application>
<name>Memory</name>
</application>
</applications>
</item>
<item>
<name>Used memory</name>
<type>SNMP_AGENT</type>
<snmp_oid>1.3.6.1.4.1.6527.3.1.2.1.1.9.0</snmp_oid>
<key>vm.memory.used[sgiKbMemoryUsed.0]</key>
<history>7d</history>
<units>B</units>
<description>MIB: TIMETRA-SYSTEM-MIB
The value of sgiKbMemoryUsed indicates the total pre-allocated pool memory, in kilobytes, currently in use on the system.</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[vm.memory.util.0]</key>
<history>7d</history>
<value_type>FLOAT</value_type>
<units>%</units>
<params>last("vm.memory.used[sgiKbMemoryUsed.0]")/(last("vm.memory.available[sgiKbMemoryAvailable.0]")+last("vm.memory.used[sgiKbMemoryUsed.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>
<discovery_rules>
<discovery_rule>
<name>Entity Serial Numbers Discovery</name>
<type>SNMP_AGENT</type>
<snmp_oid>discovery[{#ENT_NAME},1.3.6.1.4.1.6527.3.1.2.2.1.8.1.8,{#ENT_CLASS},1.3.6.1.4.1.6527.3.1.2.2.1.8.1.7,{#ENT_SN},1.3.6.1.4.1.6527.3.1.2.2.1.8.1.5]</snmp_oid>
<key>entity_sn.discovery</key>
<delay>1h</delay>
<filter>
<evaltype>AND</evaltype>
<conditions>
<condition>
<macro>{#ENT_SN}</macro>
<value>.+</value>
<formulaid>A</formulaid>
</condition>
</conditions>
</filter>
<item_prototypes>
<item_prototype>
<name>{#ENT_NAME}: Hardware serial number</name>
<type>SNMP_AGENT</type>
<snmp_oid>1.3.6.1.4.1.6527.3.1.2.2.1.8.1.5.{#SNMPINDEX}</snmp_oid>
<key>system.hw.serialnumber[tmnxHwSerialNumber.{#SNMPINDEX}]</key>
<delay>1h</delay>
<history>2w</history>
<trends>0</trends>
<value_type>CHAR</value_type>
<description>MIB: TIMETRA-CHASSIS-MIB</description>
<applications>
<application>
<name>Inventory</name>
</application>
</applications>
<preprocessing>
<step>
<type>DISCARD_UNCHANGED_HEARTBEAT</type>
<params>1d</params>
</step>
</preprocessing>
<trigger_prototypes>
<trigger_prototype>
<expression>{diff()}=1 and {strlen()}>0</expression>
<name>{#ENT_NAME}: Device has been replaced (new serial number received)</name>
<priority>INFO</priority>
<description>Device serial number has changed. Ack to close</description>
<manual_close>YES</manual_close>
</trigger_prototype>
</trigger_prototypes>
</item_prototype>
</item_prototypes>
</discovery_rule>
<discovery_rule>
<name>FAN Discovery</name>
<type>SNMP_AGENT</type>
<snmp_oid>discovery[{#SNMPVALUE},1.3.6.1.4.1.6527.3.1.2.2.1.4.1.2]</snmp_oid>
<key>fan.discovery</key>
<delay>1h</delay>
<filter>
<conditions>
<condition>
<macro>{#SNMPVALUE}</macro>
<value>[^1]</value>
<formulaid>A</formulaid>
</condition>
</conditions>
</filter>
<item_prototypes>
<item_prototype>
<name>#{#SNMPINDEX}: Fan status</name>
<type>SNMP_AGENT</type>
<snmp_oid>1.3.6.1.4.1.6527.3.1.2.2.1.4.1.2.{#SNMPINDEX}</snmp_oid>
<key>sensor.fan.status[tmnxChassisFanOperStatus.{#SNMPINDEX}]</key>
<delay>3m</delay>
<history>2w</history>
<trends>0d</trends>
<description>MIB: TIMETRA-SYSTEM-MIB
Current status of the Fan tray.</description>
<applications>
<application>
<name>Fans</name>
</application>
</applications>
<valuemap>
<name>TIMETRA-CHASSIS-MIB::TmnxDeviceState</name>
</valuemap>
<trigger_prototypes>
<trigger_prototype>
<expression>{count(#1,{$FAN_CRIT_STATUS},eq)}=1</expression>
<name>#{#SNMPINDEX}: Fan is in critical state</name>
<opdata>Current state: {ITEM.LASTVALUE1}</opdata>
<priority>AVERAGE</priority>
<description>Please check the fan unit</description>
</trigger_prototype>
</trigger_prototypes>
</item_prototype>
</item_prototypes>
</discovery_rule>
<discovery_rule>
<name>PSU Discovery</name>
<type>SNMP_AGENT</type>
<snmp_oid>discovery[{#SNMPVALUE},1.3.6.1.4.1.6527.3.1.2.2.1.5.1.6]</snmp_oid>
<key>psu.discovery</key>
<delay>1h</delay>
<item_prototypes>
<item_prototype>
<name>#{#SNMPINDEX}: Power supply status</name>
<type>SNMP_AGENT</type>
<snmp_oid>1.3.6.1.4.1.6527.3.1.2.2.1.5.1.6.{#SNMPINDEX}</snmp_oid>
<key>sensor.psu.status[tmnxChassisPowerSupply1Status.{#SNMPINDEX}]</key>
<delay>3m</delay>
<history>2w</history>
<trends>0d</trends>
<description>MIB: TIMETRA-SYSTEM-MIB
The overall status of an equipped power supply.
For AC multiple powersupplies, this represents the overall status of the first power supplyin the tray (or shelf).
For any other type, this represents the overall status of the power supply.
If tmnxChassisPowerSupply1Status is'deviceStateOk', then all monitored statuses are 'deviceStateOk'.
A value of 'deviceStateFailed' represents a condition where at least one monitored status is in a failed state.</description>
<applications>
<application>
<name>Power supply</name>
</application>
</applications>
<valuemap>
<name>TIMETRA-CHASSIS-MIB::TmnxDeviceState</name>
</valuemap>
<trigger_prototypes>
<trigger_prototype>
<expression>{count(#1,{$PSU_CRIT_STATUS},eq)}=1</expression>
<name>#{#SNMPINDEX}: Power supply is in critical state</name>
<opdata>Current state: {ITEM.LASTVALUE1}</opdata>
<priority>AVERAGE</priority>
<description>Please check the power supply unit for errors</description>
</trigger_prototype>
</trigger_prototypes>
</item_prototype>
<item_prototype>
<name>#{#SNMPINDEX}: Power supply status</name>
<type>SNMP_AGENT</type>
<snmp_oid>1.3.6.1.4.1.6527.3.1.2.2.1.5.1.7.{#SNMPINDEX}</snmp_oid>
<key>sensor.psu.status[tmnxChassisPowerSupply2Status.{#SNMPINDEX}]</key>
<delay>3m</delay>
<history>2w</history>
<trends>0d</trends>
<description>MIB: TIMETRA-SYSTEM-MIB
The overall status of an equipped power supply.
For AC multiple powersupplies, this represents the overall status of the second power supplyin the tray (or shelf).
For any other type, this field is unused and set to 'deviceNotEquipped'.
If tmnxChassisPowerSupply2Status is 'deviceStateOk', then all monitored statuses are 'deviceStateOk'.
A value of 'deviceStateFailed' represents a condition where at least one monitored status is in a failed state.</description>
<applications>
<application>
<name>Power supply</name>
</application>
</applications>
<valuemap>
<name>TIMETRA-CHASSIS-MIB::TmnxDeviceState</name>
</valuemap>
<trigger_prototypes>
<trigger_prototype>
<expression>{count(#1,{$PSU_CRIT_STATUS},eq)}=1</expression>
<name>#{#SNMPINDEX}: Power supply is in critical state</name>
<opdata>Current state: {ITEM.LASTVALUE1}</opdata>
<priority>AVERAGE</priority>
<description>Please check the power supply unit for errors</description>
</trigger_prototype>
</trigger_prototypes>
</item_prototype>
</item_prototypes>
</discovery_rule>
<discovery_rule>
<name>Temperature Discovery</name>
<type>SNMP_AGENT</type>
<snmp_oid>discovery[{#SNMPVALUE},1.3.6.1.4.1.6527.3.1.2.2.1.8.1.8,{#TEMP_SENSOR},1.3.6.1.4.1.6527.3.1.2.2.1.8.1.17]</snmp_oid>
<key>temperature.discovery</key>
<delay>1h</delay>
<filter>
<conditions>
<condition>
<macro>{#TEMP_SENSOR}</macro>
<value>1</value>
<formulaid>A</formulaid>
</condition>
</conditions>
</filter>
<item_prototypes>
<item_prototype>
<name>{#SNMPVALUE}: Temperature</name>
<type>SNMP_AGENT</type>
<snmp_oid>1.3.6.1.4.1.6527.3.1.2.2.1.8.1.18.{#SNMPINDEX}</snmp_oid>
<key>sensor.temp.value[tmnxHwTemperature.{#SNMPINDEX}]</key>
<delay>3m</delay>
<value_type>FLOAT</value_type>
<units>°C</units>
<description>MIB: TIMETRA-SYSTEM-MIB
The current temperature reading in degrees celsius from this hardware component's temperature sensor. If this component does not contain a temperature sensor, then the value -1 is returned.</description>
<applications>
<application>
<name>Temperature</name>
</application>
</applications>
<trigger_prototypes>
<trigger_prototype>
<expression>{avg(5m)}>{$TEMP_CRIT:""}</expression>
<recovery_mode>RECOVERY_EXPRESSION</recovery_mode>
<recovery_expression>{max(5m)}<{$TEMP_CRIT:""}-3</recovery_expression>
<name>{#SNMPVALUE}: Temperature is above critical threshold: >{$TEMP_CRIT:""}</name>
<opdata>Current value: {ITEM.LASTVALUE1}</opdata>
<priority>HIGH</priority>
<description>This trigger uses temperature sensor values as well as temperature sensor status if available</description>
</trigger_prototype>
<trigger_prototype>
<expression>{avg(5m)}>{$TEMP_WARN:""}</expression>
<recovery_mode>RECOVERY_EXPRESSION</recovery_mode>
<recovery_expression>{max(5m)}<{$TEMP_WARN:""}-3</recovery_expression>
<name>{#SNMPVALUE}: Temperature is above warning threshold: >{$TEMP_WARN:""}</name>
<opdata>Current value: {ITEM.LASTVALUE1}</opdata>
<priority>WARNING</priority>
<description>This trigger uses temperature sensor values as well as temperature sensor status if available</description>
<dependencies>
<dependency>
<name>{#SNMPVALUE}: Temperature is above critical threshold: >{$TEMP_CRIT:""}</name>
<expression>{Template Net Alcatel Timetra TiMOS SNMP:sensor.temp.value[tmnxHwTemperature.{#SNMPINDEX}].avg(5m)}>{$TEMP_CRIT:""}</expression>
<recovery_expression>{Template Net Alcatel Timetra TiMOS SNMP:sensor.temp.value[tmnxHwTemperature.{#SNMPINDEX}].max(5m)}<{$TEMP_CRIT:""}-3</recovery_expression>
</dependency>
</dependencies>
</trigger_prototype>
<trigger_prototype>
<expression>{avg(5m)}<{$TEMP_CRIT_LOW:""}</expression>
<recovery_mode>RECOVERY_EXPRESSION</recovery_mode>
<recovery_expression>{min(5m)}>{$TEMP_CRIT_LOW:""}+3</recovery_expression>
<name>{#SNMPVALUE}: Temperature is too low: <{$TEMP_CRIT_LOW:""}</name>
<opdata>Current value: {ITEM.LASTVALUE1}</opdata>
<priority>AVERAGE</priority>
</trigger_prototype>
</trigger_prototypes>
</item_prototype>
</item_prototypes>
</discovery_rule>
</discovery_rules>
<macros>
<macro>
<macro>{$CPU.UTIL.CRIT}</macro>
<value>90</value>
</macro>
<macro>
<macro>{$FAN_CRIT_STATUS}</macro>
<value>4</value>
</macro>
<macro>
<macro>{$MEMORY.UTIL.MAX}</macro>
<value>90</value>
</macro>
<macro>
<macro>{$PSU_CRIT_STATUS}</macro>
<value>4</value>
</macro>
<macro>
<macro>{$TEMP_CRIT}</macro>
<value>75</value>
</macro>
<macro>
<macro>{$TEMP_CRIT_LOW}</macro>
<value>5</value>
</macro>
<macro>
<macro>{$TEMP_WARN}</macro>
<value>65</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 Alcatel Timetra TiMOS SNMP</host>
<key>system.cpu.util[sgiCpuUsage.0]</key>
</item>
</graph_item>
</graph_items>
</graph>
<graph>
<name>Memory usage</name>
<ymin_type_1>FIXED</ymin_type_1>
<graph_items>
<graph_item>
<drawtype>BOLD_LINE</drawtype>
<color>1A7C11</color>
<item>
<host>Template Net Alcatel Timetra TiMOS SNMP</host>
<key>vm.memory.total[snmp]</key>
</item>
</graph_item>
<graph_item>
<sortorder>1</sortorder>
<drawtype>GRADIENT_LINE</drawtype>
<color>2774A4</color>
<item>
<host>Template Net Alcatel Timetra TiMOS SNMP</host>
<key>vm.memory.available[sgiKbMemoryAvailable.0]</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 Alcatel Timetra TiMOS SNMP</host>
<key>vm.memory.util[vm.memory.util.0]</key>
</item>
</graph_item>
</graph_items>
</graph>
</graphs>
<value_maps>
<value_map>
<name>TIMETRA-CHASSIS-MIB::TmnxDeviceState</name>
<mappings>
<mapping>
<value>1</value>
<newvalue>deviceStateUnknown</newvalue>
</mapping>
<mapping>
<value>2</value>
<newvalue>deviceNotEquipped</newvalue>
</mapping>
<mapping>
<value>3</value>
<newvalue>deviceStateOk</newvalue>
</mapping>
<mapping>
<value>4</value>
<newvalue>deviceStateFailed</newvalue>
</mapping>
<mapping>
<value>5</value>
<newvalue>deviceStateOutOfService</newvalue>
</mapping>
</mappings>
</value_map>
</value_maps>
</zabbix_export>