intelsdi-x / snap-plugin-collector-ethtool

Collects ethtool interface stats & registry dump
http://snap-telemetry.io/
Apache License 2.0
0 stars 13 forks source link

Unable to load ethtool plugin #8

Closed kamsz closed 8 years ago

kamsz commented 8 years ago

@lmroz asked for stderr and ethtool results:

snap-plugin-collector-ethtool.stderr.txt

ethtool.txt

root@node-1:~# ethtool -i eth0 driver: ixgbe version: 3.15.1-k firmware-version: 0x80000647 bus-info: 0000:01:00.0 supports-statistics: yes supports-test: yes supports-eeprom-access: yes supports-register-dump: yes supports-priv-flags: no

root@node-1:~# ethtool -i eth1 driver: ixgbe version: 3.15.1-k firmware-version: 0x80000647 bus-info: 0000:01:00.1 supports-statistics: yes supports-test: yes supports-eeprom-access: yes supports-register-dump: yes supports-priv-flags: no

andrzej-k commented 8 years ago

Experimental version of the fix can be found on master at https://github.com/lmroz/snap-plugin-collector-ethtool

kamsz commented 8 years ago

@andrzej-k @lmroz @IzabellaRaulin I've tested it and the proposed fix works.

IzabellaRaulin commented 8 years ago

Great! :)

lmroz commented 8 years ago

Experimental version of the fix can be found on master at https://github.com/lmroz/snap-plugin-collector-ethtool

I removed this fork because it got disconnected on github from main repo, but submitted proper fix as PR. @kamsz Could you test this one too in your setup? :)