-
Hello, I want to make sure I understand correctly the implementation of inetAddress that has been done in
I want to use the ** I'd like to preface that this mib is marked experimental and that could be the reason for all the issues. Hence why I am just looking for a second look by people that know more about the core of snmp_exporter and the implemented inetAddress The `snmp.yml``config generated and the generator config used: ( reduce for clarity, only walking 1 oid, but issue still the same for the full walk of mib )
Juniper uses these indexes Indexes: And from what I understood of #330 is that the snmp_exporter is taking care of the AddrType , hence why it did not add it to the indexes in generated file. Here is my result that I am trying to get a second look on: Exemple of a PeerIndex info walk (ip values changed )
The returned metrics from the exporter have shifted the values for the LocalAddr, the RemoteAddr is correct ( it's a hex value padded with lots of 0, that's something else to see if that can be returned another way) Example for
In the indexes oid jnxBgpM2PeerLocalAddr.0.1.10.10.10.122.1.10.10.10.121 = 0A 0A 0A 7A So Also changing I have tried adding the addrType manually in the indexes but was even worse results. Thank you in advance for any insights . |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
I have run into the same issue, it is due to the device breaking RFC specs and not sending a size along with the address (which i found from this issue). To fix you need to override the address types to
|
Beta Was this translation helpful? Give feedback.
I have run into the same issue, it is due to the device breaking RFC specs and not sending a size along with the address (which i found from this issue). To fix you need to override the address types to
InetAddressMissingSize
like this: