THIS IS AN EXPERIMENT BUILDING UPON THE INCREDIBLE WORK OF JACKYAZ. IT ALLOWS PINGING SEVERAL SERVERS, not always the same. It also allows running ping for more than the maximum duration in Jack's version. It requires "coding" (incl. hard-coding the target servers in the schell script).
There are some hardcoded ping targets (look in the shell script, and adapt the shell script to your needs), plus the target defined in the Web UI The whole thing is repeated as often as defined in the Web UI (e.g. cron), just as with Jack's version. Each target is pinged for a duration that is indirectly derived from the value in the Web UI: for instance: pingduration=$(( pingduration*10+3 )) (so define 22 in the UI and get 223 seconds). The exact formula varies more often than I update the documentation. So, check the code for the actual current formula. I run the whole thing every 12 minutes and it gives me almost uninterrupted monitoring 24/7.
ALL CREDITS go to Jack, all bugs to me.
THE DOCUMENTATION BELOW is reproduced from the documentation of the original connmon. My connmon requires you to replace the connmon file in /jffs/scripts, with the shell script from this repository. Having a backup of the script of Jack is a good idea. The file must have the X right. Consider using chmod a+x belmon. My script will roguely stick the ping results in the database of Jack. It might allow switching from the original connmon to this in a rather smooth way.
connmon is an internet connection monitoring tool for AsusWRT Merlin with charts for daily, weekly and monthly summaries.
connmon is free to use under the GNU General Public License version 3 (GPL 3.0).
Love the script and want to support future development? Any and all donations gratefully received!
PayPal donation |
---|
You must be running firmware Merlin 384.15/384.13_4 or Fork 43E5 (or later) Asuswrt-Merlin
Using your preferred SSH client/terminal, copy and paste the following command, then press Enter:
/usr/sbin/curl -fsL --retry 3 "https://jackyaz.io/connmon/master/install/connmon.sh" -o "/jffs/scripts/connmon" && chmod 0755 /jffs/scripts/connmon && /jffs/scripts/connmon install
connmon can be configured via the WebUI, in the Addons section.
To launch the connmon menu after installation, use:
connmon
If this does not work, you will need to use the full path:
/jffs/scripts/connmon
Please post about any issues and problems here: Asuswrt-Merlin AddOns on SNBForums
Installs and updates for this addon are redirected via the Scarf Gateway by Scarf. This allows me to gather data on the number of new installations of my addons, how often users check for updates and more. This is purely for my use to actually see some usage data from my addons so that I can see the value provided by my continued work. It does not mean I am going to start charging to use my addons. My addons have been, are, and will always be completely free to use.
Please refer to Scarf's Privacy Policy for more information about the data that is collected and how it is processed.