-
-
Notifications
You must be signed in to change notification settings - Fork 22
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
Add Timeout of 5m to zbx-speedtest.sh #12
base: master
Are you sure you want to change the base?
Conversation
This change is originally proposed by someone else, but it was on the wrong file, nevertheless to speed things up, I just proposed it to avoid forcing people looking up why this script hangs and no longer works.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for your work on this.
As stated in my review of the original PR:
- please don't use full paths to binaries
- run
generate-debian-files.sh
and commit the updated Debian/ubuntu script - the timeout should be user-configurable. I'm fine with a default of 5m but there's gotta people who will need to adjust that.
- also, the readme needs be adjusted accordingly
sure, let me read your script and see how I will do that correctly concerning the timeout. I assume also zabbix template has to be changed as well, am I correct? |
Yeah probably, ideally the timeout would be a macro à la |
Quick note: I just checked on a vanilla install of OpenWRT 19.03 -> Sorry for dumping all these change requests on you like this, I'm really not trying to be a dick. Thanks for your interest in this particular piece of software and your work on this PR 🙏 |
I noticed that I should find the actual reason behind this failure first. |
If you agree on these changes let me know so I create complete pull request for all related files. |
This is distro-specific. To really make this work everywhere I guess I'll have to implement an
You are correct. This is definitely the better approach.
Not everybody has a 50Mb line... I won't merge a timeout of 1m. That's just too low IMHO.
👍 |
I am new to this pull request thing to be honest, and it's making me more nervous when I say this is the first time I do a pull request :) anyway, just let me know what you need from me, and I will try to do the best I can. |
man I re-read this discussion, this discussion should never be in a pull request :) |
No harm done. Not all of it was off-topic ;) |
@elekgeek you still on this? or should I discard this PR? |
I did the mods locally, let me check what I did tomorrow, and will get back
to you
…On Sun, Nov 22, 2020, 12:43 AM Philipp Schmitt ***@***.***> wrote:
@elekgeek <https://github.com/elekgeek> you still on this? or should I
discard this PR?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#12 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AB5THD62L2MWYAF7QETM32DSRA7BLANCNFSM4OIOLGOQ>
.
|
This change is originally proposed by someone else @garbled1 but it was on the wrong file but still I believe this change should be applied to all scripts, nevertheless to speed things up, I just proposed the same exact change to avoid forcing people looking up why this script hangs and no longer works.