Globally disabled module settings are superseded by OS settings

Where do I modify OS defaults without breaking auto-update?

I am using LibreNMS to poll specific interfaces and response time counts, so i’d like all the modules i dont want turned off without resorting to clicking in the gui many times per device

I used “lnms config:set” to configure global preferences but this doesn’t seem to override OS module preference

lnms config:set os.<name>.poller_modules.<module> <true|false>

for example:
lnms config:set os.iosxr.poller_modules.cipsec-tunnels false

If you want to check the current os settings:
lnsm config:get os.iosxr.poller_modules

(also as a note, most poller modules don’t take up any poller time if no data is discovered)

Thank you sir!

Is there also a way to disable polling on ports by default? That way I can enable polling on select ports?

Thanks,

That doc isn’t updated yet, but it would be lnms config:set os.ios.polling.selected_ports true to set per OS.

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.