librenms-plugins / Weathermap

MIT License
64 stars 51 forks source link

Allow user to configure which ports are shown in data-picker on load. #29

Closed BarbarossaTM closed 8 years ago

BarbarossaTM commented 8 years ago

By default all interfaces of all devices are loaded and listed when opening the data-picker. In large setups this will cause high loading times every time the data-picker is loaded. With the following option this behvaiour can be changed, valid values are:

'all', 'any', '-1' Show all ports (default) 'none', '0' Don't load any ports.

>= 0 Show port of libreNMS $device_id $config['plugins']['Weathermap']['show_interfaces'] = 'all';