mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
update xdp filter documentation
This commit is contained in:
@@ -67,17 +67,23 @@ Enabled by default.
|
||||
|
||||
This includes FDP, CDP and LLDP support based on the device type.
|
||||
|
||||
Devices may be excluded from xdp discovery by name, description, or platform.
|
||||
Devices may be excluded from xdp discovery by sysname and sysdesc.
|
||||
|
||||
```php
|
||||
//Exclude devices by name
|
||||
$config['autodiscovery']['xdp_exclude']['sysname_regexp'][] = '/^dev/'
|
||||
$config['autodiscovery']['xdp_exclude']['sysname_regexp'][] = '/host1/';
|
||||
$config['autodiscovery']['xdp_exclude']['sysname_regexp'][] = '/^dev/';
|
||||
|
||||
//Exclude devices by description
|
||||
$config['autodiscovery']['xdp_exclude']['sysdesc_regexp'][] = '/unmanaged switch/'
|
||||
$config['autodiscovery']['xdp_exclude']['sysdesc_regexp'][] = '/Vendor X/';
|
||||
$config['autodiscovery']['xdp_exclude']['sysdesc_regexp'][] = '/Vendor Y/';
|
||||
```
|
||||
|
||||
Devices may be excluded from cdp discovery by platform.
|
||||
|
||||
```php
|
||||
//Exclude devices by platform(Cisco only)
|
||||
$config['autodiscovery']['cdp_exclude']['platform_regexp'][] = 'WS-C3750G-12S'
|
||||
$config['autodiscovery']['cdp_exclude']['platform_regexp'][] = '/WS-C3750G/';
|
||||
```
|
||||
|
||||
These devices are excluded by default:
|
||||
|
||||
Reference in New Issue
Block a user