mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
Set allow_duplicate_sysName to be false by default (#5027)
This commit is contained in:
@@ -124,3 +124,8 @@ and you would like to still add devices automatically then you will need to set
|
|||||||
|
|
||||||
If your devices only return a short hostname such as lax-fa0-dc01 but the full name should be lax-fa0-dc01.example.com then you can
|
If your devices only return a short hostname such as lax-fa0-dc01 but the full name should be lax-fa0-dc01.example.com then you can
|
||||||
set `$config['mydomain'] = 'example.com';`
|
set `$config['mydomain'] = 'example.com';`
|
||||||
|
|
||||||
|
#### Unique sysName
|
||||||
|
|
||||||
|
By default we require unique sysNames when adding devices (this is returned over snmp by your devices). If you would like to allow
|
||||||
|
devices to be added with duplicate sysNames then please set `$config['allow_duplicate_sysName'] = true;`.
|
||||||
|
|||||||
@@ -785,7 +785,7 @@ $config['enable_clear_discovery'] = 1;
|
|||||||
$config['force_ip_to_sysname'] = false;// Set to true if you want to use sysName in place of IPs
|
$config['force_ip_to_sysname'] = false;// Set to true if you want to use sysName in place of IPs
|
||||||
|
|
||||||
// Allow duplicate devices by sysName
|
// Allow duplicate devices by sysName
|
||||||
$config['allow_duplicate_sysName'] = true;// Set to false if you want to only allow unique sysName's
|
$config['allow_duplicate_sysName'] = false;// Set to true if you want to allow duplicate sysName's
|
||||||
|
|
||||||
$config['enable_port_relationship'] = true;
|
$config['enable_port_relationship'] = true;
|
||||||
// Set this to false to not display neighbour relationships for ports
|
// Set this to false to not display neighbour relationships for ports
|
||||||
|
|||||||
Reference in New Issue
Block a user