Revert "Revert "Added location_map_regex""

This commit is contained in:
Neil Lathwood
2016-02-09 19:02:38 +00:00
parent 4cc523aeb0
commit f074f25be2
4 changed files with 17 additions and 2 deletions
+6 -1
View File
@@ -379,10 +379,15 @@ NFSen integration support.
#### Location mapping
Exact Matching:
```php
$config['location_map']['Under the Sink'] = "Under The Sink, The Office, London, UK";
```
The above is an example, this will rewrite basic snmp locations so you don't need to configure full location within snmp.
Regex Matching:
```php
$config['location_map']['/Sink/'] = "Under The Sink, The Office, London, UK";
```
The above are examples, these will rewrite device snmp locations so you don't need to configure full location within snmp.
#### Interfaces to be ignored