Community discussions

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

MRTG with SNMPv2c and RouterOS?

Thu Jun 11, 2009 10:03 pm

Hello all -

Has anyone out there had any luck querying RouterOS via MRTG with SNMPv2c? If I use an binary version of snmpwalk that I found lying around, I do get data back from RouterOS via v2c with that. And MTRG works fine with RouterOS via SNMPv1. But with v2c I just get this from the cfgmaker:

SNMP Error:
no response received
SNMPv2c_Session (remote host: "r1.0" [xxx.xxx.xxx.xxx].161)
community: "public"
request ID: -1075706946
PDU bufsize: 8000 bytes
timeout: 2s
retries: 5
backoff: 1)
at /usr/local/mrtg-2/bin/../lib/mrtg2/SNMP_util.pm line 627
SNMPWALK Problem for 1.3.6.1.2.1.1 on public@r1.0:::::2:v4only
at /usr/local/mrtg-2/bin/cfgmaker line 915
WARNING: Skipping public@r1.0:::::2 as no info could be retrieved

I've upgraded to the latest and greatest stable MRTG and tried --global 'SnmpOptions[_]: avoid_negative_request_ids=>1,use_16bit_request_ids=>1' per the suggestions of someone on the MRTG mailing list: no joy.

Is anyone actually doing it now, and how did you get it work?

Thanks!

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

Re: MRTG with SNMPv2c and RouterOS?

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.

Who is online

Users browsing this forum: No registered users and 19 guests