SwitchOS - SNMP monitoring oid's maps

Hello ,

Im trying to find all OID’s for SwitchOS. From RouterOS I can just use XXXX print OID and get them. But there is no CLI on SwitchOS.
Already download Mikrotik.mib from 2018 but cannot reffer to OID’s and SwitchOS.

@MikroTik] > system resource print oid
    used-memory: .1.3.6.1.2.1.25.2.3.1.6.65536
         uptime: .1.3.6.1.2.1.1.3.0
     build-time: .1.3.6.1.4.1.14988.1.1.7.6.0
   total-memory: .1.3.6.1.2.1.25.2.3.1.5.65536
  cpu-frequency: .1.3.6.1.4.1.14988.1.1.3.14.0

From poor SwitchOS documentation I found:

SwOS supports SNMP v1 and uses IF-MIB, SNMPv2-MIB and BRIDGE-MIB for SNMP reporting.
Available SNMP data:
System information
System uptime
Port status
Interface statistics
Host table information

But that does not help me how I can see OID’s to be able to describe them in my SNMP check script. For example I dont know how to catch temperature which I can see from GUI

root@icinga2:/usr/lib/nagios/plugins# snmpwalk -v 2c -c public 10.X.X.X .1.3.6.1.4.1.14988.1.1.3.10.0
iso.3.6.1.4.1.14988.1.1.3.10.0 = No more variables left in this MIB View (It is past the end of the MIB tree)

Im not sure if I can see Used Memory / CPU …etc

Where I can find or a way to map new OID’s because it seems temperature .1.3.6.1.4.1.14988.1.1.3.10.0 is an old one. Goal is to monitor SwitchOS with Icinga2 .

Hi,

You need to launch polling from dude to mkt devices.
I tried only polling system like as Dude or Logstash or other similar SNMP poller system.

Bye

Fabrix

Hello ,

I didnt get that I dont use Dude or Logstash I need to know what I can monitor on that SwitchOS which I start to hate more and more.

  1. I’m not going to install Windows just to be able to get something out from mikritok. Also as you can see it required RouterOS I’m searching how to do it for SwitchOS.
  • System requirements for server package
    RouterOS:

Im using Icinga2 with SNMP cheers but … for me right now is to understand SwitchOS SNMP server what I can monitor and how I can find a map for OID. There is just

If you think that this documentation is telling you stomping you are wrong: https://wiki.mikrotik.com/wiki/SwOS/CSS326#SNMP_Tab
I just have SwOS supports SNMP v1 and uses IF-MIB, SNMPv2-MIB and BRIDGE-MIB for SNMP reporting. which does not help me a lot.

Still searching more info about monitoring SwitchOS I will love to have some fancy graphs with port band …etc / cpu / memory / fan / powersupply … all that cool stuff.

I am using dude and [oid(“1.3.6.1.4.1.14988.1.1.3.10.0”)]°C gives the temperature on ROS devices. My CSS326 with SWOS 2.10 does have a temp sensor but I am not sure SNMP reports it, or I cant fint its OID

Found it [oid(“1.3.6.1.4.1.14988.1.1.3.11.0”)]°C

On SwitchOs 2.18 this query worked for me (this is equivalent with the health tab):

$ snmpwalk -v2c -c public 192.168.1.244 iso.3.6.1.4.1.14988.1.1.3.100.1.3
iso.3.6.1.4.1.14988.1.1.3.100.1.3.16.0 = Gauge32: 0
iso.3.6.1.4.1.14988.1.1.3.100.1.3.52.0 = Gauge32: 47
iso.3.6.1.4.1.14988.1.1.3.100.1.3.7201.0 = Gauge32: 2825
iso.3.6.1.4.1.14988.1.1.3.100.1.3.7202.0 = Gauge32: 5437
iso.3.6.1.4.1.14988.1.1.3.100.1.3.7301.0 = Gauge32: 0
iso.3.6.1.4.1.14988.1.1.3.100.1.3.7302.0 = Gauge32: 0