Hello.
I would like to do an additional verification of packet loss.
Send 10 packets every 60 seconds.
If none returned (100% loss), then the trigger is "connection failure".
If there is a loss of 2 packets, then assign an additional check: sending 30 packets, if the loss is also 20% or higher, then the connection is unstable.
In general, make it more flexible.
Tell me which methods are better to use so as not to go too far.
I'm thinking about using scripts, is this true or can it be done somehow easier?
I would like to do an additional verification of packet loss.
Send 10 packets every 60 seconds.
If none returned (100% loss), then the trigger is "connection failure".
If there is a loss of 2 packets, then assign an additional check: sending 30 packets, if the loss is also 20% or higher, then the connection is unstable.
In general, make it more flexible.
Tell me which methods are better to use so as not to go too far.
I'm thinking about using scripts, is this true or can it be done somehow easier?