Getting Started

This guide starts where installation ends: the container is up and the login page is open. By the end you have one router reporting into the dashboard.

Not installed yet? Start with the Installation Guide and come back here.
Contents
  1. First login
  2. Create a site
  3. Create the RouterOS account
  4. Choose a connection method
  5. Add your first device
  6. Every field on the device form
  7. Check that it works
  8. Where to go next

1. First login

The first administrator is created by the seed command from the installation guide:

docker exec mikr-manager node scripts/seed.js

It creates the user admin with the password admin and the superadmin role. It only runs when the database has no users at all — running it again later prints a message and changes nothing, so it cannot reset a password you have already set.

Open the manager on port 3000 and log in with those credentials.

Change this password before you add any device, not after. The manager stores your routers' credentials encrypted, and this account can use them. Go to Users, open the admin account and set a new password.

2. Create a site

A site is a group of devices — normally one physical location. Create it before the first device: sites are what the dashboard groups by, and they are also the unit that per-user access is granted on, so a device added to the right site from the start needs no rearranging later.

Go to SitesAdd Site. Only the name is required:

FieldNotes
NameRequired. Shown as the group heading on the dashboard and the devices page.
LocationOptional. Free text, searchable.
DescriptionOptional. Free text, searchable.
User accessWhich users may see this site's devices. Leave it alone for now and come back once you have more than one user.

If you only manage one location, still create one site. Devices without a site work, but they sit in an unnamed group.

3. Create the RouterOS account

Do not point the manager at your admin account. Create a dedicated user on the router with a group that carries only the policies the manager actually uses. On the router:

/user/group/add name=manager-group policy=ssh,reboot,read,write,sensitive,rest-api,policy,!local,!telnet,!ftp,!test,!winbox,!password,!web,!sniff,api,!romon
/user/add name=mikr group=manager-group password=YOUR_PASSWORD

This limits the damage if the manager itself is ever compromised. The negated policies are deliberate — leave them negated unless you know why you need one of them.

Read-only accounts

An account without the write policy is supported and is a reasonable choice if you only want monitoring. The manager detects it: the device card carries a read-only badge, its page notes which account it is, and Test Connection reports it — so you find out when you add the device, rather than when an upgrade or a backup is rejected months later.

Monitoring, interface and neighbour data all work on such an account. Commands, upgrades, backups and configuration changes do not.

4. Choose a connection method

Each device is configured with one method. This is the difference between them:

CapabilitySSHREST APISNMP only
Status monitoringyesyesyes
Interface and neighbour datayesyesyes
CLI commandsyesyesno
RouterOS and firmware upgradesyesyesno
Configuration backupyesyesno
RequiresSSH service enabledRouterOS 7.1+, www-ssl or wwwAn SNMP community

SSH is used for reading even on REST devices

This surprises people, so it is worth stating plainly. Whatever method a device is set to, the manager reads over SSH and only sends writes over the configured method. The reason is a MikroTik behaviour: the REST API creates an entry in /user/active roughly every ten minutes, and those entries are never cleaned up — left alone for long enough they exhaust the router's session slots. An SSH connection creates one session that goes away when it disconnects.

If SSH is not reachable on a REST device, the read falls back to REST, so the device still works. But plan your firewall rules on the assumption that the manager needs SSH to the router.

What an SNMP-only device gives you

Choose SNMP when SSH and REST are not available or not wanted on a box. Over SNMP the manager reads the RouterOS version, uptime, CPU load, free and total memory, board name and model, serial number, current and upgradeable firmware, temperature, voltage, power consumption, the device identity, the interface list with neighbours, and interface traffic counters.

It cannot run commands, upgrade, or take backups — there is no SNMP for those. An SNMP-only device is a monitoring target, not a managed one.

SNMP can also be added to an SSH or REST device as a supplementary source, which is a different thing from SNMP-only — see Monitoring transport in the next step.

5. Add your first device

Go to DevicesAdd Device. The form is longer than it needs to be for a first device: only the first block matters, the rest has working defaults.

  1. Identity

    Name and Host / IP are the only required fields. Pick the Site you just created.

  2. Connection

    Connection Method — SSH, REST API or SNMP Only. API Protocol is HTTPS by default and only applies to REST. SSH Port defaults to 22 and API Port to 443; both defaults can be changed globally under Settings for all new devices, and a per-device value always wins.

  3. Credentials

    Username is the RouterOS account you created in step 3. Auth method is either a password or an SSH key — choosing the key shows a field for the private key in PEM form.

    For SNMP Only, the SNMP Community is required instead; the SNMP Port defaults to 161. On SSH and REST devices a community is optional and enables SNMP as an extra source.

  4. Everything else can stay as it is

    Monitoring transport decides how routine polling runs and defaults to following the global setting; actions and detail tabs still open SSH or REST on demand. Poll interval empty means the system default of 60 seconds, and the minimum you can set is 10. Tags, notes, IDS auto-block, log retention, LTE limits, the PoE budget override and per-device metric thresholds are all optional and easier to decide once the device is reporting. PoE-out supply is worth a moment on a switch or router that feeds powered devices: pick the MikroTik supply it runs on, or type the volts and amps of any other one, and the manager works out the budget from there. Left empty, a PoE switch uses its model's datasheet figures. The next section lists every field with its default.

  5. Test the connection

    Save, then run Test Connection on the device. It performs a real read of the system information, so a success means the credentials, the port and the account's policies are all genuinely working — not just that the host answers.

Once one device works, the bulk paths are worth knowing: Scan discovers devices on an IP range, and the devices page can import a list. Get the first one right by hand first — the same credentials mistake repeated across thirty devices is no fun to undo.

6. Every field on the device form

The walkthrough above gets one device reporting. This is the reference for the rest of them — what each field does, and what happens if you leave it alone. Almost everything is optional, and a field left empty follows a global setting rather than switching something off.

FieldWhat it doesLeft empty
NameWhat this device is called everywhere in the manager. Yours to choose — it does not have to match the RouterOS identity, which is read from the device and shown next to it.Required
Host / IPThe address the manager connects to. IPv4, IPv6 or a hostname it can resolve.Required
SiteWhich site the device belongs to. Sites are what per-site access is scoped by, so this decides who can see it.Ungrouped — a user scoped to specific sites will not see it unless they are an admin
Connection MethodSSH, REST API or SNMP Only. See section 4 for what each one can and cannot do.SSH
API ProtocolHTTPS or HTTP for REST devices. Ignored on SSH and SNMP devices.HTTPS
SSH PortPort for SSH.The default under Settings → Defaults, which ships as 22
API PortPort for the REST API. RouterOS 7 serves REST on www/www-ssl, ports 80 and 443 — not on the old api ports 8728/8729.The default under Settings → Defaults, which ships as 443
UsernameThe RouterOS account from section 3.Required, except on SNMP Only
Auth methodA password, or an SSH private key in PEM form. Either one is encrypted at rest with AES-256-GCM and is never shown again after saving.Password
SNMP CommunityRequired on SNMP Only. On SSH and REST devices it is optional and adds SNMP as a second source of readings.No SNMP
SNMP PortUDP port for SNMP.161
Monitoring transportHow routine polling runs for this device: follow the global setting, force SNMP, or never use SNMP. Actions and detail tabs still open SSH or REST on demand whichever you pick.Follow the global setting
TagsFree labels. Searchable, usable to pick devices for a mass command, and a webhook can be limited to them. An assistant can find devices by them too.None
NotesFree text on the device page. Also searchable.None
EnabledOff means the manager stops polling this device entirely. It stays in the list, badged Disabled, and is left out of the counts of what is online or down.Enabled
Auto-block (IDS)Lets the manager add the source of repeated failed logins to a firewall address-list on this device. Opt-in per device because it writes to the configuration.Off
Poll intervalSeconds between polls for this device. Lower it for something you watch closely, raise it for a device on a slow or metered link. The minimum is 10.The global interval, which ships as 60 seconds
Log retention (rows)How many syslog lines to keep from this device, up to 1,000,000.The global syslog setting
Log retention (days)How long to keep them, 1 to 3650 days.The global syslog setting
Monthly LTE limit (GB)The plan's monthly allowance. The manager accumulates LTE transfer from its own polls and fires a warning webhook as it approaches the limit, and an alert at 100%. It is an approximation from polling, not the carrier's own balance.No limit, no warnings
Owner phoneCarried in the alert webhook payload so an external SMS bridge can route the message. The manager does not send SMS itself.The global fallback number, if one is set
PoE-out supplyWhich power supply feeds the device: a MikroTik supply by name, or the volts and amps of any other. It is one or the other — choosing a catalogue supply clears a typed pair, and vice versa, because two sources for one ceiling is how a number nobody can trace appears. This is what makes a budget possible at all on routers whose PoE ceiling follows the brick, and it caps a switch that could otherwise pass more than the supply allows. From 1.75.0 the manager also checks what you chose here against the voltage the board reports, and says so on the PoE card if the two are from different voltage classes — which usually means the supply was changed and this field was not.The model's own datasheet figures, and on a router that bundles a supply, the bundled one
PoE budget (W)A hand-set ceiling that overrides everything above, for a case the catalogue does not cover. Shown only on devices that already have one, so it can be cleared.Worked out from the model and the supply
Metric alert thresholdsCPU (0-100%), memory (0-100%) and temperature (0-150 °C) for this device alone. A value here wins over the global threshold, and 0 switches that metric off for this device even when the global one is set.The global thresholds under Settings → Metric alerts

Nothing in this table has to be right on the first save. Every field is editable afterwards from the same form, and the only ones that change how the manager reaches the device — address, method, ports, credentials — are worth re-running Test Connection after.

7. Check that it works

The manager polls every device on a schedule; the default is once every 60 seconds. Within about a minute the device should carry a green Online badge and show its RouterOS version, uptime, CPU and memory.

The badge has five states, and telling them apart saves time:

BadgeMeaning
OnlineThe last poll succeeded.
Not accessibleThe poll failed, but the management port still accepts TCP connections. The box is up and something else is wrong — see Troubleshooting.
OfflineThe poll failed and the management port does not answer either.
UnknownNot polled yet.
DisabledMonitoring is switched off for this device.

On the device page, expect some sections to be empty. A router with no wireless has no wireless clients, a board with no health sensors reports no temperature, and a CHR has neither. An empty tab usually means the hardware does not have that feature, not that the read failed.

8. Where to go next

In rough order of how much they pay back:

If something does not look right, Troubleshooting covers what the symptoms actually mean.