New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Added CSV mode #162
Added CSV mode #162
Conversation
Hey @gonzalo what was your code for the dygraphs page? |
Here you have it in a repository https://github.com/gonzalo/html-bandwidth-report |
Hi @sivel I see that this branch is marked as "needs-revision". Does it need your revision? my revision? Can I make any contribution? I'll be pleased to collaborate because I'm currently using my branch in some installations to test ISP stability. |
This PR contains merge conflicts that would need to be resolved. |
I really like this functionality instead of running scripts to capture the output. Can I do anything to help this feature get pushed into the "default" app? If not, is there any expected date for release? |
Good idead, a one-line output format (like CSV) is useful (for monitoring systems). |
Hello, Would be great if the merge conflict could be solved and this PR merged — a CSV (or json, or any other parsable output) is a plus when we want to automate checks and get graphes. Cheers, C. |
Regardless of the merge conflict this PR will not be accepted. The next release already has machine parseable outputs. See #212 |
I'm happy to make this sugestion as my first GitHub contribution to a project :-).
I've added a --csv filename mode that write speedtest results to that filename.
If the file doesn't extists it generates a new one with a header. If it cannot write launches an error. This is a sample result:
You can install a cron jon to execute the test each hour for example and store results for future analysis or graphic.
Edited:
Standar output is been redirected to /dev/null in crontab. It could be interesting to add a --silent mode to use in combination with --csv