[mrtg] MRTG with SNMPv2c and RouterOS?

Ed LaFrance edl at colocationonline.info
Thu Jun 11 21:01:26 CEST 2009

Hello all -

Has anyone out there had any luck querying RouterOS via MRTG with 
SNMPv2c? Mikrotik (the publisher) says it works, and 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 on public at r1.0:::::2:v4only
  at /usr/local/mrtg-2/bin/cfgmaker line 915
WARNING: Skipping public at 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 this list: no joy.

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



More information about the mrtg mailing list