Cacti SNMP problem with Mikrotik v6.30 or newer

Post general support questions here that do not specifically fall into the Linux or Windows categories.

Moderators: Developers, Moderators

Post Reply
leonset
Posts: 8
Joined: Mon May 23, 2005 2:55 pm
Location: Spain

Cacti SNMP problem with Mikrotik v6.30 or newer

Post by leonset »

Hi all,

I have a Cacti graph monitoring OID .1.3.6.1.4.1.14988.1.1.1.2.1.11 (Wireless Session uptime) of many Mikoritk RouterOS devices. It has been working ok at least up to v6.28, but has stopped working with RouterOS 6.30. I have tried newer versions too without any success.

If I query the OID with snmpwalk, snmpbulkget or snmpbulkwalk I do get the proper value, but Cacti is unable to retrieve the value, either with Spine or with cmd.php. No change has been done to the Cacti setup or environment. Indeed, the antennas which use versions <6.30 are reporting that value ok.

I'm using v0.8.8c, but I have tested with Spine 0.8.8f too with the same results:

Code: Select all

09/23/2015 12:18:21 PM - SPINE: Poller[0] Host[296] TH[1] DS[4053] SNMP: v2: 1.2.3.7, dsname: wirelessUptime, oid: .1.3.6.1.4.1.14988.1.1.1.2.1.11, value: U
On the hosts with Mikrotik RouterOS <v6.30 the log says:

Code: Select all

09/23/2015 13:22:07 PM - SPINE: Poller[0] Host[250] TH[1] DS[3347] SNMP: v2: 1.2.3.5, dsname: wirelessUptime, oid: .1.3.6.1.4.1.14988.1.1.1.2.1.11, value: 2275500
All the SNMP commands output seems to be exactly the same as before upgrading RouterOS version:

Code: Select all

snmpbulkget -v2c -c public 1.2.3.7 .1.3.6.1.4.1.14988.1.1.1.2.1.11

iso.3.6.1.4.1.14988.1.1.1.2.1.11.76.94.11.152.83.235.2 = Timeticks: (8566100) 23:47:41.00
iso.3.6.1.4.1.14988.1.1.1.2.1.12.76.94.11.152.83.235.2 = INTEGER: 64
iso.3.6.1.4.1.14988.1.1.1.2.1.13.76.94.11.152.83.235.2 = INTEGER: -57
iso.3.6.1.4.1.14988.1.1.1.2.1.14.76.94.11.152.83.235.2 = INTEGER: -46
iso.3.6.1.4.1.14988.1.1.1.2.1.15.76.94.11.152.83.235.2 = INTEGER: -56
iso.3.6.1.4.1.14988.1.1.1.2.1.16.76.94.11.152.83.235.2 = INTEGER: -47
iso.3.6.1.4.1.14988.1.1.1.2.1.17.76.94.11.152.83.235.2 = INTEGER: 0
iso.3.6.1.4.1.14988.1.1.1.2.1.18.76.94.11.152.83.235.2 = INTEGER: 0
iso.3.6.1.4.1.14988.1.1.1.2.1.19.76.94.11.152.83.235.2 = INTEGER: -53

Code: Select all

snmpwalk -v2c -c public 1.2.3.7 .1.3.6.1.4.1.14988.1.1.1.2.1.11

iso.3.6.1.4.1.14988.1.1.1.2.1.11.76.94.11.152.83.235.2 = Timeticks: (8567500) 23:47:55.00

Code: Select all

snmpbulkwalk -v2c -c public 1.2.3.7 .1.3.6.1.4.1.14988.1.1.1.2.1.11

iso.3.6.1.4.1.14988.1.1.1.2.1.11.76.94.11.152.83.235.2 = Timeticks: (8606400) 23:54:24.00
This could be a RouterOS problem, but it puzzles me that even RouterOS gives me the same SNMP output, Cacti is not able to get the value.

Any clue about what could be causing this issue?
Thanks!
leonset
Posts: 8
Joined: Mon May 23, 2005 2:55 pm
Location: Spain

Re: Cacti SNMP problem with Mikrotik v6.30 or newer

Post by leonset »

Well, looks like newer versions have stopped reporting information on OID .1.3.6.1.4.1.14988.1.1.1.2.1.11 for snmpget. When doing a snmpwalk it does report the proper information but adds some numbers to the OID.

Versions older than v6.30 reported the Wireless Uptime with snmpget both on the "plain" OID (.1.3.6.1.4.1.14988.1.1.1.2.1.11) and on the "longer" OID with the added numbers.

Conclusion: I have to change my template :roll:

Is there any way to preserve the old data?
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest