Huawei OLT SmartAX GPON port Graphs

Hello,
I use LibreNMS for monitoring Huawei OLT’s. Unfortunately Libre doesn’t draw any graphs for GPON ports like gpon 0/0/0. It only works with Uplink ports like et0/9/0. Any solosion how to fix it?
Libre version: 21.11.0-12-gf8764ddcb - Wed Nov 17 2021 04:40:29 GMT+0100
OLT models:
MA5800-X7 with OS MA5800V100R019C11B066
MA5603T with OS MA5603V800R015C00B058
MA5608T with OS MA5603V800R015C00B058


Validate PHP:
librenms@librenms-alias:~$ ./validate.php

Component Version
LibreNMS 21.11.0-12-gf8764ddcb
DB Schema 2021_11_12_123037_change_cpwVcID_to_unsignedInteger (225)
PHP 7.4.3
Python 3.8.10
MySQL 10.3.31-MariaDB-0ubuntu0.20.04.1
RRDTool 1.7.2
SNMP NET-SNMP 5.8

====================================

[OK] Composer Version: 2.1.12
[OK] Dependencies up-to-date.
[OK] Database connection successful
[FAIL] Database: incorrect column (notifications/datetime)
[FAIL] Database: incorrect column (users/created_at)
[FAIL] We have detected that your database schema may be wrong
[FIX]:
Run the following SQL statements to fix it
SQL Statements:
SET TIME_ZONE=’+00:00’;
ALTER TABLE notifications CHANGE datetime datetime timestamp NOT NULL DEFAULT ‘1970-01-02 00:00:00’ ;
ALTER TABLE users CHANGE created_at created_at timestamp NOT NULL DEFAULT ‘1970-01-02 00:00:01’ ;
[FAIL] Python3 module issue found: 'Required packages: [‘PyMySQL!=1.0.0’, ‘python-dotenv’, ‘redis>=3.0’, ‘setuptools’, ‘psutil>=5.6.0’, ‘command_runner>=1.3.0’]
Package not found: The ‘command_runner>=1.3.0’ distribution was not found and is required by the application

I see that the SNMP GetBulk of .1.3.6.1.2.1.2.2.1.10 OID is returning all interfaces OIDs and counters are working well.

Hello everyone,

I’m also having issues with monitoring GPON ports. I recently updated my version of LibreNMS, i was quite behind, but ever since I updated, my Huawei SmartAX OLTs are not polling the GPON ports in and out traffic. Capturing the debug on “Poller” shows that for example “ifHCOutOctets.4194338048 = 2797493920290” is being captured, but no RRD graph is created.

1 Like

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.

I reviewed the debug data supplied in Issue with drawing graphs of GPON on Huawei devices · Issue #13934 · librenms/librenms · GitHub

And this is a device firmware bug, with no way for LibreNMS to fix it.
It is reporting the same values every time via SNMP.