![](https://secure.gravatar.com/avatar/fe7772a67126de03316c4b8f86338c59.jpg?s=120&d=mm&r=g)
I was looking at the graphing off of the main page, where you select All Devices, then Bits, and had a quick question about this. I assume this is an aggregate of all interfaces being displayed. What I am curious to know is if the graphs show interfaces that are "technically" duplicates? For example, a straight interface on a juniper device can be ge-1/0/0, but because there is a unit attached to the interface, sort of like a sub-interface, ge-1/0/0.0 shows up as well. The problem here is, its the same statistics for both of the interfaces, in this example. So, if the aggregate graph is looking at all interfaces and includes both in the aggregate graph, well than the aggregate is not correct?
Not sure if I explained it correctly, and if not, please let me know. What i am getting at is, it seems as though there is duplicate information being aggregated so the graphs is not accurate, from what it looks like.
Thoughts?
![](https://secure.gravatar.com/avatar/b3a546cd599e8024ed2790e548f4c63b.jpg?s=120&d=mm&r=g)
Subinterfaces on junos appear to have ifType = propVirtual or l2vlan
opt/observium/html/includes/graphs/device/bits.inc.php (which is the one I think you are talking about)
Looks in device_traffic_iftype / device_traffic_descr for things to ignore in the aggregate
So your LAGs are not included, or subinterfaces (matching /virtual/i or /l2vlan/i )...
This is my understanding anyway....
$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'][] = '/:\d+/'; #// this breaks on xos (ifName = 1:1) $config['device_traffic_descr'][] = '/bond/'; $config['device_traffic_descr'][] = '/null/'; $config['device_traffic_descr'][] = '/dummy/';
On 27/09/13 1:07 PM, "Luis Quintana" sla07@earthlink.net wrote:
I was looking at the graphing off of the main page, where you select All Devices, then Bits, and had a quick question about this. I assume this is an aggregate of all interfaces being displayed. What I am curious to know is if the graphs show interfaces that are "technically" duplicates? For example, a straight interface on a juniper device can be ge-1/0/0, but because there is a unit attached to the interface, sort of like a sub-interface, ge-1/0/0.0 shows up as well. The problem here is, its the same statistics for both of the interfaces, in this example. So, if the aggregate graph is looking at all interfaces and includes both in the aggregate graph, well than the aggregate is not correct?
Not sure if I explained it correctly, and if not, please let me know. What i am getting at is, it seems as though there is duplicate information being aggregated so the graphs is not accurate, from what it looks like.
Thoughts? _______________________________________________ observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
![](https://secure.gravatar.com/avatar/fe7772a67126de03316c4b8f86338c59.jpg?s=120&d=mm&r=g)
Thanks for the info, Peter
On Sep 26, 2013, at 11:37 PM, Peter Childs pchilds@staff.iinet.net.au wrote:
Subinterfaces on junos appear to have ifType = propVirtual or l2vlan
opt/observium/html/includes/graphs/device/bits.inc.php (which is the one I think you are talking about)
Looks in device_traffic_iftype / device_traffic_descr for things to ignore in the aggregate
So your LAGs are not included, or subinterfaces (matching /virtual/i or /l2vlan/i )...
This is my understanding anyway....
$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'][] = '/:\d+/'; #// this breaks on xos (ifName = 1:1) $config['device_traffic_descr'][] = '/bond/'; $config['device_traffic_descr'][] = '/null/'; $config['device_traffic_descr'][] = '/dummy/';
On 27/09/13 1:07 PM, "Luis Quintana" sla07@earthlink.net wrote:
I was looking at the graphing off of the main page, where you select All Devices, then Bits, and had a quick question about this. I assume this is an aggregate of all interfaces being displayed. What I am curious to know is if the graphs show interfaces that are "technically" duplicates? For example, a straight interface on a juniper device can be ge-1/0/0, but because there is a unit attached to the interface, sort of like a sub-interface, ge-1/0/0.0 shows up as well. The problem here is, its the same statistics for both of the interfaces, in this example. So, if the aggregate graph is looking at all interfaces and includes both in the aggregate graph, well than the aggregate is not correct?
Not sure if I explained it correctly, and if not, please let me know. What i am getting at is, it seems as though there is duplicate information being aggregated so the graphs is not accurate, from what it looks like.
Thoughts? _______________________________________________ observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
participants (2)
-
Luis Quintana
-
Peter Childs