What's new

connmon ping frequency settings doesn't seem to work?

  • 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!

LaMpiR

Regular Contributor
Hi.

I have AX88U with latest firmware from Merlin as well as latest connmon v3.0.2 but I had some problems with my ISP and I have tried to change the settings for ping to get a more regular readout. Setting to every 26min or so, then 1 hour, then 2 hours had no impact on when the ping would perform.

Every day
Mode: Every X hours/minutes

I am stuck from my previous setting and ping timer is working only 00:29 once per day even though I had it every 29 minutes or so.
Did anyone else have this problem maybe?
 
Are you trying to set the value via the GUI or CLI?
 
and can you post a copy of the config file from /jffs/addons/connmon.d or /opt/share/connmon.d , redacting any login information for any notification methods you use?
 
is the setting showing in the GUI as what you set it to even after a refresh, or is it reverting to the last value?
It's showing the value which I have set. I've changed to 23 minutes, left for a day or two, went back, it shows 23 but test are not that in that time range. Same goes for 1 hour, 2 hours and so on.
 
This is from /opt/share/connmon.d/config file. I have modified it to 2 hours.

Code:
PINGSERVER=195.xxx.xxx.xxx
OUTPUTTIMEMODE=non-unix
STORAGELOCATION=usb
PINGDURATION=60
AUTOMATED=true
SCHDAYS=*
SCHHOURS=*/2
SCHMINS=0
DAYSTOKEEP=365
LASTXRESULTS=50
EXCLUDEFROMQOS=true
NOTIFICATIONS_EMAIL=false
NOTIFICATIONS_WEBHOOK=false
NOTIFICATIONS_PUSHOVER=false
NOTIFICATIONS_CUSTOM=false
NOTIFICATIONS_HEALTHCHECK=false
NOTIFICATIONS_INFLUXDB=false
NOTIFICATIONS_PINGTEST=None
NOTIFICATIONS_PINGTHRESHOLD=None
NOTIFICATIONS_JITTERTHRESHOLD=None
NOTIFICATIONS_LINEQUALITYTHRESHOLD=None
NOTIFICATIONS_PINGTHRESHOLD_VALUE=30
NOTIFICATIONS_JITTERTHRESHOLD_VALUE=15
NOTIFICATIONS_LINEQUALITYTHRESHOLD_VALUE=75
NOTIFICATIONS_EMAIL_LIST=
NOTIFICATIONS_HEALTHCHECK_UUID=
NOTIFICATIONS_WEBHOOK_LIST=
NOTIFICATIONS_PUSHOVER_LIST=
NOTIFICATIONS_PUSHOVER_API=
NOTIFICATIONS_PUSHOVER_USERKEY=
NOTIFICATIONS_INFLUXDB_HOST=
NOTIFICATIONS_INFLUXDB_PORT=8086
NOTIFICATIONS_INFLUXDB_DB=connmon
NOTIFICATIONS_INFLUXDB_VERSION=1.8
NOTIFICATIONS_INFLUXDB_USERNAME=
NOTIFICATIONS_INFLUXDB_PASSWORD=
NOTIFICATIONS_INFLUXDB_APITOKEN=

connmon.PNG
 
ok so the value is making it to the config file and saving, that's good.

can you share the output of this command please?
Code:
cru l | grep connmon
 
ok so the value is making it to the config file and saving, that's good.

can you share the output of this command please?
Code:
cru l | grep connmon
Here is the problem :)

Code:
user@router:/tmp/mnt/skynetusb/entware/share/connmon.d# cru l | grep connmon
28 */0 * * * /jffs/scripts/connmon generate #connmon#
user@router:/tmp/mnt/skynetusb/entware/share/connmon.d#
 
Here is the problem :)

Code:
user@router:/tmp/mnt/skynetusb/entware/share/connmon.d# cru l | grep connmon
28 */0 * * * /jffs/scripts/connmon generate #connmon#
user@router:/tmp/mnt/skynetusb/entware/share/connmon.d#
try running
Code:
cru d connmon
and then running a ping test
 
Thank you. I have checked with "cru l | grep connmon" and got this output

Code:
0 */2 * * * /jffs/scripts/connmon generate #connmon#

How would I set it to run at some random time? For example every 2 hours and 23 minutes? Trying not to interfere with spdMerlin.
 

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