[mrtg] cfgmaker vs cisco 6506

Nagy, Boldizsar (G/FI-1) Boldizsar.Nagy at audi.hu
Thu Apr 14 12:34:30 MEST 2005


Hi all!

I have tried to configure mrtg to monitor our network, but cfgmaker fails to
create the config files.
Here is the error message:
./gen_cfg_NEW.sh
--base: Get Device Info on xyz at 192.168.aaa.bbb:
SNMP Error:
no response received
SNMPv1_Session (remote host: "192.168.aaa.bbb" [192.168.aaa.bbb].161)
                  community: "xyz"
                 request ID: -208135639
                PDU bufsize: 8000 bytes
                    timeout: 2s
                    retries: 5
                    backoff: 1)
 at /usr/local/bin/../mrtg-2/lib/mrtg2/SNMP_util.pm line 627
SNMPWALK Problem for 1.3.6.1.2.1.1 on xyz at 192.168.aaa.bbb::::::v4only
 at /usr/local/bin/cfgmaker line 796
WARNING: Skipping xyz at 192.168.aaa.bbb: as no info could be retrieved


cfg_maker.sh contains:
cat gen_cfg_NEW.sh
#!/bin/sh

cfgmaker --global 'WorkDir: /usr/local/mrtg-2/htdocs'  \
          --global 'Options[_]: growright' \
          --output /usr/local/mrtg-2/cfg/mrtg.cfg    \
          --subdirs=HOSTNAME \
          --community=xyz \
           192.168.aaa.bbb


But snmp works:
snmpwalk 192.164.aaa.bbb xyz system
system.sysDescr.0 = Cisco Systems WS-C6506-E
Cisco Catalyst Operating System Software, Version 7.6(10)
Copyright (c) 1995-2004 by Cisco Systems

system.sysObjectID.0 = OID: enterprises.9.5.45
system.sysUpTime.0 = Timeticks: (145494940) 16 days, 20:09:09.40
system.sysContact.0 = SYNERGON Informatika Rt.
system.sysName.0 = blablabla
system.sysLocation.0 = TK-G9
system.sysServices.0 = 2


Please help solving this problem.
Could it be a misconfiguration on the switch?

Kind Regards

		Nagy Boldizsár
		AUDI HUNGARIA MOTOR Ltd.

The information transmitted is intended only for the person or entity to
which it is addressed and may contain confidential and/or privileged
material. Any review, retransmission, dissemination or other use of, or
taking of any action in reliance upon, this information by persons or
entities other than the intended recipient is prohibited. If you received
this in error, please contact the sender and delete the material from any
computer.

--
Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe
Archive     http://lists.ee.ethz.ch/mrtg
FAQ         http://faq.mrtg.org    Homepage     http://www.mrtg.org
WebAdmin    http://lists.ee.ethz.ch/lsg2.cgi



More information about the mrtg mailing list