If you test the netwatch & script I just posted - then you logs will contain something like this:
may/31 11:44:07 system,error,critical router was rebooted without proper shutdown
may/31 11:44:19 interface,info ether1 link up (speed 100M, full duplex)
may/31 11:44:22 script,info Netwatch missed a ping to 192.0.2.254 - starting 5 minute timeout script
may/31 11:44:22 script,error -----> Tom’s Netwatch-Script-Warning - Netwatch could not ping 192.0.2.254 - Will begin further testing in 10 seconds - and will continue for 18 times 10 seconds
may/31 11:44:31 dhcp,info dhcp1 deassigned 192.168.56.120 from C0:C1:C0:7B:FF:CF
may/31 11:44:31 dhcp,info dhcp1 assigned 192.168.56.120 to C0:C1:C0:7B:FF:CF
may/31 11:44:32 script,info ----->ping to 192.0.2.254 failed on attempt 1 of 18 – Will try again in 10 seconds
may/31 11:44:42 script,info ----->ping to 192.0.2.254 failed on attempt 2 of 18 – Will try again in 10 seconds
may/31 11:44:52 script,info ----->ping to 192.0.2.254 failed on attempt 3 of 18 – Will try again in 10 seconds
may/31 11:45:02 script,info ----->ping to 192.0.2.254 failed on attempt 4 of 18 – Will try again in 10 seconds
may/31 11:45:12 script,info ----->ping to 192.0.2.254 failed on attempt 5 of 18 – Will try again in 10 seconds
may/31 11:45:19 wireless,info D4:CA:6D:AC:1C:D3@wlan1 established connection on 5660000, SSID Red-Spectrum.com
may/31 11:45:22 script,info ----->ping to 192.0.2.254 failed on attempt 6 of 18 – Will try again in 10 seconds
may/31 11:45:29 system,info item added
may/31 11:45:29 system,info item added
may/31 11:45:29 dhcp,info dhcp-client on WAN got IP address 66.35.12.10
may/31 11:45:32 script,warning -----> ping success on to 192.0.2.254 attempt 7 of 18 <----- No Further testing needed — Program will exit -----
may/31 11:45:33 script,info -----> Status: connected-to-ess — Band: — Frequency: — WProtocol: nv2 — NoiseFloor: -114
may/31 11:45:33 script,info -----> Optional Info if Available —> SignalStrength: -29 — SNR: -29 — PThroughput:
may/31 11:45:33 script,info -----> TxRate: 6.5Mbps-20MHz/1S — RxRate: 6.5Mbps-20MHz/1S — SignalStreng: -29 — SignalToNoise: 85 — CurrentDistance: 1 — TxCcq: — RxCcq: 4
jun/05 09:28:05 script,info Netwatch missed a ping to 192.0.2.254 - starting 5 minute timeout script
jun/05 09:28:05 script,error -----> Tom’s Netwatch-Script-Warning - Netwatch could not ping 192.0.2.254 - Will begin further testing in 10 seconds - and will continue for 18 times 10 seconds
jun/05 09:28:16 script,warning -----> ping success on to 192.0.2.254 attempt 1 of 18 <----- No Further testing needed — Program will exit -----
jun/05 09:28:16 script,info -----> Status: connected-to-ess — Band: — Frequency: — WProtocol: nv2 — NoiseFloor: -115
jun/05 09:28:16 script,info -----> Optional Info if Available —> SignalStrength: -27 — SNR: -27 — PThroughput:
jun/05 09:28:16 script,info -----> TxRate: 240Mbps-40MHz/2S/SGI — RxRate: 300Mbps-40MHz/2S/SGI — SignalStreng: -27 — SignalToNoise: 88 — CurrentDistance: 1 — TxCcq: 94 — RxCcq: 99
jun/06 13:03:05 script,info Netwatch missed a ping to 192.0.2.254 - starting 5 minute timeout script
jun/06 13:03:05 script,error -----> Tom’s Netwatch-Script-Warning - Netwatch could not ping 192.0.2.254 - Will begin further testing in 10 seconds - and will continue for 18 times 10 seconds
jun/06 13:03:15 script,warning -----> ping success on to 192.0.2.254 attempt 1 of 18 <----- No Further testing needed — Program will exit -----
jun/06 13:03:15 script,info -----> Status: connected-to-ess — Band: — Frequency: — WProtocol: nv2 — NoiseFloor: -115
jun/06 13:03:15 script,info -----> Optional Info if Available —> SignalStrength: -19 — SNR: -19 — PThroughput:
jun/06 13:03:15 script,info -----> TxRate: 300Mbps-40MHz/2S/SGI — RxRate: 300Mbps-40MHz/2S/SGI — SignalStreng: -19 — SignalToNoise: 96 — CurrentDistance: 1 — TxCcq: 100 — RxCcq: 99
jun/10 10:34:05 script,info Netwatch missed a ping to 192.0.2.254 - starting 5 minute timeout script
jun/10 10:34:05 script,error -----> Tom’s Netwatch-Script-Warning - Netwatch could not ping 192.0.2.254 - Will begin further testing in 10 seconds - and will continue for 18 times 10 seconds
jun/10 10:34:15 script,info ----->ping to 192.0.2.254 failed on attempt 1 of 18 – Will try again in 10 seconds
jun/10 10:34:26 script,info ----->ping to 192.0.2.254 failed on attempt 2 of 18 – Will try again in 10 seconds
jun/10 10:34:37 script,info ----->ping to 192.0.2.254 failed on attempt 3 of 18 – Will try again in 10 seconds
jun/10 10:34:48 script,info ----->ping to 192.0.2.254 failed on attempt 4 of 18 – Will try again in 10 seconds
jun/10 10:34:59 script,info ----->ping to 192.0.2.254 failed on attempt 5 of 18 – Will try again in 10 seconds
jun/10 10:35:09 script,warning -----> ping success on to 192.0.2.254 attempt 6 of 18 <----- No Further testing needed — Program will exit -----
jun/10 10:35:09 script,info -----> Status: connected-to-ess — Band: — Frequency: — WProtocol: nv2 — NoiseFloor: -115
jun/10 10:35:09 script,info -----> Optional Info if Available —> SignalStrength: -18 — SNR: -18 — PThroughput:
jun/10 10:35:09 script,info -----> TxRate: 300Mbps-40MHz/2S/SGI — RxRate: 270Mbps-40MHz/2S/SGI — SignalStreng: -18 — SignalToNoise: 97 — CurrentDistance: 1 — TxCcq: 99 — RxCcq: 94
14:29:24 system,error,critical login failure for user admin from 66.35.8.19 via winbox
14:29:38 system,info,account user admin logged in from 66.35.8.19 via winbox
14:37:14 system,info,account user admin logged in from 66.35.8.19 via ssh