Tony Murray
Tony Murray
That isn't right. LibreNMS works with a completely empty config.php. Can you dump out the resulting $config variable and inspect it?
I want just the config.php $config array... so, add `echo var_dump($config);` at the very bottom of your config.php (after the merge). Then I only need the snmp subsection.
Looks like as I suspected, your array_merge is breaking it, you should be using array_merge_recursive()
If you really want to store config in files, you should copy the method the docker uses. Also, database is the preferred place to set config settings. The config.php is...
`lnms config:set` is one way. If you only need to set them at deploy time and allow modification after install https://github.com/librenms/librenms/pull/13259
@filippog apologies for the rudimentary question, but how does configuration management work? Are files better than other methods? As for your issues, did you look at the docker? https://github.com/librenms/docker/blob/master/Dockerfile#L115-L120
Says right here: ``` Cannot redeclare genOID() (previously declared in /home/runner/work/librenm s/librenms/includes/discovery/sensors/count/junos.inc.php:62) ```
I have no idea what this script does, but yes, ifconfig should **not** be used on Linux.
Did you configured rrdcached correctly to allow access to your nfsen rrds?
What is the goal here? Couldn't you just remove references to the old update.php script?