From f14335b7a5972b6b6721fe55a54ce4ccf3c44ae6 Mon Sep 17 00:00:00 2001 From: Neil Lathwood Date: Sun, 2 Oct 2016 08:27:12 +0100 Subject: [PATCH] doc: Added FAQ for why interfaces are missing from overall traffic graphs (#4696) --- doc/Support/FAQ.md | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) diff --git a/doc/Support/FAQ.md b/doc/Support/FAQ.md index 5b571f02b2..6dc97884d3 100644 --- a/doc/Support/FAQ.md +++ b/doc/Support/FAQ.md @@ -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. +#### Why do I not see all interfaces in the Overall traffic graph for a device? + +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/'; +``` + #### How do I add support for a new OS? 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)