Replies: 1 comment
-
Did you found the answer? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi all,
wonder if anyone can help me.
I'm polling a huawei device that has a mib that deals with optical light levels on sfp fibre interfaces.
the MIB uses 'entPhysicalIndex' from ENTITY-MIB as the index for each of the interfaces, which produces index's like these: (67108867)
there is another mib ENTITY-MIB entAliasMappingIdentifier which maps a entPhysicalIndex to the ifIndex from IF-MIB
however this mib doesnt just return an integer with the Ifindex in it (i wish it did)
instead it returns the following:
the OID it returns is the OID for the ifIndex for each interface from IF-MIB:
"A unique value, greater than zero, for each interface. It is recommended that values are assigned contiguously starting from 1. The value for each interface sub-layer must remain constant at least from one re-initialization of the entity's network management system to the next re-initialization."
--_
Does anyone know if its possible to somehow cross reference the two? Ive used the generator to generate my snmp.yml for the entAliasMappingIdentifier metric and the oid for optical light levels and Prom correctly scrapes them:
the end result of what im looking for is the optical light levels for each If interface. if entAliasMappingIdentifier returned just an integer for the Ifindex I could have used that and joined the two metrics based on the entPhysicalIndex but it just returns an Ifindex OID :(
I am also querying the device for the standard IF-MIB metrics so i have ifIndex etc defined as part of my snmp.yml.
thanks
Jamie
Beta Was this translation helpful? Give feedback.
All reactions