Skip to content

Commit

Permalink
Add profile infinera-coriant-groove (#15374)
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexandreYang authored Jul 26, 2023
1 parent fea1e5c commit b7b6b2e
Show file tree
Hide file tree
Showing 4 changed files with 4,482 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,207 @@
extends:
- _base.yaml
- _generic-if.yaml
sysobjectid: 1.3.6.1.4.1.42229.1.2 # Groove GX Series
metadata:
device:
fields:
vendor:
value: "infinera"
metrics:
# Commented since not present in latest CORIANT-GROOVE-MIB from 2022
# - MIB: CORIANT-GROOVE-MIB
# symbol:
# OID: 1.3.6.1.4.1.42229.1.2.2.2.2.0
# name: coriant.groove.systemPowerConsumptionCurrent
- MIB: CORIANT-GROOVE-MIB
table:
OID: 1.3.6.1.4.1.42229.1.2.3.1.1
name: shelfTable
symbols:
- OID: 1.3.6.1.4.1.42229.1.2.3.1.1.1.3
name: coriant.groove.shelfInletTemperature # Type CoriantTypesTemperature is a string that represents a float in Celcius e.g. 23.8
- OID: 1.3.6.1.4.1.42229.1.2.3.1.1.1.4
name: coriant.groove.shelfOutletTemperature # Type CoriantTypesTemperature is a string that represents a float in Celcius e.g. 23.8
metric_tags:
- column:
OID: 1.3.6.1.4.1.42229.1.2.3.1.1.1.2
name: coriant.groove.shelfLocation
tag: coriant_groove_shelf_location
- column:
OID: 1.3.6.1.4.1.42229.1.2.3.1.1.1.8
name: coriant.groove.shelfAliasName
tag: coriant_groove_shelf_alias_name
- column:
OID: 1.3.6.1.4.1.42229.1.2.3.1.1.1.5
name: coriant.groove.shelfAdminStatus
tag: coriant_groove_shelf_admin_status
mapping:
1: up
2: down
- column:
OID: 1.3.6.1.4.1.42229.1.2.3.1.1.1.6
name: coriant.groove.shelfOperStatus
tag: coriant_groove_shelf_oper_status
mapping:
1: up
2: down
- column:
OID: 1.3.6.1.4.1.42229.1.2.3.1.1.1.7
name: coriant.groove.shelfAvailStatus
tag: coriant_groove_shelf_avail_status
mapping:
0: none
1: failed
2: mismatch
3: lower_layer_down
4: not_present
5: shutdown
6: degraded
7: idle
8: busy
9: hibernation
10: in_test
11: loopback
12: software_upgrade
13: initializing
14: unknown
15: incomplete
16: laser_safety_shutoff
17: measuring
18: firmware_loading
19: connected
- MIB: CORIANT-GROOVE-MIB
table:
OID: 1.3.6.1.4.1.42229.1.2.3.3.1
name: cardTable
symbols:
- OID: 1.3.6.1.4.1.42229.1.2.3.3.1.1.7
name: coriant.groove.cardFanSpeedRate
- OID: 1.3.6.1.4.1.42229.1.2.3.3.1.1.9
name: coriant.groove.cardTemperature # Type CoriantTypesTemperature is a string that represents a float in Celcius e.g. 23.8
metric_tags:
- column:
OID: 1.3.6.1.4.1.42229.1.2.3.3.1.1.1
name: coriant.groove.cardRequiredType
tag: coriant_groove_card_required_type
mapping:
11: fan
12: psu
13: chm1
14: chm2
16: xtm2
17: chm1g
18: chm1lh
19: chm2lh
100: occ2
101: omd96
102: paoscofp2
103: pabaofp2
104: pairofp2
105: palrofp2
106: paerofp2
107: bahofp2
109: omd48_s
110: omd48_o
111: tdcmofp2
112: bauofp2
113: paulrofp2
114: omd8b1ofp2
115: omd8b2ofp2
116: opsofp2
117: otdrofp2
- column:
OID: 1.3.6.1.4.1.42229.1.2.3.3.1.1.2
name: coriant.groove.cardEquipmentName
tag: coriant_groove_card_equipment_name
- column:
OID: 1.3.6.1.4.1.42229.1.2.3.3.1.1.6
name: coriant.groove.cardAliasName
tag: coriant_groove_card_alias_name
- column:
OID: 1.3.6.1.4.1.42229.1.2.3.3.1.1.3
name: coriant.groove.cardAdminStatus
tag: coriant_groove_card_admin_status
mapping:
1: up
2: down
- column:
OID: 1.3.6.1.4.1.42229.1.2.3.3.1.1.4
name: coriant.groove.cardOperStatus
tag: coriant_groove_card_oper_status
mapping:
1: up
2: down
- column:
OID: 1.3.6.1.4.1.42229.1.2.3.3.1.1.5
name: coriant.groove.cardAvailStatus
tag: coriant_groove_card_avail_status
mapping:
0: none
1: failed
2: mismatch
3: lower_layer_down
4: not_present
5: shutdown
6: degraded
7: idle
8: busy
9: hibernation
10: in_test
11: loopback
12: software_upgrade
13: initializing
14: unknown
15: incomplete
16: laser_safety_shutoff
17: measuring
18: firmware_loading
19: connected
- column:
OID: 1.3.6.1.4.1.42229.1.2.3.3.1.1.10
name: coriant.groove.cardMode
tag: coriant_groove_card_mode
mapping:
0: not_applicable
1: normal
2: regen
- MIB: CORIANT-GROOVE-MIB
table:
OID: 1.3.6.1.4.1.42229.1.2.3.6.1
name: portTable
symbols:
- OID: 1.3.6.1.4.1.42229.1.2.3.6.1.1.4
name: coriant.groove.portRxOpticalPower # Type CoriantTypesOpticalPower is a string that represents a float in dBm unit e.g. -14.5
- OID: 1.3.6.1.4.1.42229.1.2.3.6.1.1.5
name: coriant.groove.portTxOpticalPower # Type CoriantTypesOpticalPower is a string that represents a float in dBm unit e.g. -14.5
metric_tags:
- column:
OID: 1.3.6.1.4.1.42229.1.2.3.6.1.1.16
name: coriant.groove.portName
tag: coriant_groove_port_name
- column:
OID: 1.3.6.1.4.1.42229.1.2.3.6.1.1.22
name: coriant.groove.portAliasName
tag: coriant_groove_port_alias_name
- column:
OID: 1.3.6.1.4.1.42229.1.2.3.6.1.1.23
name: coriant.groove.portServiceLabel
tag: coriant_groove_port_service_label
- column:
OID: 1.3.6.1.4.1.42229.1.2.3.6.1.1.24
name: coriant.groove.portConnectedTo
tag: coriant_groove_port_connected_to
- MIB: CORIANT-GROOVE-MIB
table:
OID: 1.3.6.1.4.1.42229.1.2.4.1.19.1
name: ochOsTable
symbols:
- OID: 1.3.6.1.4.1.42229.1.2.4.1.19.1.1.23
name: coriant.groove.ochOsCD
- OID: 1.3.6.1.4.1.42229.1.2.4.1.19.1.1.24
name: coriant.groove.ochOsOSNR # Type CoriantTypesOpticalDB is a string that represents a float in dB unit e.g. 33.5
metric_tags:
- column:
OID: 1.3.6.1.4.1.42229.1.2.4.1.19.1.1.21
name: coriant.groove.ochOsServiceLabel
tag: coriant_groove_och_os_service_label
8 changes: 8 additions & 0 deletions snmp/metadata.csv
Original file line number Diff line number Diff line change
Expand Up @@ -217,6 +217,14 @@ snmp.coolingDeviceReading,gauge,,,,[Dell iDRAC] The reading for a cooling device
snmp.coolingDeviceStatus,gauge,,,,[Dell iDRAC] The probe status of the cooling device.,0,snmp,,
snmp.coolingUnitRedundancyStatus,gauge,,,,[Dell iDRAC] The redundancy status of the cooling unit..,0,snmp,,
snmp.coolingUnitStatus,gauge,,,,[Dell iDRAC] The status of the cooling unit.,0,snmp,,
snmp.coriant.groove.cardFanSpeedRate,gauge,,,,"[CORIANT-GROOVE-MIB] The fan speed of percentage. Conditions:../required-type = 'FAN'",0,snmp,,
snmp.coriant.groove.cardTemperature,gauge,,,,"[CORIANT-GROOVE-MIB] Temperature at the monitoring point.",0,snmp,,
snmp.coriant.groove.ochOsCD,gauge,,,,"[CORIANT-GROOVE-MIB] Value of Chromatic Dispersion UNITS:ps/nm",0,snmp,,
snmp.coriant.groove.ochOsOSNR,gauge,,,,"[CORIANT-GROOVE-MIB] Current value of OSNR. The result could be OSNR value with dB",0,snmp,,
snmp.coriant.groove.portRxOpticalPower,gauge,,,,"[CORIANT-GROOVE-MIB] Received optical power",0,snmp,,
snmp.coriant.groove.portTxOpticalPower,gauge,,,,"[CORIANT-GROOVE-MIB] Transmitted optical power",0,snmp,,
snmp.coriant.groove.shelfInletTemperature,gauge,,,,"[CORIANT-GROOVE-MIB] shelf inlet temperature",0,snmp,,
snmp.coriant.groove.shelfOutletTemperature,gauge,,,,"[CORIANT-GROOVE-MIB] shelf outlet temperature",0,snmp,,
snmp.cpiPduBranchCurrent,gauge,,,,[Chatsworth] The current draw in 1/100 amp of the branch on the PDU.,0,snmp,,
snmp.cpiPduBranchEnergy,count,,,,[Chatsworth] Get the branch energy accumulated in decaVA-secs.,0,snmp,,
snmp.cpiPduBranchMaxCurrent,gauge,,,,[Chatsworth] The maximum current draw in 1/100 amp of the branch on the PDU.,0,snmp,,
Expand Down
Loading

0 comments on commit b7b6b2e

Please sign in to comment.