Category: Mikrotik RouterOS
-
Push RouterOS metrics to InfluxDB
Here is a really simple and easy way to push metrics (or any value) from RouterOS right into InfluxDB: #this script grabs some simple measurements #and POSTs them to an influxDB server using the HTTP API. #influx details :local server 12.34.56; :local port 8086; :local host routername; #collect up the measurements and store for performance…
-
Netinstall for RouterOS in Virtualbox (on Mac OS)
I recently ‘bricked’ my Mikrotik HAP AC Lite router – the router didn’t have enough room on its flash memory to install an update, but – in an unexpected turn of events – tried to apply the firmware update anyway, and became un-bootable. Fortunately, Mikrotik supply a bit of software (‘Netinstall’) which is able to re-flash the devices using…
-
Quick RouterOS script for hurricane electric 6to4 tunnel dynamic updating
If your ISP doesn’t offer IPv6 you may have set up an IPv6 6to4 tunnel using Hurricane Electric’s free ‘tunnelbroker.net‘ service. To operate the tunnel, tunnelbroker.net requires that you configure an IPv4 endpoint/client IP in their tunnel configuration. Additionally, the Mikrotik RouterOS ‘6to4’ tunnel interface requires this same IPv4 address is (redundantly) entered as the…
-
Send Slack messages from Mikrotik RouterOS
This is a quick RouterOS script hack which I just wanted to get up online; it’s not anywhere near perfect but it might be useful to others. My objective here was to post a message to any Slack channel from Mikrotik RouterOS: Slack has a super-simple to use ‘incoming webhook‘ integration but unfortunately, this requires that your…
-
Monitoring and reporting 3G radio signal-strength (RSSI, dBm) on Mikrotik Routerboards
Monitoring a large number of Mikrotik Routerboards is easy using software and tools like LibreNMS and Oxidized, but it is unfortunately not possible to retrieve values for 3G/4G/etc signal-strength RSSI (in dBm) via SNMP when using interfaces like the Sierra MC8705 Mini-PCIe card. However, using some RouterOS scripts, we can read and push the value for…
-
3G Weather Station using MangoES and RouterBoard
I thought I would share a recent little side-project that I did at work, putting together a neat and tidy solution to take wind measurements over a three month period for a customer who is interested in installing small wind turbines at some of their rural radio repeater sites. With a tame sparky on hand…
-
MiniPCIe cards on RB912 boards – how to make the interface appear
If you’re using MiniPCIe 3G cards on Mikrotik Routerboards, the new RB912 may be a much better choice than the older and cheaper RB411u, as the RB912 has the capability to interrupt or cycle power to the miniPCIe interface via software, which the RB411 lacks. In some particular circumstances*, such a full ‘power cycle’ of…
-
Reading SNMP values from Mikrotik RouterOS into Mango Automation
If you use Mikrotik routerboard devices in your networking environment or for remote telemetry applications, you may be interested in retrieving some datapoints from the Routerboard using Mango’s SNMP datasource module. In this example, I am going to monitor the up/down state of an interface, as well as the DC supply voltage to the routerboard…
Recent Posts
- Push RouterOS metrics to InfluxDB
- Stream to youtube from Unifi NVR
- Fix for nonfunctioning power window in 2007 Mazda3
- Sonoff, meet powerstrip
- Netinstall for RouterOS in Virtualbox (on Mac OS)
Tags
Comments
Amazing instructions! I have spent half a day struggling to recover Mikrotik from failed firmware update until found these instructions.…
Thanks for posting! That worked on my 2007 Mazda3.