mirror of
https://github.com/stylersnico/librenms.git
synced 2026-07-12 16:06:25 +02:00
change setting to dp_autocreate (with fallback to cdp_autocreate), allowing new device discovery through discovery protocols to be disabled
git-svn-id: http://www.observium.org/svn/observer/trunk@2464 61d68cd4-352d-0410-923a-c4978735b2b8
This commit is contained in:
@@ -946,6 +946,11 @@ if (!isset($config['log_file']))
|
||||
$config['log_file'] = $config['install_dir'] . "/observium.log";
|
||||
}
|
||||
|
||||
if (isset($config['cdp_autocreate']))
|
||||
{
|
||||
$config['dp_autocreate'] = $config['cdp_autocreate'];
|
||||
}
|
||||
|
||||
if (!isset($config['mibdir']))
|
||||
{
|
||||
$config['mibdir'] = $config['install_dir']."/mibs/";
|
||||
|
||||
Reference in New Issue
Block a user