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

EOF error when loading plugin on Cumulus Linux #14

Open wmclendon opened 8 years ago

wmclendon commented 8 years ago

Attempting to use snapd ethtool plugin on Cumulus Linux to pull interface statistics. Loading plugin generates following error:

vagrant@leaf01a:~/snap/plugins$ snapctl plugin load snap-plugin-collector-ethtool Error loading plugin: unexpected EOF

Attached is log from snapd console snap_ethtool_error.txt

Cumulus Linux is a linux-based network operating system for whitebox switches, and I think a tool like this running would be very useful. Unfortunately it appears Cumulus Linux ships with a pretty old version of ethtool:

vagrant@leaf01a:~$ ethtool --version ethtool version 3.4.2

unfortunately it doesn't look like a newer version of ethtool is in their repo at this point in time.

nanliu commented 7 years ago

This is an interesting use case. I guess the output of ethtool -S and ethtool -i would be helpful to compare. I'm guessing due to version the output is somewhat different than other versions of Linux.