Skip to content
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

Multiple consecutive pings in x time before you reboot due to drop outs or latency (due to bad weather etc) #19

Closed
famewolf opened this issue Oct 13, 2021 · 6 comments
Labels
enhancement New feature or request

Comments

@famewolf
Copy link

famewolf commented Oct 13, 2021

At given times of the day and especially in bad weather you can experience "drop outs" that can last for 20-30 seconds. Right now this will trigger a reboot that adds another 2 minutes into the process. If the monitor was to do 4 pings 10 seconds apart before triggering a reboot this would allow for those moments of drop out or latency.

This seemed to be different enough from the "enhance ping" issue where it talks about multiple hosts vs multiple pings across a timeframe interval.

@highvolt-dev
Copy link
Owner

@famewolf this seems like optional behavior that could be accommodated. would you want to set the timeout option or sleep between pings? is there a failure percentage you need to be met (e.g. 100%)?

@famewolf
Copy link
Author

I was modelling it from how my asus router did it.
2021-10-13_17-01

@highvolt-dev
Copy link
Owner

Thanks, @famewolf - I have a dual WAN asus router as well, that helps.

@famewolf
Copy link
Author

famewolf commented Oct 13, 2021 via email

@highvolt-dev
Copy link
Owner

@famewolf I use https://www.openmptcprouter.com/ to aggregate my two internet connections, and run the script on there on my Raspberry Pi 4

@famewolf
Copy link
Author

famewolf commented Oct 13, 2021 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants