"Reload Oxidized nodes list, each time a device is added" is not working


Whenever auto-discovery adds a device to LibreNMS the “oxidized list reload” is not triggered. I have to reload the list manually.
Maybe the issue resides only in my environment (as before). But there was time when it worked. In the previous releases it didn’t.

How can I debug this feature?


I have the same problem and would love an answer myself.

I’m not using auto_discovery, but snmp-scan.py. had the same issue oxidized node reload, by looking into discovery.php, it only tries to reload if you have this corn running and if the devices are not discovered at least once (last_discovered` IS NULL’).

#*/5 * * * * librenms /opt/librenms/discovery.php -h new >> /dev/null 2>&1

So added the reload to addhost.php after 203. sleep is there because I notice without that Librenms API will not return the new

204 sleep(5);
205 echo “Request oxidixed node reload”;
206 oxidized_reload_nodes();