I have a question of understanding. Here's my setup:
Default message log level --> notice
Log only messages more urgent than --> info
/jffs/scripts# cat services-start
#!/bin/sh
cru a root_servers "12 4 * * * curl -o \/opt\/var\/lib\/unbound\/root\.hints
https://www.internic.net/domain/named.cache" # unbound_manager
cru a Restart_WAN "*/2 * * * * /jffs/scripts/ChkWAN.sh wan quiet force nowait" # check every 2 minutes internet connection if fail restore WAN
cru a Reboot_WAN "*/3 * * * * /jffs/scripts/ChkWAN.sh reboot quiet force nowait" # check every 3 minutes s.o. if fail reboot
#cru l
12 4 * * * curl -o \/opt\/var\/lib\/unbound\/root\.hints
https://www.internic.net/domain/named.cache #root_servers#
*/2 * * * * /jffs/scripts/ChkWAN.sh wan quiet force nowait #Restart_WAN#
*/3 * * * * /jffs/scripts/ChkWAN.sh reboot quiet force nowait #Reboot_WAN#
59 * * * * /jffs/addons/unbound/unbound_stats.sh generate #Unbound_Stats.sh#
57 * * * * /jffs/addons/unbound/unbound_log.sh #Unbound_Log.sh#
*/10 * * * * /jffs/scripts/ntpmerlin generate #ntpMerlin#
Everything is working.
In the admin-panel under syslog:
...
Oct 16 00:06:01 (ChkWAN.sh): 17580 v1.17 Monitoring WAN connection using 5 target PING hosts (192.168.x.1 1.1.1.1 149.112.112.112 9.9.9.9 1.1.1.1) (Tries=3)
Oct 16 00:06:01 (ChkWAN.sh): 17580 Private LAN 192.168.x.1 will be skipped for WAN PING check!
Oct 16 00:06:02 (ChkWAN.sh): 17580 cURL 10MByte transfer took: 00:00.64 secs @16284790 B/sec
Oct 16 00:08:01 (ChkWAN.sh): 18214 v1.17 Monitoring WAN connection using 5 target PING hosts (192.168.x.1 1.1.1.1 149.112.112.112 9.9.9.9 1.1.1.1) (Tries=3)
Oct 16 00:08:01 (ChkWAN.sh): 18214 Private LAN 192.168.x.1 will be skipped for WAN PING check!
Oct 16 00:08:03 (ChkWAN.sh): 18214 cURL 10MByte transfer took: 00:00.68 secs @15434239 B/sec
Oct 16 00:09:01 (ChkWAN.sh): 18562 v1.17 Monitoring WAN connection using 5 target PING hosts (192.168.x.1 1.1.1.1 149.112.112.112 9.9.9.9 1.1.1.1) (Tries=3)
Oct 16 00:09:01 (ChkWAN.sh): 18562 Private LAN 192.168.x.1 will be skipped for WAN PING check!
Oct 16 00:09:02 (ChkWAN.sh): 18562 cURL 10MByte transfer took: 00:00.62 secs @16832102 B/sec
Oct 16 00:10:01 (ChkWAN.sh): 18912 v1.17 Monitoring WAN connection using 5 target PING hosts (192.168.x.1 1.1.1.1 149.112.112.112 9.9.9.9 1.1.1.1) (Tries=3)
Oct 16 00:10:02 (ChkWAN.sh): 18912 Private LAN 192.168.x.1 will be skipped for WAN PING check!
Oct 16 00:10:02 (ChkWAN.sh): 18912 cURL 10MByte transfer took: 00:00.61 secs @17258692 B/sec
Oct 16 00:12:00 (ChkWAN.sh): 19807 v1.17 Check WAN monitor ALREADY running...ABORTing
Oct 16 00:12:01 (ChkWAN.sh): 19806 v1.17 Monitoring WAN connection using 5 target PING hosts (192.168.x.1 1.1.1.1 149.112.112.112 9.9.9.9 1.1.1.1) (Tries=3)
Oct 16 00:12:02 (ChkWAN.sh): 19806 Private LAN 192.168.x.1 will be skipped for WAN PING check!
Oct 16 00:12:02 (ChkWAN.sh): 19806 cURL 10MByte transfer took: 00:00.64 secs @16364132 B/sec
Oct 16 00:14:01 (ChkWAN.sh): 20437 v1.17 Monitoring WAN connection using 5 target PING hosts (192.168.x.1 1.1.1.1 149.112.112.112 9.9.9.9 1.1.1.1) (Tries=3)
Oct 16 00:14:01 (ChkWAN.sh): 20437 Private LAN 192.168.x.1 will be skipped for WAN PING check!
Oct 16 00:14:03 (ChkWAN.sh): 20437 cURL 10MByte transfer took: 00:00.62 secs @16953066 B/sec
Oct 16 00:15:01 (ChkWAN.sh): 20785 v1.17 Monitoring WAN connection using 5 target PING hosts (192.168.x.1 1.1.1.1 149.112.112.112 9.9.9.9 1.1.1.1) (Tries=3)
Oct 16 00:15:01 (ChkWAN.sh): 20785 Private LAN 192.168.x.1 will be skipped for WAN PING check!
Oct 16 00:15:03 (ChkWAN.sh): 20785 cURL 10MByte transfer took: 00:01.14 secs @9222142 B/sec
...
What exactly does "quiet" mean? I would have expected that logging s.o. is quiet?
and:
."..Check WAN monitor ALREADY running...ABORTing"
Does this mean, the interval between the two jobs is too short?
Thank's for clarification.
stefan