Add WebUI settings

This commit is contained in:
Rosiak
2016-01-17 19:19:56 +01:00
parent c91a7081cc
commit 4581366bf4
4 changed files with 8 additions and 3 deletions

View File

@@ -54,7 +54,7 @@ You will need to configure default credentials for your devices, LibreNMS doesn'
```
LibreNMS is able to reload the Oxidized list of nodes, each time a device is added to LibreNMS.
To do so, add the following to your config.php.
To do so, edit the option in Global Settings>External Settings>Oxidized Integration or add the following to your config.php.
```php
$config['oxidized']['reload_nodes'] = TRUE;

View File

@@ -25,6 +25,10 @@ $oxidized_conf = array(
'descr' => 'Set the default group returned',
'type' => 'text',
),
array('name' => 'oxidized.reload_nodes',
'descr' => 'Reload Oxidized nodes list, each time a device is added',
'type' => 'checkbox',
),
);
$unixagent_conf = array(

View File

@@ -471,9 +471,9 @@ $config['rancid_ignorecomments'] = 0;
// $config['collectd_dir'] = '/var/lib/collectd/rrd';
// $config['smokeping']['dir'] = "/var/lib/smokeping/";
$config['smokeping']['pings'] = 20;
$config['oxidized']['enabled'] = FALSE;//Set to TRUE
// $config['oxidized']['enabled'] = FALSE;//Set to TRUE
// $config['oxidized']['url'] = 'http://127.0.0.1:8888';// Set the Oxidized rest URL
$config['oxidized']['reload_nodes'] = FALSE;//Set to TRUE, check documentation
// $config['oxidized']['reload_nodes'] = FALSE;//Set to TRUE, check documentation
// NFSen RRD dir.
$config['nfsen_enable'] = 0;
// $config['nfsen_split_char'] = "_";

1
sql-schema/090.sql Normal file
View File

@@ -0,0 +1 @@
INSERT INTO config (config_name,config_value,config_default,config_descr,config_group,config_group_order,config_sub_group,config_sub_group_order,config_hidden,config_disabled) values ('oxidized.reload_nodes','false','false','Reload Oxidized nodes list, each time a device is added','external',0,'oxidized',0,'0','0');