Skip to content

Commit cf1bb74

Browse files
committed
Add ifTable aliases to fibrechannel
Signed-off-by: Vitaly Zhuravlev <[email protected]>
1 parent a3a7201 commit cf1bb74

File tree

2 files changed

+157
-3
lines changed

2 files changed

+157
-3
lines changed

generator/generator.yml

+7
Original file line numberDiff line numberDiff line change
@@ -128,6 +128,13 @@ modules:
128128
- CISCO-FC-FE-MIB::fcIfTxWaitCount
129129
- CISCO-FC-FE-MIB::fcIfCurrRxBbCredit
130130
- CISCO-FC-FE-MIB::fcIfCurrTxBbCredit
131+
lookups:
132+
- source_indexes: [ifIndex]
133+
lookup: "IF-MIB::ifAlias"
134+
- source_indexes: [ifIndex]
135+
lookup: "IF-MIB::ifDescr"
136+
- source_indexes: [ifIndex]
137+
lookup: "IF-MIB::ifName"
131138

132139
# Dell OpenManage MIBs
133140
dell:

snmp.yml

+150-3
Original file line numberDiff line numberDiff line change
@@ -345,7 +345,7 @@ modules:
345345
- name: upsAdvBatteryRunTimeRemaining
346346
oid: 1.3.6.1.4.1.318.1.1.1.2.2.3
347347
type: gauge
348-
help: The UPS battery run time remaining before battery exhaustion - 1.3.6.1.4.1.318.1.1.1.2.2.3
348+
help: The UPS battery run time remaining before battery exhaustion. - 1.3.6.1.4.1.318.1.1.1.2.2.3
349349
- name: upsAdvBatteryReplaceIndicator
350350
oid: 1.3.6.1.4.1.318.1.1.1.2.2.4
351351
type: gauge
@@ -474,7 +474,7 @@ modules:
474474
oid: 1.3.6.1.4.1.318.1.1.1.2.2.15
475475
type: gauge
476476
help: The estimated remaining time required to charge the UPS to a full state
477-
of charge - 1.3.6.1.4.1.318.1.1.1.2.2.15
477+
of charge. - 1.3.6.1.4.1.318.1.1.1.2.2.15
478478
- name: upsAdvBatteryPower
479479
oid: 1.3.6.1.4.1.318.1.1.1.2.2.16
480480
type: gauge
@@ -1045,7 +1045,7 @@ modules:
10451045
oid: 1.3.6.1.4.1.318.1.1.1.2.6.1.5
10461046
type: gauge
10471047
help: Temperature of the battery string or the average of the aggregated temperature
1048-
of each battery block/module (in tenths of degrees Celcius) - 1.3.6.1.4.1.318.1.1.1.2.6.1.5
1048+
of each battery block/module (in tenths of degrees Celcius). - 1.3.6.1.4.1.318.1.1.1.2.6.1.5
10491049
indexes:
10501050
- labelname: upsBatteryCabStringIndex
10511051
type: gauge
@@ -3320,6 +3320,9 @@ modules:
33203320
3: nonoperational
33213321
cisco_fc_fe:
33223322
walk:
3323+
- 1.3.6.1.2.1.2.2.1.2
3324+
- 1.3.6.1.2.1.31.1.1.1.1
3325+
- 1.3.6.1.2.1.31.1.1.1.18
33233326
- 1.3.6.1.4.1.9.9.289.1.2.1.1.15
33243327
- 1.3.6.1.4.1.9.9.289.1.2.1.1.26
33253328
- 1.3.6.1.4.1.9.9.289.1.2.1.1.38
@@ -3338,13 +3341,45 @@ modules:
33383341
indexes:
33393342
- labelname: ifIndex
33403343
type: gauge
3344+
lookups:
3345+
- labels:
3346+
- ifIndex
3347+
labelname: ifAlias
3348+
oid: 1.3.6.1.2.1.31.1.1.1.18
3349+
type: DisplayString
3350+
- labels:
3351+
- ifIndex
3352+
labelname: ifDescr
3353+
oid: 1.3.6.1.2.1.2.2.1.2
3354+
type: DisplayString
3355+
- labels:
3356+
- ifIndex
3357+
labelname: ifName
3358+
oid: 1.3.6.1.2.1.31.1.1.1.1
3359+
type: DisplayString
33413360
- name: fcIfFramesDiscard
33423361
oid: 1.3.6.1.4.1.9.9.289.1.2.1.1.26
33433362
type: counter
33443363
help: The number of frames discarded by the FC-port. - 1.3.6.1.4.1.9.9.289.1.2.1.1.26
33453364
indexes:
33463365
- labelname: ifIndex
33473366
type: gauge
3367+
lookups:
3368+
- labels:
3369+
- ifIndex
3370+
labelname: ifAlias
3371+
oid: 1.3.6.1.2.1.31.1.1.1.18
3372+
type: DisplayString
3373+
- labels:
3374+
- ifIndex
3375+
labelname: ifDescr
3376+
oid: 1.3.6.1.2.1.2.2.1.2
3377+
type: DisplayString
3378+
- labels:
3379+
- ifIndex
3380+
labelname: ifName
3381+
oid: 1.3.6.1.2.1.31.1.1.1.1
3382+
type: DisplayString
33483383
- name: fcIfTxWtAvgBBCreditTransitionToZero
33493384
oid: 1.3.6.1.4.1.9.9.289.1.2.1.1.38
33503385
type: counter
@@ -3353,6 +3388,22 @@ modules:
33533388
indexes:
33543389
- labelname: ifIndex
33553390
type: gauge
3391+
lookups:
3392+
- labels:
3393+
- ifIndex
3394+
labelname: ifAlias
3395+
oid: 1.3.6.1.2.1.31.1.1.1.18
3396+
type: DisplayString
3397+
- labels:
3398+
- ifIndex
3399+
labelname: ifDescr
3400+
oid: 1.3.6.1.2.1.2.2.1.2
3401+
type: DisplayString
3402+
- labels:
3403+
- ifIndex
3404+
labelname: ifName
3405+
oid: 1.3.6.1.2.1.31.1.1.1.1
3406+
type: DisplayString
33563407
- name: fcHCIfBBCreditTransistionFromZero
33573408
oid: 1.3.6.1.4.1.9.9.289.1.2.1.1.40
33583409
type: counter
@@ -3361,6 +3412,22 @@ modules:
33613412
indexes:
33623413
- labelname: ifIndex
33633414
type: gauge
3415+
lookups:
3416+
- labels:
3417+
- ifIndex
3418+
labelname: ifAlias
3419+
oid: 1.3.6.1.2.1.31.1.1.1.18
3420+
type: DisplayString
3421+
- labels:
3422+
- ifIndex
3423+
labelname: ifDescr
3424+
oid: 1.3.6.1.2.1.2.2.1.2
3425+
type: DisplayString
3426+
- labels:
3427+
- ifIndex
3428+
labelname: ifName
3429+
oid: 1.3.6.1.2.1.31.1.1.1.1
3430+
type: DisplayString
33643431
- name: fcHCIfBBCreditTransistionToZero
33653432
oid: 1.3.6.1.4.1.9.9.289.1.2.1.1.41
33663433
type: counter
@@ -3369,20 +3436,68 @@ modules:
33693436
indexes:
33703437
- labelname: ifIndex
33713438
type: gauge
3439+
lookups:
3440+
- labels:
3441+
- ifIndex
3442+
labelname: ifAlias
3443+
oid: 1.3.6.1.2.1.31.1.1.1.18
3444+
type: DisplayString
3445+
- labels:
3446+
- ifIndex
3447+
labelname: ifDescr
3448+
oid: 1.3.6.1.2.1.2.2.1.2
3449+
type: DisplayString
3450+
- labels:
3451+
- ifIndex
3452+
labelname: ifName
3453+
oid: 1.3.6.1.2.1.31.1.1.1.1
3454+
type: DisplayString
33723455
- name: fcIfInvalidTxWords
33733456
oid: 1.3.6.1.4.1.9.9.289.1.2.1.1.5
33743457
type: counter
33753458
help: The number of invalid transmission words detected by the FC-Port. - 1.3.6.1.4.1.9.9.289.1.2.1.1.5
33763459
indexes:
33773460
- labelname: ifIndex
33783461
type: gauge
3462+
lookups:
3463+
- labels:
3464+
- ifIndex
3465+
labelname: ifAlias
3466+
oid: 1.3.6.1.2.1.31.1.1.1.18
3467+
type: DisplayString
3468+
- labels:
3469+
- ifIndex
3470+
labelname: ifDescr
3471+
oid: 1.3.6.1.2.1.2.2.1.2
3472+
type: DisplayString
3473+
- labels:
3474+
- ifIndex
3475+
labelname: ifName
3476+
oid: 1.3.6.1.2.1.31.1.1.1.1
3477+
type: DisplayString
33793478
- name: fcIfInvalidCrcs
33803479
oid: 1.3.6.1.4.1.9.9.289.1.2.1.1.6
33813480
type: counter
33823481
help: The number of invalid CRCs detected by the FC-Port - 1.3.6.1.4.1.9.9.289.1.2.1.1.6
33833482
indexes:
33843483
- labelname: ifIndex
33853484
type: gauge
3485+
lookups:
3486+
- labels:
3487+
- ifIndex
3488+
labelname: ifAlias
3489+
oid: 1.3.6.1.2.1.31.1.1.1.18
3490+
type: DisplayString
3491+
- labels:
3492+
- ifIndex
3493+
labelname: ifDescr
3494+
oid: 1.3.6.1.2.1.2.2.1.2
3495+
type: DisplayString
3496+
- labels:
3497+
- ifIndex
3498+
labelname: ifName
3499+
oid: 1.3.6.1.2.1.31.1.1.1.1
3500+
type: DisplayString
33863501
- name: fcIfCurrRxBbCredit
33873502
oid: 1.3.6.1.4.1.9.9.289.1.2.5.1.1
33883503
type: gauge
@@ -3391,6 +3506,22 @@ modules:
33913506
indexes:
33923507
- labelname: ifIndex
33933508
type: gauge
3509+
lookups:
3510+
- labels:
3511+
- ifIndex
3512+
labelname: ifAlias
3513+
oid: 1.3.6.1.2.1.31.1.1.1.18
3514+
type: DisplayString
3515+
- labels:
3516+
- ifIndex
3517+
labelname: ifDescr
3518+
oid: 1.3.6.1.2.1.2.2.1.2
3519+
type: DisplayString
3520+
- labels:
3521+
- ifIndex
3522+
labelname: ifName
3523+
oid: 1.3.6.1.2.1.31.1.1.1.1
3524+
type: DisplayString
33943525
- name: fcIfCurrTxBbCredit
33953526
oid: 1.3.6.1.4.1.9.9.289.1.2.5.1.2
33963527
type: gauge
@@ -3399,6 +3530,22 @@ modules:
33993530
indexes:
34003531
- labelname: ifIndex
34013532
type: gauge
3533+
lookups:
3534+
- labels:
3535+
- ifIndex
3536+
labelname: ifAlias
3537+
oid: 1.3.6.1.2.1.31.1.1.1.18
3538+
type: DisplayString
3539+
- labels:
3540+
- ifIndex
3541+
labelname: ifDescr
3542+
oid: 1.3.6.1.2.1.2.2.1.2
3543+
type: DisplayString
3544+
- labels:
3545+
- ifIndex
3546+
labelname: ifName
3547+
oid: 1.3.6.1.2.1.31.1.1.1.1
3548+
type: DisplayString
34023549
cisco_imc:
34033550
walk:
34043551
- 1.3.6.1.4.1.9.9.719.1.1.1.1.11

0 commit comments

Comments
 (0)