Community discussions

MikroTik App
 
aanistratenko
just joined
Topic Author
Posts: 8
Joined: Fri Mar 10, 2023 10:27 pm

Dont work Nwtwatch Http-get (ROS7.14 beta)

Sun Jan 21, 2024 12:30 pm

Hi
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:
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
Log:
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 ] 
In Chrome:
Request URL:
http://192.168.254.1/
Request Method:
GET
Status Code:
200 OK
Remote Address:
192.168.254.1:80
So I see that web answer with status 200 but Netwatch http-get dont receive status so is down and dont understand why..
In manual dont see anything usefull https://help.mikrotik.com/docs/display/ ... watch-HTTP:

Please help to use Netwatch http-get correctly.
 
aanistratenko
just joined
Topic Author
Posts: 8
Joined: Fri Mar 10, 2023 10:27 pm

Re: Dont work Nwtwatch Http-get (ROS7.14 beta)

Tue Feb 20, 2024 12:03 am

Works after firewall allow input to TCP port 80 from the lo interface
And add lo interface to LAN list.

Who is online

Users browsing this forum: No registered users and 9 guests