Allow the hostname to resolve to the sysName, ie Dynamic DNS (#8810)

This commit is contained in:
Richard Mayhew
2018-06-23 22:59:09 +02:00
committed by Neil Lathwood
parent 8c610326e3
commit ab5d17d715
3 changed files with 11 additions and 1 deletions

View File

@@ -284,6 +284,10 @@ Enable or disable the sysDescr output for a device.
$config['force_ip_to_sysname'] = false;
```
When using IP addresses as a hostname you can instead represent the devices on the WebUI by its SNMP sysName resulting in an easier to read overview of your network. This would apply on networks where you don't have DNS records for most of your devices.
```php
$config['force_hostname_to_sysname'] = false;
```
When using a dynamic DNS hostname or one that does not resolve, this option would allow you to make use of the SNMP sysName instead as the preferred reference to the device.
```php
$config['device_traffic_iftype'][] = '/loopback/';