Skip to content

Commit

Permalink
Include eno interfaces in ifstat collector
Browse files Browse the repository at this point in the history
  • Loading branch information
d3xt3r01 committed Mar 22, 2016
1 parent 2104467 commit 4e561ba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion collectors/0/ifstat.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ def main():
f_netdev.seek(0)
ts = int(time.time())
for line in f_netdev:
m = re.match("\s+(eth?\d+|em\d+_\d+/\d+|em\d+_\d+|em\d+|"
m = re.match("\s+(eth?\d+|em\d+_\d+/\d+|em\d+_\d+|em\d+|eno\d+|"
"p\d+p\d+_\d+/\d+|p\d+p\d+_\d+|p\d+p\d+):(.*)", line)
if not m:
continue
Expand Down

0 comments on commit 4e561ba

Please sign in to comment.