Closed hrv231 closed 4 years ago
What would happen if I decide to change some settings on the config.php file?
The config.php file must not be modified directly. The recommended way is custom config files.
- edit the snmp community
You should use a custom config file, for example:
<?php
$config['snmp']['community'] = ['yourcommunity'];
- Disable billing
You may use the BILLING_CALCULATE_ENABLE
environment variable to change the default billing behavior, for example:
docker run -e BILLING_CALCULATE_ENABLE=false ...
- change the polling to 1 min
You may use the POLLERS_CRON
environment variable to change the default cron schedule, for example:
docker run -e POLLERS_CRON="*/1 * * * *" ...
- disable ospf and bgp
- $config['force_ip_to_sysname'] = true;
- $config['discovery_by_ip'] = true;
- $config['autodiscovery']['xdp'] = true;
You should use a custom config file, for example:
<?php
$config['autodiscovery']['ospf'] = false;
$config['autodiscovery']['bgp'] = false;
$config['force_ip_to_sysname'] = true;
$config['discovery_by_ip'] = true;
$config['autodiscovery']['xdp'] = true;
Can you make those configs the same as what you have in your page "Enabling/disabling LibreNMS features"?
Do you mean introducing new environment variables to control the SNMP community, OSPF and BGP?
Can you also tell me if the "Enabling/disabling LibreNMS features" is something that I need to enable or disable on my docker configs? Something like what I have done below in my container with DB_USER, etc. ?
Yes, these are environment variables that may be passed via docker run
, but I do not know about GUI managers.
What would happen if I decide to change some settings on the config.php file? In my case, I would like to:
Can you make those configs the same as what you have in your page "Enabling/disabling LibreNMS features"?
Can you also tell me if the "Enabling/disabling LibreNMS features" is something that I need to enable or disable on my docker configs? Something like what I have done below in my container with DB_USER, etc. ?
Below is what I have configured, it works great, but I would like to know more about the things above.![image](https://user-images.githubusercontent.com/41212308/70190965-3a81ea00-16ac-11ea-81a6-015f540d5762.png)
Thank you for this great work, It took me a bit of try and test to make it work with my mariadb docker. I'm using unRAID 6.7.2
Any suggestions would appreciate it as well.
Thanks.