mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
Add if label docs to os settings (#8779)
DO NOT DELETE THIS TEXT #### Please note > Please read this information carefully. You can run `./scripts/pre-commit.php` to check your code before submitting. - [x] Have you followed our [code guidelines?](http://docs.librenms.org/Developing/Code-Guidelines/) #### Testers If you would like to test this pull request then please run: `./scripts/github-apply <pr_id>`, i.e `./scripts/github-apply 5926`
This commit is contained in:
committed by
Neil Lathwood
parent
9bfb5add37
commit
48f06bb48a
@ -4,6 +4,7 @@ source: os/Settings.md
|
||||
This page documents settings that can be set in the os yaml files or in config.php.
|
||||
All settings listed here are optional. If they are not set, the global default will be used.
|
||||
|
||||
### User override in config.php
|
||||
Users can override these settings in their config.php.
|
||||
|
||||
For example, to set an alternate icon for ios:
|
||||
@ -33,6 +34,18 @@ good_if: # ignore all other bad_if settings ifDescr (substring, case insensitive
|
||||
|
||||
```
|
||||
|
||||
### Controlling interface labels
|
||||
By default we use ifDescr to label ports/interfaces.
|
||||
Setting either `ifname` or `ifalias` will override that. Only set one of these. ifAlias is user supplied.
|
||||
`ifindex` will append the ifindex to the port label.
|
||||
|
||||
```yaml
|
||||
ifname: true
|
||||
ifalias: true
|
||||
|
||||
ifindex: true
|
||||
```
|
||||
|
||||
### Disable snmpbulkwalk
|
||||
Some devices have buggy snmp implementations and don't respond well to the more efficient snmpbulkwalk.
|
||||
To disable snmpbulkwalk and only use snmpwalk for an os set the following.
|
||||
|
Reference in New Issue
Block a user