I use Netwatch icmp monitoring to Telegram.
Also want to start using Netwatch http-get for home web cheking.
Created Netwatch http-get to router himself:
Code: Select all
host=192.168.254.1 type=http-get src-address=192.168.254.1 interval=10m up-script=""
down-script="" test-script="" port=80 http-codes="" status=down
Code: Select all
event down [ type: http_get, host: 192.168.254.1 ]
[ type: http_get, host: 192.168.254.1 ] [FAIL] TCP handshake
[ OK ] http-resp-time: 0ms [ <= 10000.000ms ]
http-status-code:
[ ] [ 100 > ] 0 [ <= 299 ]
Code: Select all
Request URL:
http://192.168.254.1/
Request Method:
GET
Status Code:
200 OK
Remote Address:
192.168.254.1:80
In manual dont see anything usefull https://help.mikrotik.com/docs/display/ ... watch-HTTP:
Please help to use Netwatch http-get correctly.