What's new

connmon connmon - Internet connection monitoring

  • SNBForums Code of Conduct

    SNBForums is a community for everyone, no matter what their level of experience.

    Please be tolerant and patient of others, especially newcomers. We are all here to share and learn!

    The rules are simple: Be patient, be nice, be helpful or be gone!

Status
Not open for further replies.
i mean, i could make it practically "realtime" by testing for 50 seconds every minute, with the 10s gap used to write the ping test result to the database. i would not advise using raw output if i did this!

I understand that this might not suit everyone but an option to be able to select continuous pinging like you said for 50 seconds would be great. The majority of times I had ISP issues were intermittent drops and a 5 minutes ping would not catch these instances
 
Also since installed modmon all the other tools (connmon, spdmerlin, ntpd stopped working, getting this

SQLite header and source version mismatch
2019-10-10 20:19:45 18db032d058f1436ce3dea84081f4ee5a0f2259ad97301d43c426bc7f3df1b0b
2020-01-27 19:55:54 3bfa9cc97da10598521b342961df8f5f68c7388fa117345eeb516eaa837bb4d6

I run the fix, rebooted the rooter but no joy.
opkg update && opkg remove --autoremove sqlite3-cli && opkg install sqlite3-cli
 
Last edited:
Also since installed modmon all the other tools (connmon, spdmerlin, ntpd stopped working, getting this

SQLite header and source version mismatch
2019-10-10 20:19:45 18db032d058f1436ce3dea84081f4ee5a0f2259ad97301d43c426bc7f3df1b0b
2020-01-27 19:55:54 3bfa9cc97da10598521b342961df8f5f68c7388fa117345eeb516eaa837bb4d6

I run the fix, rebooted the rooter but no joy.
opkg update && opkg remove --autoremove sqlite3-cli && opkg install sqlite3-cli
Sorry for not replying sooner. The command usually resolves this, some odd conflict/issue caused by an Entware update. Is it still occurring?
 
v2.5.0 is now available
Changelog:
Code:
NEW: Option to store stats and config on USB
NEW: Check and perform script updates in the WebUI (big thanks to @dave14305 for the idea and code basis to work from
NEW: Add option to change time format between 24H and 12H
CHANGED: Tooltip behaviour, show on nearest point when intersect on X axis
CHANGED: Wait for NTP to be ready before running
 
v2.5.0 is now available
Changelog:
Code:
NEW: Option to store stats and config on USB
NEW: Check and perform script updates in the WebUI (big thanks to @dave14305 for the idea and code basis to work from
NEW: Add option to change time format between 24H and 12H
CHANGED: Tooltip behaviour, show on nearest point when intersect on X axis
CHANGED: Wait for NTP to be ready before running
Jack,
Thanks for the new version:)
I noticed that connmon does not remember:( the collapsed status of
  • Script Utilities (click to expand/collapse)
  • Script Configuration (click to expand/collapse)
  • Chart Configuration (click to expand/collapse)
The other sections are OK
  • Last 24 Hours (click to expand/collapse)
  • Last 7 days (click to expand/collapse)
  • Last 30 days (click to expand/collapse)
Thanks:)
 
v2.5.0 is now available
Changelog:
Code:
NEW: Option to store stats and config on USB
NEW: Check and perform script updates in the WebUI (big thanks to @dave14305 for the idea and code basis to work from
NEW: Add option to change time format between 24H and 12H
CHANGED: Tooltip behaviour, show on nearest point when intersect on X axis
CHANGED: Wait for NTP to be ready before running
after updating and rebooting the connmon and spdmerlin no longer have a mounted page in addons.
 
i manually got it to mount by forcing
/jffs/scripts/connmon startup &

i tried checking logs to see if it could identify a time failure, but no such luck.
 
Code:
May  5 01:05:24 uiDivStats: Mounting uiDivStats WebUI page as user1.asp
May  5 01:05:24 ntpMerlin: Mounting ntpMerlin WebUI page as user2.asp
May  5 01:05:25 connmon: Lock file found (age: 1 seconds) - ping test likely currently running
May  5 01:05:25 spdMerlin: Lock file found (age: 1 seconds) - stopping to prevent duplicate runs

these are the only logs i could find. so when spdmerlin and common are initializing for the NTPcheck there must be some lock active before hand.
 
Code:
May  5 01:05:24 uiDivStats: Mounting uiDivStats WebUI page as user1.asp
May  5 01:05:24 ntpMerlin: Mounting ntpMerlin WebUI page as user2.asp
May  5 01:05:25 connmon: Lock file found (age: 1 seconds) - ping test likely currently running
May  5 01:05:25 spdMerlin: Lock file found (age: 1 seconds) - stopping to prevent duplicate runs

these are the only logs i could find. so when spdmerlin and common are initializing for the NTPcheck there must be some lock active before hand.
I'm unable to recreate these not appearing on reboot. And that's after rebooting my AC86U 30 times in a row...

I'll add a verbose output version on the develop branch, which will log every argument/call to spdmerlin on boot to syslog
 
Note: I updated conmon and lost the GUI tab, but ran connmon startup & and it came back. Like spdMerlin, I didn't reboot router (people online in meetings at house now, can't reboot)
 
How about a button to reset the stats? Please? :)

Edit:
How do I reset the stats?
 
Last edited:
I'm trying to install Connmon.
The install goes well but when it does the ping, I get this error:
ERROR: Can't allocate required memory!
mv: can't rename '/tmp/connmondata.zip': No such file or directory


I'm on a DSL-AC68U with this firmware:
https://github.com/gnuton/asuswrt-merlin.ng

Thanks for everyone's help!
 
I'm trying to install Connmon.
The install goes well but when it does the ping, I get this error:
ERROR: Can't allocate required memory!
mv: can't rename '/tmp/connmondata.zip': No such file or directory


I'm on a DSL-AC68U with this firmware:
https://github.com/gnuton/asuswrt-merlin.ng

Thanks for everyone's help!
is the router running low on RAM? do you have a swap file?

i can't say i've seen this error before
 
Just installed and trying it now... looking good as all things Yazfi!
Silly question, can I use Connmon to trigger a reboot (only once not to loop....) if the connection is down for a certain period of time?
 
Status
Not open for further replies.

Latest threads

Support SNBForums w/ Amazon

If you'd like to support SNBForums, just use this link and buy anything on Amazon. Thanks!

Sign Up For SNBForums Daily Digest

Get an update of what's new every day delivered to your mailbox. Sign up here!
Top