Traffic measurement
erlyvideo opened this issue · comments
I'm collecting network stats from /proc/net/dev and netstat -ib. These logs show me monotonically growing numbers. I need to remember previous value for each interface and once per second (for example), subtract and calculate per-second bitrate on interface.
Then I want to push data to some history and keep history for last hour.
What are the proper tools to use in folsom for my task?
Maybe I should post this question to some mailing list?
In my opinion folsom is probably not the best tool for this. I suggest something like http://riemann.io/ which does this sort of thing already (https://github.com/aphyr/riemann-tools/blob/master/bin/riemann-net) and will interface with graphite.
I have already written code to parse net info in linux and bsd and it works in erlyvideo.
Currently I want to unify all other measurements like speed of disk io, error rate, etc and I'm looking at folsom
On Feb 20, 2013, at 12:06 AM, Joe Williams wrote:
In my opinion folsom is probably not the best tool for this. I suggest something like http://riemann.io/ which does this sort of thing already (https://github.com/aphyr/riemann-tools/blob/master/bin/riemann-net) and will interface with graphite.
—
Reply to this email directly or view it on GitHub.
You might want to try a "meter reader" metric then, I think it might work for you.