#18688: Enhancement of watchcat.sh
-------------------------+-------------------
Reporter: sharkys | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone:
Component: luci | Version: Trunk
Keywords: |
-------------------------+-------------------
Current version of watchcat is unfortunately not showing any details in
the log and output is confusing mainly in case of more IPs "watched". The
fix is absolutely simple - can be this included in the trunk please ?
https://dev.openwrt.org/browser/packages/utils/watchcat/files/watchcat.sh
'''Before :'''
watchcat[XXXX]: no internet connectivity for XX seconds, host XX.XX.XX.XX.
Reseting when reaching XX
'''After :'''
watchcat[XXXX]: no connectivity for XX seconds, host XX.XX.XX.XX. Reseting
when reaching XX seconds.
{{{
logger -p daemon.info -t "watchcat[$$]" "no connectivity for
$time_diff seconds, host $pinghosts. Reseting when reaching $period
seconds."
}}}
I hope you can accept this form, submitting patch is way too difficult for
me and maybe someone more experienced would like to perform more changes
on it.
--
Ticket URL: <https://dev.openwrt.org/ticket/18688>
OpenWrt <http://openwrt.org>
Opensource Wireless Router Technology
_______________________________________________
openwrt-tickets mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-tickets