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.
Hmmmm, shows in my syslog (until I get it filtered with Scribe syslog-ng that is).
Code:
Apr 17 16:32:57 RT-AC86U-4608 connmon[4950]: Welcome to connmon v1.0.0, a script by JackYaz
Apr 17 16:32:58 RT-AC86U-4608 connmon[4957]: Checking your router meets the requirements for connmon
Apr 17 16:35:01 RT-AC86U-4608 connmon[6127]: Lock file found (age: 1 seconds) - stopping to prevent duplicate runs
Apr 17 16:35:11 RT-AC86U-4608 connmon[6182]: Lock file found (age: 11 seconds) - stopping to prevent duplicate runs
Apr 17 16:35:27 RT-AC86U-4608 connmon[6197]: Lock file found (age: 27 seconds) - stopping to prevent duplicate runs
Apr 17 16:35:45 RT-AC86U-4608 connmon[6909]: No new version - latest is v1.0.0
Apr 17 16:41:46 RT-AC86U-4608 connmon[9043]: Downloading latest version (v1.0.0) of connmon
Apr 17 16:41:47 RT-AC86U-4608 connmon[9071]: connmon successfully updated
Apr 17 16:45:30 RT-AC86U-4608 rc_service[32063]: httpds 32063:notify_rc start_connmon
Apr 17 16:45:30 RT-AC86U-4608 custom_script[1]: Running /jffs/scripts/service-event (args: start connmon) - max timeout = 120s
Apr 17 16:45:30 RT-AC86U-4608 connmon[9740]: Lock file found (age: 30 seconds) - stopping to prevent duplicate runs
As @Jack Yaz stated elsewhere, the generation of the report takes about 30 seconds. During that time, I assume, the lock file is present. Be patient, not everything is instant these days.
 
Regarding lock file, I'll make it menu friendly like i did for YazFi so that at least you aren't kicked out of the script (currently it throws "exit 1").

As @thelonelycoder says, the lock file will pop up for 30s every 5 minutes. I can look into making that period adjustable - i decided on 30s as sufficient to gather a good number of pings to calculate average etc.
 
Regarding lock file, I'll make it menu friendly like i did for YazFi so that at least you aren't kicked out of the script (currently it throws "exit 1").

As @thelonelycoder says, the lock file will pop up for 30s every 5 minutes. I can look into making that period adjustable - i decided on 30s as sufficient to gather a good number of pings to calculate average etc.
Why not run the task in a subshell or send it to background? And then just warn users that any changes will take effect at next run when lockfile is present? It may not work for your script but worth a try.
 
Why not run the task in a subshell or send it to background? And then just warn users that any changes will take effect at next run when lockfile is present? It may not work for your script but worth a try.
The core concern was overlapping test runs, which will produce possibly incorrect data. I can remove the locking from functions that won't cause this though
 
As @Jack Yaz stated elsewhere, the generation of the report takes about 30 seconds. During that time, I assume, the lock file is present. Be patient, not everything is instant these days.
I installed connmon, and per the instructions in post #1, tried to run it ONCE.

What I posted repeated on its own with no interaction by me. I can read and understand very well. I AM old and very patient. I posted that snippet to help inform others. ;)
 
I installed connmon, and per the instructions in post #1, tried to run it ONCE.

What I posted repeated on its own with no interaction by me. I can read and understand very well. I AM old and very patient. I posted that snippet to help inform others. ;)
I just had to add my 2¢.
 
I installed connmon, and per the instructions in post #1, tried to run it ONCE.

What I posted repeated on its own with no interaction by me. I can read and understand very well. I AM old and very patient. I posted that snippet to help inform others. ;)
I probably trigger a test after update/install. With the menu aware lock check, and perhaps a more friendly message (e.g. Test running), things should be clearer
 
My router does not have /www/AdaptiveQoS_ROG.asp.

I am assuming that it was chosen as an already existing but unused file which is now being made useful. I could not find any information about creating a file in the root filesystem which gets mounted read only.
 
My router does not have /www/AdaptiveQoS_ROG.asp.

I am assuming that it was chosen as an already existing but unused file which is now being made useful. I could not find any information about creating a file in the root filesystem which gets mounted read only.
Which router do you use again?
 
Would you be able to send me a list of asp pages from www?
Code:
HdB342665LNtPFM@RT-AX88U-F098:/www# ls -1 *asp
APP_Installation.asp
AdaptiveQoS_Bandwidth_Monitor.asp
AdaptiveQoS_WebHistory.asp
Advanced_ACL_Content.asp
Advanced_APPList_Content.asp
Advanced_ASUSDDNS_Content.asp
Advanced_AiDisk_NFS.asp
Advanced_AiDisk_ftp.asp
Advanced_AiDisk_samba.asp
Advanced_AiDisk_webdav.asp
Advanced_BasicFirewall_Content.asp
Advanced_DHCP_Content.asp
Advanced_Exposed_Content.asp
Advanced_Feedback.asp
Advanced_Firewall_Content.asp
Advanced_FirmwareUpgrade_Content.asp
Advanced_GWStaticRoute_Content.asp
Advanced_IPTV_Content.asp
Advanced_IPv61_Content.asp
Advanced_IPv6_Content.asp
Advanced_KeywordFilter_Content.asp
Advanced_LAN_Content.asp
Advanced_Modem_Content.asp
Advanced_MultiSubnet_Content.asp
Advanced_MultiWAN_Content.asp
Advanced_NATPassThrough_Content.asp
Advanced_Notification_Content.asp
Advanced_OpenVPNClient_Content.asp
Advanced_OperationMode_Content.asp
Advanced_PerformanceTuning_Content.asp
Advanced_PortTrigger_Content.asp
Advanced_Privacy.asp
Advanced_QOSUserPrio_Content.asp
Advanced_QOSUserRules_Content.asp
Advanced_Roaming_Block_Content.asp
Advanced_SettingBackup_Content.asp
Advanced_Smart_Connect.asp
Advanced_Smart_Home_Alexa.asp
Advanced_Smart_Home_IFTTT.asp
Advanced_SwitchCtrl_Content.asp
Advanced_System_Content.asp
Advanced_TOR_Content.asp
Advanced_TimeMachine.asp
Advanced_URLFilter_Content.asp
Advanced_VPNClient_Content.asp
Advanced_VPNStatus.asp
Advanced_VPN_IPSec.asp
Advanced_VPN_OpenVPN.asp
Advanced_VPN_PPTP.asp
Advanced_VirtualServer_Content.asp
Advanced_WANPort_Content.asp
Advanced_WAN_Content.asp
Advanced_WAdvanced_Content.asp
Advanced_WMode_Content.asp
Advanced_WProxy_Content.asp
Advanced_WSecurity_Content.asp
Advanced_WTFast_Content.asp
Advanced_WWPS_Content.asp
Advanced_Wireless_Content.asp
Advanced_Wireless_Survey.asp
AiMesh_Node_FirmwareUpgrade.asp
AiProtection_Group.asp
AiProtection_HomeProtection.asp
AiProtection_HomeSecurity.asp
AiProtection_InfectedDevicePreventBlock.asp
AiProtection_IntrusionPreventionSystem.asp
AiProtection_MaliciousSitesBlocking.asp
AiProtection_WebProtector.asp
DDNS_info.asp
DNSFilter.asp
Feedback_Info.asp
GameBoost.asp
Guest_network.asp
Logout.asp
Main_AdmStatus_Content.asp
Main_Analysis_Content.asp
Main_ChkSta_Content.asp
Main_ConnStatus_Content.asp
Main_DHCPStatus_Content.asp
Main_IPTStatus_Content.asp
Main_IPV6Status_Content.asp
Main_LogStatus_Content.asp
Main_Login.asp
Main_Netstat_Content.asp
Main_Password.asp
Main_RouteStatus_Content.asp
Main_TrafficMonitor_daily.asp
Main_TrafficMonitor_last24.asp
Main_TrafficMonitor_monthly.asp
Main_TrafficMonitor_realtime.asp
Main_WOL_Content.asp
Main_WStatus_Content.asp
Nologin.asp
ParentalControl.asp
PrinterServer.asp
QoS_EZQoS.asp
QoS_Stats.asp
Restarting.asp
SITE_info.asp
Tools_OtherSettings.asp
Tools_Sysinfo.asp
TrafficAnalyzer_Statistic.asp
UpdateError.asp
UpdateError_reboot.asp
Updating.asp
UploadError.asp
Uploading.asp
UploadingJFFS.asp
WAN_info.asp
WiFi_Insight.asp
aicloud_qis.asp
aidisk.asp
ajax_AiMesh_node_clients.asp
ajax_certinfo.asp
ajax_chk_sta.asp
ajax_coretmp.asp
ajax_ddnscode.asp
ajax_dms_status.asp
ajax_ethernet_ports.asp
ajax_fb_size.asp
ajax_fwdl_percent.asp
ajax_gettcdata.asp
ajax_ipsec.asp
ajax_log_data.asp
ajax_oauth.asp
ajax_onboarding.asp
ajax_openvpn_server.asp
ajax_sysinfo.asp
ajax_trigger_chk_sta.asp
ajax_uploadicon.asp
ajax_vpn_status.asp
ajax_wificlients.asp
ajax_wl_ready.asp
ajax_wlc_state.asp
aplist.asp
apps_test.asp
apscan.asp
automac.asp
blocking.asp
channelcapacity.asp
channels.asp
cloud_main.asp
cloud_router_sync.asp
cloud_settings.asp
cloud_status.asp
cloud_sync.asp
cloud_syslog.asp
configure.asp
cpu_ram_status.asp
detectWAN.asp
detect_firmware.asp
disk_scan.asp
diskmon_test.asp
getAiProtectionEvent.asp
getAppTraffic.asp
getIPSChart.asp
getIPSDetailEvent.asp
getIPSEvent.asp
getNonIPSChart.asp
getTraffic.asp
getWanTraffic.asp
getWebHistory.asp
get_real_ip.asp
get_release_note0.asp
get_release_note1.asp
get_release_note_amas.asp
get_webdavInfo.asp
getfoldertree.asp
getsharelink.asp
getsl.asp
gettree.asp
index.asp
manifest.asp
mediaserver.asp
metrics.asp
multi_vts_rule.asp
remote.asp
result_of_get_changed_status_QIS.asp
start_autodet.asp
status.asp
switch_AiDisk_app.asp
update_IPv6state.asp
update_applist.asp
update_appstate.asp
update_clients.asp
update_cloudstatus.asp
update_customList.asp
update_networkmapd.asp
ureip.asp
visindex.asp
wds_aplist_2g.asp
wds_aplist_5g.asp
wds_aplist_5g_2.asp
zerowaitdfs.asp
HdB342665LNtPFM@RT-AX88U-F098:/www#
 
Code:
HdB342665LNtPFM@RT-AX88U-F098:/www# ls -1 *asp
APP_Installation.asp
AdaptiveQoS_Bandwidth_Monitor.asp
AdaptiveQoS_WebHistory.asp
Advanced_ACL_Content.asp
Advanced_APPList_Content.asp
Advanced_ASUSDDNS_Content.asp
Advanced_AiDisk_NFS.asp
Advanced_AiDisk_ftp.asp
Advanced_AiDisk_samba.asp
Advanced_AiDisk_webdav.asp
Advanced_BasicFirewall_Content.asp
Advanced_DHCP_Content.asp
Advanced_Exposed_Content.asp
Advanced_Feedback.asp
Advanced_Firewall_Content.asp
Advanced_FirmwareUpgrade_Content.asp
Advanced_GWStaticRoute_Content.asp
Advanced_IPTV_Content.asp
Advanced_IPv61_Content.asp
Advanced_IPv6_Content.asp
Advanced_KeywordFilter_Content.asp
Advanced_LAN_Content.asp
Advanced_Modem_Content.asp
Advanced_MultiSubnet_Content.asp
Advanced_MultiWAN_Content.asp
Advanced_NATPassThrough_Content.asp
Advanced_Notification_Content.asp
Advanced_OpenVPNClient_Content.asp
Advanced_OperationMode_Content.asp
Advanced_PerformanceTuning_Content.asp
Advanced_PortTrigger_Content.asp
Advanced_Privacy.asp
Advanced_QOSUserPrio_Content.asp
Advanced_QOSUserRules_Content.asp
Advanced_Roaming_Block_Content.asp
Advanced_SettingBackup_Content.asp
Advanced_Smart_Connect.asp
Advanced_Smart_Home_Alexa.asp
Advanced_Smart_Home_IFTTT.asp
Advanced_SwitchCtrl_Content.asp
Advanced_System_Content.asp
Advanced_TOR_Content.asp
Advanced_TimeMachine.asp
Advanced_URLFilter_Content.asp
Advanced_VPNClient_Content.asp
Advanced_VPNStatus.asp
Advanced_VPN_IPSec.asp
Advanced_VPN_OpenVPN.asp
Advanced_VPN_PPTP.asp
Advanced_VirtualServer_Content.asp
Advanced_WANPort_Content.asp
Advanced_WAN_Content.asp
Advanced_WAdvanced_Content.asp
Advanced_WMode_Content.asp
Advanced_WProxy_Content.asp
Advanced_WSecurity_Content.asp
Advanced_WTFast_Content.asp
Advanced_WWPS_Content.asp
Advanced_Wireless_Content.asp
Advanced_Wireless_Survey.asp
AiMesh_Node_FirmwareUpgrade.asp
AiProtection_Group.asp
AiProtection_HomeProtection.asp
AiProtection_HomeSecurity.asp
AiProtection_InfectedDevicePreventBlock.asp
AiProtection_IntrusionPreventionSystem.asp
AiProtection_MaliciousSitesBlocking.asp
AiProtection_WebProtector.asp
DDNS_info.asp
DNSFilter.asp
Feedback_Info.asp
GameBoost.asp
Guest_network.asp
Logout.asp
Main_AdmStatus_Content.asp
Main_Analysis_Content.asp
Main_ChkSta_Content.asp
Main_ConnStatus_Content.asp
Main_DHCPStatus_Content.asp
Main_IPTStatus_Content.asp
Main_IPV6Status_Content.asp
Main_LogStatus_Content.asp
Main_Login.asp
Main_Netstat_Content.asp
Main_Password.asp
Main_RouteStatus_Content.asp
Main_TrafficMonitor_daily.asp
Main_TrafficMonitor_last24.asp
Main_TrafficMonitor_monthly.asp
Main_TrafficMonitor_realtime.asp
Main_WOL_Content.asp
Main_WStatus_Content.asp
Nologin.asp
ParentalControl.asp
PrinterServer.asp
QoS_EZQoS.asp
QoS_Stats.asp
Restarting.asp
SITE_info.asp
Tools_OtherSettings.asp
Tools_Sysinfo.asp
TrafficAnalyzer_Statistic.asp
UpdateError.asp
UpdateError_reboot.asp
Updating.asp
UploadError.asp
Uploading.asp
UploadingJFFS.asp
WAN_info.asp
WiFi_Insight.asp
aicloud_qis.asp
aidisk.asp
ajax_AiMesh_node_clients.asp
ajax_certinfo.asp
ajax_chk_sta.asp
ajax_coretmp.asp
ajax_ddnscode.asp
ajax_dms_status.asp
ajax_ethernet_ports.asp
ajax_fb_size.asp
ajax_fwdl_percent.asp
ajax_gettcdata.asp
ajax_ipsec.asp
ajax_log_data.asp
ajax_oauth.asp
ajax_onboarding.asp
ajax_openvpn_server.asp
ajax_sysinfo.asp
ajax_trigger_chk_sta.asp
ajax_uploadicon.asp
ajax_vpn_status.asp
ajax_wificlients.asp
ajax_wl_ready.asp
ajax_wlc_state.asp
aplist.asp
apps_test.asp
apscan.asp
automac.asp
blocking.asp
channelcapacity.asp
channels.asp
cloud_main.asp
cloud_router_sync.asp
cloud_settings.asp
cloud_status.asp
cloud_sync.asp
cloud_syslog.asp
configure.asp
cpu_ram_status.asp
detectWAN.asp
detect_firmware.asp
disk_scan.asp
diskmon_test.asp
getAiProtectionEvent.asp
getAppTraffic.asp
getIPSChart.asp
getIPSDetailEvent.asp
getIPSEvent.asp
getNonIPSChart.asp
getTraffic.asp
getWanTraffic.asp
getWebHistory.asp
get_real_ip.asp
get_release_note0.asp
get_release_note1.asp
get_release_note_amas.asp
get_webdavInfo.asp
getfoldertree.asp
getsharelink.asp
getsl.asp
gettree.asp
index.asp
manifest.asp
mediaserver.asp
metrics.asp
multi_vts_rule.asp
remote.asp
result_of_get_changed_status_QIS.asp
start_autodet.asp
status.asp
switch_AiDisk_app.asp
update_IPv6state.asp
update_applist.asp
update_appstate.asp
update_clients.asp
update_cloudstatus.asp
update_customList.asp
update_networkmapd.asp
ureip.asp
visindex.asp
wds_aplist_2g.asp
wds_aplist_5g.asp
wds_aplist_5g_2.asp
zerowaitdfs.asp
HdB342665LNtPFM@RT-AX88U-F098:/www#
Now all we need to do is find an unused page
 
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