SNMP OID's are changed after upgrading from 4.x to 5.4?

After upgrading RouterOS from 4.x to 5.4, some OIDs are changed in the last digit:

> /sys resource pr oid
           uptime: .1.3.6.1.2.1.1.3.0
  total-hdd-space: .1.3.6.1.2.1.25.2.3.1.5.131073
   used-hdd-space: .1.3.6.1.2.1.25.2.3.1.6.131073
     total-memory: .1.3.6.1.2.1.25.2.3.1.5.65536
      used-memory: .1.3.6.1.2.1.25.2.3.1.6.65536

Cacti template (link) contains following values (works fine until upgrading):

hddTotal = .1.3.6.1.2.1.25.2.3.1.5.1
hddUsed  = .1.3.6.1.2.1.25.2.3.1.6.1
memTotal = .1.3.6.1.2.1.25.2.3.1.5.2
memUsed  = .1.3.6.1.2.1.25.2.3.1.6.2

Questions:

  1. What is the goal of this change?
  2. Is it possible to change OID’s in ROS settings to previous values?

No, unfortunately it is not possible to change OID values.

Okay, but what is the goal of this change?
At now, we have many Mikrotik devices with RouterOS 3/4/5 monitored by Cacti.
It is a bit difficult to use different templates to monitor devices with different ROS versions.

SNMP module was changed and improved on v5.x, it wasn’t possible to use old values.