What's new
  • 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!

connmon connmon v3.0.9 [2025-Nov-27] - Internet Connection Monitoring Tool for AsusWRT Merlin

3) MODIFIED: Upon a fresh installation, the default setting for the automatic ping test schedule is now set to every 5 minutes instead of every 3 minutes.
Still says "default: 3" in the webui, fyi.

1764663646524.png
 
Still says "default: 3" in the webui, fyi.
Very good eye!! Thanks for catching it!!
Functionality-wise, the code is working as expected; it's just an error in the text.

The fix will be in the next release (whenever that happens ;)).

Connmon_v3.0.10_WebUI_DefaultMinutes.jpg
 
Trying to use the InfluxDB exporting functionally. It looks like connmon is not able to use the API Token that is generated using
the InfluxDB UI. When I try to save a token it is missing the last two characters. Sending test data with connmon fails using router UI.

Token:
uW9AKwQwWosaIq_4EGyJFIDkBPVsUWgmIfSP_tP6n5RxeuDKhEExXj8vHDOLoCPtr60h1cMZWy9ehjv5vFaFog==

1. Toggle InfluxDB exporting
Currently: Enabled


InfluxDB Configuration

c1. Set InfluxDB Host
Currently: 10.215.101.33

c2. Set InfluxDB Port
Currently: 8086

c3. Set InfluxDB Database
Currently: conmon

c4. Set InfluxDB Version
Currently: 2.0

c5. Set InfluxDB Username (v1.8+ only)
Currently:

c6. Set InfluxDB Password (v1.8+ only)

c7. Set InfluxDB API Token (v2.x only)
Currently: uW9AKwQwWosaIq_4EGyJFIDkBPVsUWgmIfSP_tP6n5RxeuDKhEExXj8vHDOLoCPtr60h1cMZWy9ehjv5vFaFog

cs. Send test data to InfluxDB
 

Attachments

...
Token:
uW9AKwQwWosaIq_4EGyJFIDkBPVsUWgmIfSP_tP6n5RxeuDKhEExXj8vHDOLoCPtr60h1cMZWy9ehjv5vFaFog==
...
c7. Set InfluxDB API Token (v2.x only)
Currently: uW9AKwQwWosaIq_4EGyJFIDkBPVsUWgmIfSP_tP6n5RxeuDKhEExXj8vHDOLoCPtr60h1cMZWy9ehjv5vFaFog

cs. Send test data to InfluxDB
Great catch!!!
I just made a simple fix on the 'develop' branch. Please try the latest v3.0.10 development version:
Bash:
/jffs/scripts/connmon develop
 
Great catch!!!
I just made a simple fix on the 'develop' branch. Please try the latest v3.0.10 development version:
Bash:
/jffs/scripts/connmon develop
No change.

v3.0.10 on RT-BE88U
[Branch: develop]

From the router ui I enabled export ,pasted the correct token and saved but config file is still missing last two characters.

agagne@rt-be88u:/tmp/home/root# ls -ltr /opt/share/connmon.d/config
-rw-r--r-- 1 agagne root 1161 Dec 7 12:54 /opt/share/connmon.d/config

agagne@rt-be88u:/tmp/home/root# tail -1 /opt/share/connmon.d/config
NOTIFICATIONS_INFLUXDB_APITOKEN=uW9AKwQwWosaIq_4EGyJFIDkBPVsUWgmIfSP_tP6n5RxeuDKhEExXj8vHDOLoCPtr60h1cMZWy9ehjv5vFaFog
 
No change.

v3.0.10 on RT-BE88U
[Branch: develop]

From the router ui I enabled export ,pasted the correct token and saved but config file is still missing last two characters.

agagne@rt-be88u:/tmp/home/root# ls -ltr /opt/share/connmon.d/config
-rw-r--r-- 1 agagne root 1161 Dec 7 12:54 /opt/share/connmon.d/config

agagne@rt-be88u:/tmp/home/root# tail -1 /opt/share/connmon.d/config
NOTIFICATIONS_INFLUXDB_APITOKEN=uW9AKwQwWosaIq_4EGyJFIDkBPVsUWgmIfSP_tP6n5RxeuDKhEExXj8vHDOLoCPtr60h1cMZWy9ehjv5vFaFog
And just for my own sanity, cause full transparency I have not played with InfluxDB before last night.
I can query the DB using the token I am trying to use with connmon.
 

Attachments

No change.

v3.0.10 on RT-BE88U
[Branch: develop]

From the router ui I enabled export ,pasted the correct token and saved but config file is still missing last two characters.

agagne@rt-be88u:/tmp/home/root# ls -ltr /opt/share/connmon.d/config
-rw-r--r-- 1 agagne root 1161 Dec 7 12:54 /opt/share/connmon.d/config

agagne@rt-be88u:/tmp/home/root# tail -1 /opt/share/connmon.d/config
NOTIFICATIONS_INFLUXDB_APITOKEN=uW9AKwQwWosaIq_4EGyJFIDkBPVsUWgmIfSP_tP6n5RxeuDKhEExXj8vHDOLoCPtr60h1cMZWy9ehjv5vFaFog
You must really mean from the router WebUI, because when I did a quick test using the CLI Main Menu UI options, the token remains intact:

Connmon_v3.0.10_CLI_Menu_InfluxToken1.jpg


Connmon_v3.0.10_CLI_Menu_InfluxToken2.jpg


Please be very clear about what you mean, and provide readable and clear screenshots to illustrate the issue and show steps to recreate the problem.
The more precise and clearer you are, the better. In the meantime, I think I know where the issue is in the JavaScript code - taking a look...

UPDATE:
Found the source of the problem in the WebUI JavaScript code, and I already have a fix.

[Just FYI, I need to go out with the wife for some shopping and run a few errands, so I'll be back in 2-3 hours - if I'm lucky, and the wife is not in the mood to spend a long time "window shopping" as well... :eek:;)😀]
 
Last edited:

Similar threads

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!
Back
Top