Extended polling settings for specific interfaces

Tags: #<Tag:0x00007f3b91333b40> #<Tag:0x00007f3b91333988>

Good day,
Can certain interface types (e.g. vlan) be created but not their counters or rrd files. At this point, it is possible to completely ignore the creation and polling of such interfaces in the $config configuration[‘os’][‘xos’][‘bad_iftype’][] = “propVirtual”; but in this case, such interfaces are completely ignored, if the IP on such interface is raised, no database entry is created for it in the ipv4_addresses table.
I have a lot of L2 switches on my network, with a bunch of backhaul vlan’s without ip addresses (>15000 records in vlans table) and enabling $config[‘os’][‘xos’][‘bad_iftype’][] = “propVirtual”; it saves disk space of librenms server and improves its performance, but at the same time it loses functionality of ipv4-addresses module. Besides, most L2+ switches do not allow you to read vlan traffic.

Actually, it shouldn’t improve performance much. It still polls them, just doesn’t create rrd/DB.

Hi, murrant!
Just checked, rrd files are being created.
with $config[‘os’][‘xos’][‘bad_iftype’][] = “propVirtual”;
/opt/librenms/rrd/192.xxx.xxx.xxx.

du -h

113M .
Without:
/opt/librenms/rrd/192.xxx.xxx.xxx.

du -h

1.3G .

With $config[‘os’][‘xos’][‘bad_iftype’][] = “propVirtual”;
изображение
Without:
изображение

1 Like