How to make use of excluding "bad_if"?

I’v been reading docs regarding this topic but i’m not sure how to apply it. Should i modify original yaml for vendor or create my own “specific” yaml? will it break after librenms update?
Do i go via config.php and do something there?

I want to exclude a number of interfaces from GPON nokia-isam plattform since there are 10000+ and it crashes my server but at the same time i would like to keep som key interfaces to monitor.

Hello,
You can define them inside config.php like this on per os basis:

$config['os']['iosxr']['bad_if'][] = 'ControlEthernet';
1 Like

I’m running this and i want to exclude ifDescr = PHYSICALUNI, case insensitive
$config[‘os’][‘nokia-isam’][‘bad_if_regexp’][] = ‘(?i)\bPHYSICALUNI\b’;

it worked without (?i) but it didnt catch all

Thanks for the pointer. I got it working now.

$config[‘os’][‘nokia-isam’][‘bad_if_regexp’][] = ‘/(?i)\bPHYSICALUNI/’; // PHYSICALUNI
$config[‘os’][‘nokia-isam’][‘bad_ifalias_regexp’][] = ‘/(?i)\bPHYSICALUNI/’; // PHYSICALUNI