Ahmad Foysal · · 3 min read
MikroTik Uptime and Offline Alerts: Know When a Router Goes Down
What MikroTik uptime means, how to read it, and the practical ways to be told when a remote router goes down before the customer calls.
A MikroTik's uptime is the time since its last reboot. To be told when a router at another site goes down, something outside that site must watch it. The router cannot tell you itself, because a router without power or internet cannot send a message.
Check a router's uptime
Open a terminal on the MikroTik:
/system resource print
The uptime line shows how long the router has run since it last started, for example 4d3h12m. In Winbox it is on the System → Resources screen.
What a low number means:
- Minutes, on a router nobody touched: the site probably lost power, or the router crashed.
- Days or weeks: the router has been stable. A long uptime is also a reason to check for RouterOS updates.
- Resets every few hours: look for a bad power adapter, overheating or a watchdog restart.
Uptime tells you about the past. It does not tell you the router is reachable now.
Know when a router is down: four ways
| Method | Works behind CGNAT? | Who is told |
|---|---|---|
| Netwatch on a router at another site | Partly. It sees a host go down, but cannot report when its own internet is down. | A script on that router |
| A monitor outside (ping, Uptime Kuma, Zabbix, The Dude) | No. It has no public address to ping. | Whatever you set up |
| A VPN you run plus a monitor | Yes | You build and keep it running |
| A hosted tunnel with alerts (RemoteMikroTik) | Yes | You, in the panel and on Telegram |
Netwatch, the built-in tool
Netwatch pings a host and runs a script when it goes down or comes back:
/tool netwatch add host=8.8.8.8 interval=1m down-script="/log warning \"internet down\"" up-script="/log warning \"internet up\""
It is useful for logging or for switching to a backup link at the site. But if the whole site loses internet or power, the router cannot send you anything. Netwatch cannot fill that gap.
A monitor outside the site
Tools like Uptime Kuma or Zabbix watch from outside and ping the router. That needs a public address on the router. Behind CGNAT, mobile data or Starlink there is none, so the monitor sees nothing to ping. Put the router on a VPN first, or use a hosted tunnel.
A hosted tunnel with alerts
With RemoteMikroTik the router connects out to the server, and the panel checks every router once a minute. A router that has been offline for 10 minutes raises one alert in the panel, and one more when it is back, with how long it was down. On Pro the same alerts also arrive on Telegram, so you hear about it without opening the panel.
Steps:
- Add the router and paste the setup script.
- Connect Telegram (Pro plan).
- Check that Telegram alert when offline is on for the router.
- Send
/pauseto the bot before planned work, and/resumeafter.
Details: offline alerts on Telegram and alerts and messages.
When you get an alert
Usually the site lost power or internet. Ask someone at the site to check the power and the ISP, and see router shows offline for the checks in order.
Common questions
How do I check a MikroTik's uptime?
Open a terminal and run /system resource print. The uptime line shows the time since the last reboot.
Why did my uptime reset to a few minutes?
The router rebooted. Common causes are a power cut or flicker, a manual reboot or a RouterOS upgrade, a crash, or a watchdog restart. A low uptime on a router nobody touched usually means the site lost power.
Can I monitor a router that is behind CGNAT?
Not with a ping from outside, because the router has no public address to ping. The router must connect out, as it does with a tunnel, so the monitor can see whether that connection is alive.
Can the router tell me itself when it goes offline?
No. If the internet or power is down, the router cannot send any message. Something outside the site has to notice the silence.
Why wait minutes before alerting?
Short internet hiccups and reboots are common. Waiting a few minutes means you only hear about real outages.