utils/watchcat: restart failure time after network restart
authorRozhuk Ivan <rozhuk.im@gmail.com>
Sun, 20 Feb 2022 05:22:05 +0000 (08:22 +0300)
committerRosen Penev <rosenp@gmail.com>
Thu, 24 Feb 2022 01:28:43 +0000 (17:28 -0800)
commit0238bcef19e5cde07e5dbf55a77a3e85bf0446c3
tree1ac0ae88a1fbfdc50ee6231a97ca3f342746e0de
parenta9170cf860b262854d46f040152e892c7e9e36b2
utils/watchcat: restart failure time after network restart

Without this change these settings:
Mode: Restart Interface
Period: 30s
Check Interval: 5s
will do ping every 30s, if all pings are fail then
it try to take action every 5 second.

After apply this patch watchcat will try to send
ping every 5 second in next 30 sec before take action if
all pings are fail.

This is important for wireless uplinks like 3G/4G that
need some time to establish connection.

Signed-off-by: Rozhuk Ivan <rozhuk.im@gmail.com>
utils/watchcat/Makefile
utils/watchcat/files/watchcat.sh