After updating a test router from 4.x to 5.0 monitoring scripts started failing with invalid OID errors on the free memory test. Upon investigating it appears that the router’s memory state OIDs have changed between versions. There’s no mention of this in the changelog. However, perhaps this note from rc8 is related:
*) snmp - fixed memory leak for OID 1.3.6.1.2.1.25.2;
Is this a bug or working as intended?
In addition, /system resource print oid no longer gives the cpu load OID, though it does respond to the same OID as in 4.x.
And it’s just the indices too. No clue why this is needed, honestly. Are we supposed to be reading this as a table, parsing the values by model to make some sort of sense of the results in case they change again? Alternately, are these new indices going to be permanent or subject to change at some future time?
yes they are, but it’s different from older versions like 5.x and 4.x. on these versions, OIDs ends with .1 and .2 instead of .65536 and .131073. it broke backward compatiblity with some cacti templates I found and I had to manually adjust it.
for me, break compatibility without a good reason is bad.
[offtop]does anybody using v4 want to upgrade to v6?[/offtop]
and according to topicstarter, the change was from v4.x to v5.0, it was at least 2 years and 2 months ago. I don’t think they will revert the change which is used by everybody for years