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…

    Read more...

  • 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…

    Read more...

  • 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…

    Read more...

  • 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…

    Read more...

  • 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…

    Read more...

  • 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…

    Read more...

  • 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…

    Read more...

  • 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…

    Read more...

Recent Posts

Tags

For Sale pentax

Comments