Ignore Interfaces Discovery Not Working

Running LibreNMS 23.9.1-29-g470dcbe9b with distribruted pollers.

Trying to get LibreNMS to not discover Calix ONT interfaces with no luck.

Currently have the following in the config file to try and get something to work:

Ignore Interfaces on Discovery

$config [‘os’][‘exa’][‘bad_if_regexp’] = ‘/[1][Nn][Tt]/';
$config [‘bad_if_regexp’][] = '/[2][Nn][Tt]
/’;
$config [‘bad_if_regexp’] = ‘/^ont.*/’;
$config [‘os’][‘axos’][‘bad_if_regexp’] = ‘/[3]+/g[0-9]/’;

Enable Selected Port Polling

$config [‘os’][‘exa’][‘polling’][‘selected_ports’] = true;
$config [‘os’][‘axos’][‘polling’][‘selected_ports’] = true;

At first everything seemed to work a few months ago, but started new equipment and it keeps adding all the ONT interfaces. Anyone have any insight at what is wrong or why this doesn’t work?

The stranger part is it seems to work randomly on some devices and interfaces. All devices are running the same hardware and OS. Only big difference is there’s both EXA and AXOS.


  1. Oo ↩︎

  2. Oo ↩︎

  3. 0-9 ↩︎

Was able to get resolved.
Looks like I needed the following added to the config.

$config [‘bad_ifname_regexp’][] = ‘/^ont*/’;

After adding, ONT devices no longer are being discovered.