Details
-
Improvement
-
Resolution: Fixed
-
Trivial
-
None
-
Professional Edition
-
None
Description
The "team" network interfaces are similar to "bond" interfaces on Linux: they are interface bundle virtual interfaces.
In file includes/defaults.inc.php it can be seen that "bond" interfaces are filtered out:
$config['device_traffic_descr'][] = '/bond/';
The "team" interfaces should be filtered out similarly - currently traffic statistics on all machines including team interfaces is counted two times: first on the physical interfaces that are team members, and then second time on the team-interface itself.
Attachments
Activity
Interfaces:
$ ifconfig
|
eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
|
inet6 fe80::x prefixlen 64 scopeid 0x20<link>
|
ether 00:x txqueuelen 1000 (Ethernet)
|
RX packets 1103525134 bytes 1389011243074 (1.2 TiB)
|
RX errors 0 dropped 3241 overruns 0 frame 0
|
TX packets 597140121 bytes 674431446585 (628.1 GiB)
|
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
|
eth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
|
inet6 fe80::x prefixlen 64 scopeid 0x20<link>
|
ether 00:x txqueuelen 1000 (Ethernet)
|
RX packets 2013892281 bytes 2738947430391 (2.4 TiB)
|
RX errors 0 dropped 1913 overruns 0 frame 0
|
TX packets 602186401 bytes 695021289792 (647.2 GiB)
|
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
|
team0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
|
inet x netmask 255.255.255.192 broadcast x
|
inet6 x prefixlen 64 scopeid 0x0<global>
|
inet6 fe80::x prefixlen 64 scopeid 0x20<link>
|
ether 00:x txqueuelen 1000 (Ethernet)
|
RX packets 853516828 bytes 3954042968570 (3.5 TiB)
|
RX errors 0 dropped 427 overruns 0 frame 0
|
TX packets 618938578 bytes 1325975506709 (1.2 TiB)
|
TX errors 0 dropped 51 overruns 0 carrier 0 collisions 0
|
Screenshot:
Discovery:
##### Starting discovery run at 2021-09-30 17:06:11 ##########
|
|
##### x [45] #####
|
|
o OS Type linux
|
o OS Group unix
|
o SNMP Version v2c
|
o Last discovery 2021-09-30 10:35:35
|
o Last duration 20.22 seconds
|
|
##### Module Start: os #####
|
|
+-------------+----------------------------------------------------------------------------------------------+
|
| OID | |
|
+-------------+----------------------------------------------------------------------------------------------+
|
| sysDescr | Linux x 3.10.0-1160.42.2.el7.x86_64 #1 SMP Tue Sep 7 14:49:57 UTC 2021 x86_64 |
|
| sysObjectID | .1.3.6.1.4.1.8072.3.2.10 |
|
+-------------+----------------------------------------------------------------------------------------------+
|
|
o Detect OS matched (linux: Linux):
|
+------+----------------------------------------------------+--+
|
| OID | Matched definition | |
|
+------+----------------------------------------------------+--+
|
| file | /opt/observium/includes/discovery/os/linux.inc.php | |
|
+------+----------------------------------------------------+--+
|
o Duration 8.7377s
|
|
##### Module Start: ports #####
|
|
o Caching OIDs ifDescr ifAlias ifName ifType ifOperStatus
|
o Caching DB 4 ports
|
o Discovering ports ....
|
+---------+---------+--------+---------+------------------+-------------+---------+
|
| ifIndex | ifDescr | ifName | ifAlias | ifType | Oper Status | Ignored |
|
+---------+---------+--------+---------+------------------+-------------+---------+
|
| 1 | lo | lo | ... | softwareLoopback | up | no |
|
| 2 | eth0 | eth0 | ... | ethernetCsmacd | up | no |
|
| 3 | eth1 | eth1 | ... | ethernetCsmacd | up | no |
|
| 4 | team0 | team0 | ... | ethernetCsmacd | up | no |
|
+---------+---------+--------+---------+------------------+-------------+---------+
|
o Duration 0.3973s
|
|
##### x [45] completed discovery modules at 2021-09-30 17:06:21 #####
|
|
o Discovery time 9.159 seconds
|
|
##### Finished discovery run at 2021-09-30 17:06:21 #####
|
|
o Devices Discovered 1
|
o Discovery Time 10.77 secs
|
o Memory usage 23MB (peak: 23.25MB)
|
o MySQL Usage Cell[2/0s] Row[2/0.001s] Rows[7/0.005s] Column[1/0.001s] Update[1/0.004s] Insert[1/0.001s] Delete[1/0.001s]
|
o RRDTool Usage
|
Show please which interfaces you mean. Screenshot and discovery debug:
./discovery.php -m os,ports -h <device>
|
Please make and attach additional information about the device:
- full snmp dump from device:
snmpwalk -v2c -c <community> -t 3 -Cc --hexOutputLength=0 -ObentxU <hostname> .1 > myagent.snmpwalk
snmpwalk -v2c -c <community> -t 3 -Cc --hexOutputLength=0 -ObentxU <hostname> .1.3.6.1.4.1 >> myagent.snmpwalk
If device not support SNMP version 2c, replace -v2c with -v1.
- If you have problems with discovery or poller processes, please do and attach these debugs:
./discovery.php -d -h <device>
./poller.php -d -h <device>
- additionally attach device and/or vendor specific MIB files
Note, this comment is added automatically.
Added in r11626.