Oid olt zte c320

Hello, I’m working with Telegraf on the ZTE C320 OLT and I would like to recover the Down Octes and Up Octes data from the connected ONT traffic…
I have these OIDs but they don’t match my index “807404032”, maybe they are not the correct OIDs. If anyone has any info I’d appreciate it
1.3.6.1.4.1.3902.1015.1010.5.5.1.2.807404032 zxAnXponOnuIfRxOctes
1.3.6.1.4.1.3902.1015.1010.5.5.1.17.807404032 zxAnXponOnuIfTxOctes

Thanks

I have never worked with that type of device before, but what happens when you take off the index value?

1.3.6.1.4.1.3902.1015.1010.5.5.1.2
and
1.3.6.1.4.1.3902.1015.1010.5.5.1.17

Also, do they respond to the standard linux ifmib items:
1.3.6.1.2.1.2.2.1.10
&
1.3.6.1.2.1.2.2.1.16
OR
1.3.6.1.2.1.31.1.1.1.10
&
1.3.6.1.2.1.31.1.1.1.6

866 / 5,000
For example:

root@rpi:/telegraf.d# snmpbulkwalk -v 2c -c test 192.168.1.1 1.3.6.1.2.1.31.1.1.1.6
iso.3.6.1.2.1.31.1.1.1.6.268435456 = Counter64:2177041804128
iso.3.6.1.2.1.31.1.1.1.6.268435712 = Counter64:4943700503887

root@r:/telegraf.d# snmpbulkwalk -v 2c -c test 192.168.1.1 .1.3.6.1.4.1.3902.1012.3.28.1.1.5
iso.3.6.1.4.1.3902.1012.3.28.1.1.5.268501248.1 = Hex-STRING: 48 57 54 43 52 37 88 FB
iso.3.6.1.4.1.3902.1012.3.28.1.1.5.268501248.2 = Hex-STRING: 48 57 54 43 F3 D7 00 9B

root@r:/telegraf.d# snmpbulkwalk -v 2c -c test 192.168.1.1 1.3.6.1.4.1.3902.1015.1010.5.5.1.2
iso.3.6.1.4.1.3902.1015.1010.5.5.1.2.805830912 = Counter64: 32033340266
iso.3.6.1.4.1.3902.1015.1010.5.5.1.2.805831168 = Counter64: 0

Note that I have no way of relating the indices… I don’t understand why they are other indices… than those of the serials for example…
Maybe there is another OID that retrieves the value of RxOctes and TxOctes, and that has the indexes as in the serials example…

1.3.6.1.2.1.31.1.1.1.6 is the OID for ifHCInOctets, so that is what you are looking for for RxOctets. 1.3.6.1.2.1.31.1.1.1.10 is the oid for ifHCOutOctets, so that would be your TxOctets. Those would match up to your descriptions in either ifName: 1.3.6.1.2.1.31.1.1.1.1 and/or ifAlias: 1.3.6.1.2.1.31.1.1.1.18

https://mibs.observium.org/mib/IF-MIB/

If I understand you… I use those… but they are not those oid… these are specific… that’s why they are from the OLT model ZTE C320

Right, I understand that the ones you provided were vendor specific. I was trying to test out if the vendor also supports base linux ones. If so those may be easier to use. If you would rather use the vendor specific ones then you will need to either reach out to the vendor or try and find a MIB download package for the product. I couldn’t find anything online regarding the OID’s you provided so without that all you can do is keep stepping back one level until you find a description index to match to.

1 Like