Gpon zte c300/c320

I would do this type of discovery using LibreNMS “Components” which are a generic way of storing data and polling it. Standard Interface is tighlty linked to IF-MIB and would not be adapted for anything else.
Using Components, you could do a discovery phase (with a new module), a polling phase (again with a new module) and create new WebUI to display this data.

OSPF neighbors are an example of this “Component” usage.

Hi, do you found how to graphs traffic onu interface from OLT?

snmpget -v2c -c public 172.16.2.100 .1.3.6.1.4.1.3902.1015.1010.5.56.1.1.2.2416967936  
.1.3.6.1.4.1.3902.1015.1010.5.56.1.1.3.2416967936
iso.3.6.1.4.1.3902.1015.1010.5.56.1.1.2.2416967936 = Counter64: **2558111**
iso.3.6.1.4.1.3902.1015.1010.5.56.1.1.3.2416967936 = Counter64: **37090910**


172.16.2.100#show interface gpon-onu_1/1/1:1
ONU statistic:
   Input rate :                  0 Bps                0 pps
   Output rate:                155 Bps                1 pps
   Input bandwidth throughput :0.0%
   Output bandwidth throughput: N/A
Interface peak rate:
   Input peak rate :                104 Bps                0 pps
   Output peak rate:              27748 Bps               87 pps
Total statistic:
  Input:
    Bytes:**2558111**              Packets:4162
  Output:
    Bytes:**37092318**             Packets:537759

Hi, what software do you use to graph bandwith per ONU bro?

Hi bro, so, do you have what are the OID to Output rate and Input rate ?,

thanks!

Hi, i’m testing my code…
BTW, i’m added temperature, cpu, memory, ONU/OLT RX dbm

Next, i will try to discover ONU as Interface of OLT, with bandwith and errror counters
Then, i will ask help to push my code to librenms thru GIT

3 Likes

Hi there.

Just a tip: If you want to add ONU data (sensors, interfaces, etc) I would make that optional creating a module.

Why? Think in a OLT with, lets say, 300 ONUs. That means you will have a device overview with 300+ sensors that will need to load. And now think in a OLT with 3k ONUs.

I dont own a ZTE but Huawei ones. In my case, polling ONU info would multiply no less than x10 my current sensor count in LibreNMS. And thats only with 1 sensor (ONU RX).

That would kill my current install totally :wink:

Hi Guys!, thanks for your comments!, so, I need only to graph bandwidth for ONU. could you give a example how I need to configure the template to do it please?, Right now I am using Cacti, but I need to improve discovery ONU, because I am configuring one by one ONU OID (Tx, Rx) :woozy_face:.

Thanks in advance!

Hey.

Checked for gpon-onu_1 / 1/1: 1 matches

snmpwalk -v 2c -c public 10.100.101.194 1.3.6.1.4.1.3902.1015.1010.5.56.1
iso.3.6.1.4.1.3902.1015.1010.5.56.1.1.1.2416967936 = Counter64: 0
iso.3.6.1.4.1.3902.1015.1010.5.56.1.1.2.2416967936 = Counter64: 2911646692
iso.3.6.1.4.1.3902.1015.1010.5.56.1.1.3.2416967936 = Counter64: 104337451192
iso.3.6.1.4.1.3902.1015.1010.5.56.1.1.4.2416967936 = Counter64: 23776097
iso.3.6.1.4.1.3902.1015.1010.5.56.1.1.5.2416967936 = Counter64: 76152543

#show interface gpon-onu_1/1/1:1
ONU statistic:
Input rate : 0 Bps 0 pps
Output rate: 0 Bps 0 pps
Input bandwidth throughput :0.0%
Output bandwidth throughput: N/A
Interface peak rate:
Input peak rate : 735007 Bps 1369 pps
Output peak rate: 4476011 Bps 3014 pps
Total statistic:
Input:
Bytes:2911646692 Packets:23776097
Output:
Bytes:104337451192 Packets:76152543

And how to understand how for the next gpon-onu_1 / 1/1: 2, etc.

Hello, sorry to post on an old thread, but can you tell me the OID to get the Power Levels of the ONUs?

Thank you

Hi, do you have this changes in a github tree?

are those based on the 1.2.5 MIB, of you somehow found the 2.1.0 MIB? :slight_smile:

Hello how did you manage to put in cpu and memory graphics from zte

[image]

and if you can show me for the measurements what code you used thank you

1 Like

Here my test code file over root of librenms install, don’t want to PR, cause ugly and snmp problems on devices

But ZTE C320 has very slow CPU and VERY SLOW AND BUGGY snmp replies… So i disappointed in these devices…

This can work normaly on small count of ONT/ONU on OLT…
Device needs SNMP data caching on firmware level,or may be spike-nails in PHP code, to to align received or non-received data)

but CPU/FAN/TEMP graphs looks normal

thank you very much check and see on the c300 how it goes back

Hello, I tried to install mib but it doesn’t even want to see the processor or memory

You have make a great job !

It’s possible to share your files for add ZTE olt on librenms ? This was helpful f

Hi, can I get your code? because this link is not valid anymore. I have this device but after add to Librenms only show basic information such as system up, location, sysname.