How to Mikrotik Monitoring With Cacti

Any interface in the Mikrotik, CPU memory, or queues of the oid to get the settings to verify the SNMP settings, cacti to add Mikrotik template cacti to SNMP v3 with the Mikrotik data will take.

This guide will step you through the process of installing Cacti on an existing VPS (we are using Ubuntu 16.04.2 LTS) and getting a single graph setup for your environment. This is going to assume that the VPS you are installing on has access (both via firewall and via VPN of some kind) to poll devices via SNMP.

Step 1-Fire up an ssh session to your VPS and start with

Step 2-Secure the MySQL server installation with

Step 3-Ensure we have snmpd running and apache2 as well with the MySQL backend we have just secured

Step 4-By default your installation would have created an alias in Apache to point /cacti to your installation. So head over to HTTP://<your_hostname>/cacti/

Step 5-Default user/pass is admin/admin and Cacti will force you to change the password on the first login. If it doesn’t, something’s not right…

Step 6-Login to your MikroTik Router and ensure that SNMP is enabled. Lock it down to the IP address of your Cacti server.

Step 7-The welcome screen of Cacti will now step us through the three basic main steps we are going to follow, the first of which is going to be creating devices for the network. Head to Devices and then Add

Step 8-Type in the IP/Hostname of your router and give it a description. We are going to choose SNMP version 2 here as well to give us some more recent tools. We are also going to use a host template of a Generic SMTP-enabled Host.

Step 9-Once you hit ‘Create’ it will poll the device and grab some basic info. Go and head and “Create Graphs for this Host”

Step 10-Tick the interfaces you wish to create graphs for, select a graph type (I typically use In/Out Bits with Total Bandwidth) and then hit “Create”

Step 11-After this is done you can add the graphs to a ‘Graph Tree’ on the left-hand management menu or you can view them in the ‘Default Tree’

And that’s all there is to a really basic Cacti installation on Ubuntu 16.04.2 LTS