Lanowl: open source monitor that reads RouterOS (read-only) and tries to explain why something is down. Testers wanted

Hi all,

on October 1st my fibre went down for two and a half hours. The monitors I used before would just tell me "WAN down", and then it's up to me to understand if it's my router, my switch or the provider.

This time, after 26 minutes, I had this on Telegram: the fibre port on the MikroTik is up at 1 Gbps but with 0 Mbit/s in and out, so the ISP is not delivering, and the backup antenna is silent too. So I knew it was not my problem.

That message comes from lanowl, a monitor I made for my house. Since August it watches my network (a MikroTik, OpenWrt, Linux servers, cameras, almost 60 devices) and the routers at my grandmother's house and at my office, through a VPS. When something goes down, a model that runs on my own machine (Ollama) reads the router and writes in the alert where the problem is.

I say it from the start: the code is written with Claude. The idea and the testing on my network are mine.

On the RouterOS side it NEVER writes anything. It logs in with this user:

/user group add name=lanowl-ro policy=read,test,sniff,api,rest-api
/user add name=lanowl group=lanowl-ro address=192.168.88.5/32 password="a-long_On3"

test and sniff are for ping, traceroute and packet capture from the router, only when you ask it to look into something. If you don't want them, remove them and it simply can't.

If you have two WAN, put comment=main on the main default route and it understands the difference between online, on backup and down. With ping only you can't tell the first two apart, with the route table you can.

Reboots and RouterOS updates need a second login (ssh), only if you give it one, and every time it's a proposal with a button. It makes a backup first. Last time on my office router: 7.20.8 to 7.24.5, a backup of 38.9 KB, and it was answering again after 45 seconds.

It's pre-alpha, free and open source. If you have Docker on a Linux box and you want to try it, write here or open an issue on GitHub, and I help you with the setup myself. And if it's wrong on your network, I really want to know :slight_smile:

Alessandro

GitHub - alessandromatera/lanowl: The self-hosted AI network monitor. Your monitor says it's down; lanowl tells you why. · GitHub · lanowl.com/docs

I.e. this is what it can do once you click update:

  • check again if the update exists (there is a script that checks for any update and say it to you every day for each device)
  • make a backup of the config
  • do the backup
  • watch until it came back again