Comments (3)
After some digging, I think it's probably due to the change of vnstat --xml
result format.
In vnstat 1.15, the XML is like:
<vnstat version="1.15" xmlversion="1">
<interface id="ens33">
...
Whereas in vnstat 2.6, it becomes:
<vnstat version="2.6" xmlversion="2">
<interface name="ens3">
...
from vnstat-ruby.
Thank you for your bug report!
Unfortunately, vnstat 2 is currently not supported by this library but I'm going to take a look at it as soon as I got the time. If you like to take a shot at it in the meantime: Pull requests are always very welcome!
from vnstat-ruby.
I quickly prepared a branch where I fixed this particular issue.
If you want to try it out:
gem 'vnstat-ruby', github: 'tlux/vnstat-ruby', branch: 'vnstat2'
Please report when you encounter any more bugs related to vnstat 2.
from vnstat-ruby.
Related Issues (1)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vnstat-ruby.