Community discussions

MikroTik App
 
cololine
Member Candidate
Member Candidate
Topic Author
Posts: 106
Joined: Wed May 27, 2009 1:11 am

Feature Request: *really* support SNMP v2C

Sun Jun 14, 2009 6:19 pm

Hello -

I've been troubleshooting an issue in which I cannot query ROS with MRTG using SNMPv2C, and after some kindly help from the MRTG developers, it appears the issue may be that the current stable version of ROS only offers psuedo-support of SNMPv2C:

snmpwalk -c public -v 2c r1.0
SNMPv2-MIB::sysDescr.0 = STRING: router
SNMPv2-MIB::sysObjectID.0 = OID: SNMPv2-SMI::enterprises.14988.1
SNMPv2-MIB::sysUpTime.0 = Timeticks: (161707400) 18 days, 17:11:14.00
...etc

snmpbulkwalk -c public -v 2c r1.0
Timeout: No Response from r1.0

...and querying the counters with MRTG mod'ed to not use getbulk:

--base: snmpget public@r2.0:::::2:v4only for ifHighSpeed.24 -> 0 Mb/s
--base: snmpget public@r2.0:::::2:v4only for ifHCInOctets.24 -> 1239398008
--base: check for HighspeedCounters failed ... Dropping back to V1
--base: snmpget public@r2.0:::::2:v4only for ifHighSpeed.25 -> 0 Mb/s
--base: snmpget public@r2.0:::::2:v4only for ifHCInOctets.25 -> 2258087578
--base: check for HighspeedCounters failed ... Dropping back to V1

..etc. I think that proper support for this protocol is important!

Thanks!

Ed
Last edited by cololine on Mon Jun 15, 2009 5:17 pm, edited 1 time in total.
 
savage
Forum Guru
Forum Guru
Posts: 1265
Joined: Mon Oct 18, 2004 12:07 am
Location: Cape Town, South Africa
Contact:

Re: Feature Request: support SNMP getbulk

Sun Jun 14, 2009 7:12 pm

ROS only supports SNMPv1 as far as I know
 
cololine
Member Candidate
Member Candidate
Topic Author
Posts: 106
Joined: Wed May 27, 2009 1:11 am

Re: Feature Request: support SNMP getbulk

Sun Jun 14, 2009 7:15 pm

ROS only supports SNMPv1 as far as I know
Clearly it does offer support for v2C, perhaps with some limits, see above test with snmpwalk as well as other posts around this board. But it does appear to need some work.
 
cololine
Member Candidate
Member Candidate
Topic Author
Posts: 106
Joined: Wed May 27, 2009 1:11 am

Re: Feature Request: *really* support SNMP v2C

Mon Jun 15, 2009 5:44 pm

I've moved this discussion to here: http://forum.mikrotik.com/viewtopic.php?f=1&t=32647, because the proper support of SNMPv2C in ROS is feature request for the next verision.
 
User avatar
Eising
Member Candidate
Member Candidate
Posts: 272
Joined: Mon Oct 27, 2008 10:21 am
Location: Copenhagen, Denmark

Re: Feature Request: *really* support SNMP v2C

Tue Jun 16, 2009 8:41 am

I second this support!
MikroTik, please remove whatever hacks you did to the SNMPv1 protocol to make it appear like SNMPv2C, and make a proper SNMPv2C implementation (and implement the BGP MIB while you're at it...)!
 
cololine
Member Candidate
Member Candidate
Topic Author
Posts: 106
Joined: Wed May 27, 2009 1:11 am

Re: Feature Request: *really* support SNMP v2C

Tue Jun 16, 2009 6:17 pm

Good news - I've received notice form MikroTik techinical support that they are working on full SNMPv2C compatibility. :D
 
User avatar
Eising
Member Candidate
Member Candidate
Posts: 272
Joined: Mon Oct 27, 2008 10:21 am
Location: Copenhagen, Denmark

Re: Feature Request: *really* support SNMP v2C

Tue Jun 16, 2009 10:48 pm

Hooray!
 
User avatar
SpectatorCN
newbie
Posts: 34
Joined: Tue Sep 23, 2008 9:40 pm
Location: Ukraine
Contact:

Re: Feature Request: *really* support SNMP v2C

Thu Jun 25, 2009 3:10 am

SNMP v2c read only?
 
User avatar
SpectatorCN
newbie
Posts: 34
Joined: Tue Sep 23, 2008 9:40 pm
Location: Ukraine
Contact:

Re: Feature Request: *really* support SNMP v2C

Thu Jun 25, 2009 3:23 am

SNMP on RB493 with v.3.14 works fine.
But on x86 with v.3.25 does not want to work "Timeout: No Response from xx.xx.xx.xx"
It's my mistake or SNMP is not working on x86?
 
User avatar
Chupaka
Forum Guru
Forum Guru
Posts: 8712
Joined: Mon Jun 19, 2006 11:15 pm
Location: Minsk, Belarus
Contact:

Re: Feature Request: *really* support SNMP v2C

Thu Jun 25, 2009 10:51 am

3.25, x86 - works fine for me
 
User avatar
SpectatorCN
newbie
Posts: 34
Joined: Tue Sep 23, 2008 9:40 pm
Location: Ukraine
Contact:

Re: Feature Request: *really* support SNMP v2C

Thu Jun 25, 2009 1:29 pm

3.25, x86 - works fine for me
Ok.Thanks!
I will search for a problem at myself.
 
cololine
Member Candidate
Member Candidate
Topic Author
Posts: 106
Joined: Wed May 27, 2009 1:11 am

Re: Feature Request: *really* support SNMP v2C

Mon Jul 20, 2009 6:29 pm

The changelog for the latest release (v3.27) does not say anything about snmpv2c support improvements. Mikrotik, can you tell us, in what version can we expect this?

Thanks!

Ed
 
falz
Frequent Visitor
Frequent Visitor
Posts: 56
Joined: Tue Jun 03, 2008 10:54 pm

Re: Feature Request: *really* support SNMP v2C

Mon Aug 09, 2010 9:55 pm

I was attempting to use v2c on various routerboards. 'snmpwalk' using v2c gets responses but MRTG's configmaker does not. I sniffed the traffic to discover that it doesn't respond to getBulkRequest as the original poster points out.

Could we get an official response as to weather real snmp v2c support is on the roadmap?
 
roddie
just joined
Posts: 12
Joined: Fri Aug 06, 2010 9:42 pm

Re: Feature Request: *really* support SNMP v2C

Mon Aug 09, 2010 10:02 pm

I'm having the same issue here -- I'm trying to add my new RB to Cacti using SNMPv2c, but it is not responding properly to the getBulkRequest in the interface query. I can add it as an SNMPv1 device and then switch to v2c for graphing, but it would be nice if the implantation was done properly.

I have not yet tested bandwidth over 114Mb/s to see if the 64-bit counters are working properly, but hopefully that will work as expected.
 
falz
Frequent Visitor
Frequent Visitor
Posts: 56
Joined: Tue Jun 03, 2008 10:54 pm

Re: Feature Request: *really* support SNMP v2C

Mon Aug 16, 2010 4:12 pm

According to the release notes for RouterOS v5 Beta 6, bulk get has been added:
*) snmp - added GETBULK support, no more table caching - solves problems
            with huge tables, routing tables currently are not available;
I haven't tested it yet.

* http://www.mikrotik.com/download/CHANGELOG_5
* http://forum.mikrotik.com/viewtopic.php?f=1&t=44103
 
roddie
just joined
Posts: 12
Joined: Fri Aug 06, 2010 9:42 pm

Re: Feature Request: *really* support SNMP v2C

Mon Aug 16, 2010 10:44 pm

falz - I just tested the new release with SNMP Bulk Gets and can confirm that it works as advertised. Thanks for the heads-up.
 
taylorc
Member Candidate
Member Candidate
Posts: 102
Joined: Mon Aug 21, 2006 3:42 am

Re: Feature Request: *really* support SNMP v2C

Sat Aug 21, 2010 9:29 am

Only one problem - All my Cacti graphs that are still trying to connect to the 5.0beta6 with Version 1 now fail.

My Cacti log now fills up with SNMP timeouts and invalid results. And empty graphs.
 
taylorc
Member Candidate
Member Candidate
Posts: 102
Joined: Mon Aug 21, 2006 3:42 am

Re: Feature Request: *really* support SNMP v2C

Sat Aug 21, 2010 9:47 am

The SNMP requests just timeout when trying to connect with Version 1.

Deleted my graphs and data sources and recreated with Version 1 - No difference.

Deleted my graphs and data sources and recreated with Version 2 - Still no usable results. Now log reads Result from SNMP not valid.

Even if that worked, I'm graphing hundreds of Mikrotik devices - It is simply not practical to rebuild all the graphs just for a version upgrade - This is definitely a show stopper.
 
roddie
just joined
Posts: 12
Joined: Fri Aug 06, 2010 9:42 pm

Re: Feature Request: *really* support SNMP v2C

Sat Aug 21, 2010 4:43 pm

Same problem here -- Even though bulk requests work fine now, the SNMP polls themselves fail with beta6.

Who is online

Users browsing this forum: AshuGite and 35 guests