Hello.
Today, I noticed that the MPLS tab on LibreNMS of our Nokia 7750 routers disappeared.
When I checked the log tab, an error saying Error polling mpls module. Check log file for more details. appears.
After checking librenms.log file, the file contains the following errors (the errors started at 2025-01-20T00:20:19 UTC)
%rError polling mpls module for x.x.x.x.%n ErrorException: Attempt to read property “svc_id” on null in /opt/librenms/LibreNMS/OS/Timos.php:589
%rError polling mpls module for x.x.x.x.%n PDOException: SQLSTATE[23000]: Integrity constraint violation: 1048 Column ‘mplsLspFromAddr’ cannot be null in /opt/librenms/vendor/laravel/framework/src/Illuminate/Database/Connection.php:612
It worked correctly for months, and this SQL error appeared all of a sudden.
Is anyone experiencing the same errors? Was there any change on the DB or validations?
yes, we have the same problem. MPLS no longer works as well as it used to - it seems to hang. BGP is suddenly missing completely - despite poller etc. on enable. I set up a fresh Libre instance in the lab - same shit. I’m almost out of my mind and still have no solution. We still use a rendudantes monitoring from another vendor where BGP info is coming but that’s no solution… It’s generally slow.
I experience similar issue with MPLS on Nokia hardware, 7250IXR-s
Seems it have started on january 20th as you have pointed out.
7250 reports “error polling MPLS module” on every polling cycle (5 min)
We do have some 7210 SAS and no issues there
actually i got this error ([2025-02-11T14:28:58][ERROR] %rError discovering mpls module for 10.25.0.1.%n PDOException: SQLSTATE[23000]: Integrity constraint violation: 1048 Column ‘mplsLspFromAddr’ cannot be null in /opt/librenms/vendor/laravel/framework/src/Illuminate/Database/MySqlConnection.php:45)
on some of my 7750 sr , but for another routers had no that error
so I solve it by removing stirring from PHP confit
librenms/LibreNMS/Modules/Mpls.php file this 2 strings