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

collecting ethtool statistics on any port #13

Closed imvisiontech closed 7 years ago

imvisiontech commented 8 years ago

Hi, is it possible to define that the metrics for ethtool are required from all existing devices? to use for example the following notation: "/intel/net/ixgbe/_/nic/alloc_rx_bufffailed": {}, "/intel/net/ixgbe//nic/alloc_rx_page_failed": {}, "/intel/net/ixgbe/*/nic/broadcast": {}

instead of specifing each device seperately.

Thanks, Shirley.

nanliu commented 7 years ago

What version of snap are you using? This should be possible with the * wildcard specification.

IRCody commented 7 years ago

@imvisiontech: Have you had a chance to test with the * wildcard?

nanliu commented 7 years ago

Closing this issue since this should be possible. Please feel free to reopen this issue if you have any new updates.