[mrtg] Re: Problem with SNMP?

Paul C. Williamson pwilliamson at mandtbank.com
Wed Dec 19 13:24:37 MET 2001


So it looks like SNMP is not enabled on this device or 
you do not have the correct community (public in your 
example) string.  What kind of device is this?

Don't even worry about snmpwalk until you can get it 
either working or find out the community name.

Paul

>>> <Jaroslav.Fikker at cuzk.cz> 12/19/01 06:32 AM >>>

Hello.

I try this cfgmaker command:
cfgmaker --global 'WorkDir: /var/www/html/mrtg' --global 'Options[_]:
bits,growright' --output /etc/mrtg/mrtg.cfg public at 10.52.4.221

and here is output:
--base: Get Device Info on public at 10.52.4.221:
SNMP Error:
no response received
SNMPv1_Session (remote host: "10.52.4.221" [10.52.4.221].161)
                  community: "public"
                 request ID: 1672896200
                PDU bufsize: 8000 bytes
                    timeout: 2s
                    retries: 5
                    backoff: 1)
 at /usr/bin/../lib/mrtg2/SNMP_util.pm line 450
SNMPGET Problem for sysDescr sysContact sysName sysLocation sysObjectID on
public at 10.52.4.221:
 at /usr/bin/cfgmaker line 657
--base: Vendor Id:
--base: Populating confcache
--snpo: Skipping ifName scanning because public at 10.52.4.221: does not seem
to support it
--snpo: Skipping ifDescr scanning because public at 10.52.4.221: does not seem
to support it
--snpo: Skipping ipAdEntIfIndex scanning because public at 10.52.4.221: does
not seem to support it
--snpo: Skipping ifType scanning because public at 10.52.4.221: does not seem
to support it
--snpo: Skipping ifPhysAddress scanning because public at 10.52.4.221: does not
seem to support it
--base: Get Interface Info
--base: Walking ifIndex
<snip>

Because I'm beginner in using SNMP, I don't know, how can I use snmpwalk
command. :-(

J. Fikker

> I'll ask the obvious...
> 
> What happens when you run cfgmaker against the device?
> The reason I ask is that it doesn't look like cfgmaker 
> built that cfg.
> 
> What happens when you try to query the device with something 
> like GetIf or snmpwalk?
> 
> Paul


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



More information about the mrtg mailing list