[mrtg] passing authentication in cfgmaker

Dale DuVall duvalld at lanecc.edu
Thu Apr 19 01:40:48 CEST 2012


I'm new to mrtg and somewhat new to the 7Ks.


I'm trying to add my Nexus 7Ks to MRTG. I had assistance in setting the 7Ks up for snmp, but I can't get mrtg to talk to it.

I've tried something like this:

c:\mrtg\bin>perl cfgmaker <my community>@10.xx.1.3  --username <user> --authpassword <password> --global "W
rkdir: c:\Apache2\htdocs\mrtg" --output 7K2.cfg


SNMP Error:
no response received
SNMPv1_Session (remote host: "10.161.1.3" [10.161.1.3].161)
                  community: "my community"
                 request ID: -249015793
                PDU bufsize: 8000 bytes
                    timeout: 2s
                    retries: 5
                    backoff: 1)
 at C:/mrtg/bin\..\lib\mrtg2/SNMP_util.pm line 629
SNMPWALK Problem for 1.3.6.1.2.1.1 on admin at 10.161.1.3::::::v4only
 at cfgmaker line 955
WARNING: Skipping admin at 10.xx.1.3: as no info could be retrieved



I've tried using authkey and privkey as well (copied from my 7K configs). I also made sure the network my mrtg server is in is added to the access list.

Can someone give me an example on how to the cfgmaker command?

Thanks in advance,

Dale



More information about the mrtg mailing list