mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
doc: Added FAQ for why interfaces are missing from overall traffic graphs (#4696)
This commit is contained in:
committed by
Daniel Preussker
parent
06b0906aae
commit
f14335b7a5
@@ -20,6 +20,7 @@ source: Support/FAQ.md
|
||||
- [Things aren't working correctly?](#faq18)
|
||||
- [What do the values mean in my graphs?](#faq21)
|
||||
- [Why does a device show as a warning?](#faq22)
|
||||
- [Why do I not see all interfaces in the Overall traffic graph for a device?](#faq23)
|
||||
|
||||
### Developing
|
||||
- [How do I add support for a new OS?](#faq8)
|
||||
@@ -169,6 +170,39 @@ here are those values:
|
||||
This is indicating that the device has rebooted within the last 24 hours (by default). If you want to adjust this
|
||||
threshold then you can do so by setting `$config['uptime_warning']` in config.php. The value must be in seconds.
|
||||
|
||||
#### <a name="faq23"> Why do I not see all interfaces in the Overall traffic graph for a device?</a>
|
||||
|
||||
By default numerous interface types and interface descriptions are excluded from this graph. The excluded defailts are:
|
||||
|
||||
```php
|
||||
$config['device_traffic_iftype'][] = '/loopback/';
|
||||
$config['device_traffic_iftype'][] = '/tunnel/';
|
||||
$config['device_traffic_iftype'][] = '/virtual/';
|
||||
$config['device_traffic_iftype'][] = '/mpls/';
|
||||
$config['device_traffic_iftype'][] = '/ieee8023adLag/';
|
||||
$config['device_traffic_iftype'][] = '/l2vlan/';
|
||||
$config['device_traffic_iftype'][] = '/ppp/';
|
||||
|
||||
$config['device_traffic_descr'][] = '/loopback/';
|
||||
$config['device_traffic_descr'][] = '/vlan/';
|
||||
$config['device_traffic_descr'][] = '/tunnel/';
|
||||
$config['device_traffic_descr'][] = '/bond/';
|
||||
$config['device_traffic_descr'][] = '/null/';
|
||||
$config['device_traffic_descr'][] = '/dummy/';
|
||||
```
|
||||
|
||||
If you would like to re-include l2vlan interfaces for instance, you first need to `unset` the config array and set your options:
|
||||
|
||||
```php
|
||||
unset($config['device_traffic_iftype']);
|
||||
$config['device_traffic_iftype'][] = '/loopback/';
|
||||
$config['device_traffic_iftype'][] = '/tunnel/';
|
||||
$config['device_traffic_iftype'][] = '/virtual/';
|
||||
$config['device_traffic_iftype'][] = '/mpls/';
|
||||
$config['device_traffic_iftype'][] = '/ieee8023adLag/';
|
||||
$config['device_traffic_iftype'][] = '/ppp/';
|
||||
```
|
||||
|
||||
#### <a name="faq8"> How do I add support for a new OS?</a>
|
||||
|
||||
The easiest way to show you how to do that is to link to an existing pull request that has been merged in on [GitHub](https://github.com/librenms/librenms/pull/352/files)
|
||||
|
Reference in New Issue
Block a user