Skip to main content

Mikrotik Router

Plugin: go.d.plugin Module: snmp

Overview

Monitor Mikrotik Router (network device) with Netdata over SNMP. Netdata recognizes the device automatically by its sysObjectID (recognized across 2 device identifiers) and collects the metrics this profile declares — on top of the generic SNMP baseline — with no manual OID configuration.

Netdata's SNMP collector matches the device to the mikrotik-router.yaml profile via sysObjectID/sysDescr, then polls the OIDs it declares.

This integration is supported on all platforms.

This integration supports multiple instances configured side-by-side.

Default Behavior

Auto-Detection

Auto-detected as Mikrotik Router via sysObjectID/sysDescr.

Limits

The default configuration for this integration does not impose any limits.

Performance Impact

The default configuration for this integration is not expected to impose a significant performance impact on the system.

Setup

You can configure the snmp collector in two ways:

MethodBest forHow to
UIFast setup without editing filesGo to Nodes → Configure this node → Collectors → Jobs, search for snmp, then click + to add a job.
FileIf you prefer configuring via file, or need to automate deployments (e.g., with Ansible)Edit go.d/snmp.conf and add a job.
important

UI configuration requires paid Netdata Cloud plan.

Prerequisites

SNMP access

SNMP must be enabled on the device and reachable from the Netdata Agent acting as the site's SNMP hub.

Configuration

Options

Configure the SNMP collector with the device hostname and SNMP credentials. See the SNMP collector reference for all options.

via UI

Configure the snmp collector from the Netdata web interface:

  1. Go to Nodes.
  2. Select the node where you want the snmp data-collection job to run and click the (Configure this node). That node will run the data collection.
  3. The Collectors → Jobs view opens by default.
  4. In the Search box, type snmp (or scroll the list) to locate the snmp collector.
  5. Click the + next to the snmp collector to add a new job.
  6. Fill in the job fields, then click Test to verify the configuration and Submit to save.
    • Test runs the job with the provided settings and shows whether data can be collected.
    • If it fails, an error message appears with details (for example, connection refused, timeout, or command execution errors), so you can adjust and retest.

via File

The configuration file name for this integration is go.d/snmp.conf.

The file format is YAML. Generally, the structure is:

update_every: 1
autodetection_retry: 0
jobs:
- name: some_name1
- name: some_name2

You can edit the configuration file using the edit-config script from the Netdata config directory.

cd /etc/netdata 2>/dev/null || cd /opt/netdata/etc/netdata
sudo ./edit-config go.d/snmp.conf
Examples

There are no configuration examples.

Alerts

There are no alerts configured by default for this integration.

Metrics

On top of the generic SNMP baseline (the Generic SNMP Device integration — interfaces, system, IP/TCP/UDP, host resources), this Mikrotik Router profile adds the metrics below. Each is collected only where the device exposes the matching OID — inclusion means the profile requests it; availability depends on the device model and software.

40 metrics in 8 groups; each row is a chart context usable in alerts.

GroupMetrics
Hardware / CPU1
Hardware / OpticalModule8
Hardware / Sensor1
Network / Interface8
Network / VPN8
System / CPU1
System / Uptime1
Uncategorized12

Hardware / CPU

Metric (chart context)UnitScopeDescription
snmp.device_prof_mtxrHlProcessorTemperatureCeldeviceThe current CPU temperature

Hardware / OpticalModule

Metric (chart context)UnitScopeDescription
snmp.device_prof_mtxrOpticalRxLoss{status}per optical_index, optical_nameIndicates whether there is a loss of received optical signal (Rx Loss)
snmp.device_prof_mtxrOpticalRxPowermWper optical_index, optical_nameReceived optical power
snmp.device_prof_mtxrOpticalSupplyVoltageVper optical_index, optical_nameSupply voltage
snmp.device_prof_mtxrOpticalTemperatureCelper optical_index, optical_nameTemperature at sensor chip
snmp.device_prof_mtxrOpticalTxBiasCurrentmAper optical_index, optical_nameTransmit bias current
snmp.device_prof_mtxrOpticalTxFault{status}per optical_index, optical_nameIndicates whether the optical transceiver is experiencing a transmit fault
snmp.device_prof_mtxrOpticalTxPowermWper optical_index, optical_nameTransmit optical power
snmp.device_prof_mtxrOpticalWavelengthnmper optical_index, optical_nameOptical wavelength

Hardware / Sensor

Metric (chart context)UnitScopeDescription
snmp.device_prof_mtxrHlSensorValueper sensor_name, rm:sensor_typeSensor value

Network / Interface

Metric (chart context)UnitScopeDescription
snmp.device_prof_ifAdminStatus{status}per interface, interfaceCurrent administrative state of the interface
snmp.device_prof_ifHighSpeedbit/sper interface, interfaceEstimate of the interface's current bandwidth
snmp.device_prof_ifNumber{interface}deviceNumber of network interfaces regardless of their current state present on this system
snmp.device_prof_ifOperStatus{status}per interface, interfaceCurrent operational state of the interface
snmp.device_prof_mtxrPOECurrentmAper poe_interface_index, poe_namePower over ethernet current
snmp.device_prof_mtxrPOEPowerWper poe_interface_index, poe_namePower over ethernet
snmp.device_prof_mtxrPOEStatus{status}per poe_interface_index, poe_namePower over ethernet status
snmp.device_prof_mtxrPOEVoltageVper poe_interface_index, poe_namePower over ethernet voltage

Network / VPN

Metric (chart context)UnitScopeDescription
snmp.device_prof_mtxrIkeSACount{sa}deviceNumber of active IKE Security Associations
snmp.device_prof_mtxrIkeSAPh2Count{sa}per ike_sa_indexNumber of Phase 2 child SAs for this IKE SA
snmp.device_prof_mtxrIkeSARxBytesBy/sper ike_sa_indexNumber of bytes received through this IKE SA
snmp.device_prof_mtxrIkeSARxPackets{packet}/sper ike_sa_indexNumber of packets received through this IKE SA
snmp.device_prof_mtxrIkeSAState{status}per ike_sa_indexCurrent state of the IKE Security Association
snmp.device_prof_mtxrIkeSATxBytesBy/sper ike_sa_indexNumber of bytes transmitted through this IKE SA
snmp.device_prof_mtxrIkeSATxPackets{packet}/sper ike_sa_indexNumber of packets transmitted through this IKE SA
snmp.device_prof_mtxrIkeSAUptimesper ike_sa_indexHow long this IKE SA has been active

System / CPU

Metric (chart context)UnitScopeDescription
snmp.device_prof_cpu_usage%per cpu_indexThe current CPU utilization

System / Uptime

Metric (chart context)UnitScopeDescription
snmp.device_prof_systemUptimesdeviceTime since the system was last rebooted or powered on.

Uncategorized

Metric (chart context)UnitScopeDescription
snmp.device_prof_lldpStatsRemTablesAgeoutsdevice
snmp.device_prof_lldpStatsRemTablesDeletesdevice
snmp.device_prof_lldpStatsRemTablesDropsdevice
snmp.device_prof_lldpStatsRemTablesInsertsdevice
snmp.device_prof_lldpStatsRemTablesLastChangeTimedevice
snmp.device_prof_lldpStatsRxPortAgeoutsTotalper lldp_loc_port_num
snmp.device_prof_lldpStatsRxPortFramesDiscardedTotalper lldp_loc_port_num
snmp.device_prof_lldpStatsRxPortFramesErrorsper lldp_loc_port_num
snmp.device_prof_lldpStatsRxPortFramesTotalper lldp_loc_port_num
snmp.device_prof_lldpStatsRxPortTLVsDiscardedTotalper lldp_loc_port_num
snmp.device_prof_lldpStatsRxPortTLVsUnrecognizedTotalper lldp_loc_port_num
snmp.device_prof_lldpStatsTxPortFramesTotalper lldp_loc_port_num

Do you have any feedback for this page? If so, you can open a new issue on our netdata/learn repository.