[rrd-users] Re: Got SNMP working, but... (Was: SNMP - what do i do wrong?)

spiekey spiekey at hotmail.com
Wed Feb 27 18:49:50 MET 2002


> [snip huge config files]
> > # Das Target von SNMP Daemon,
> > # Syntax: Device:Communityname at localhost
> > Target[eth0]: 5:public at localhost

I changed the 5 to a 1, yes i want eth0 ;)

i still get:
# /usr/local/mrtg-2/bin/mrtg /etc/mrtg.conf
SNMP Error:
Received SNMP response with error code
  error status: noSuchName
  index 1 (OID:
SNMPv1_Session (remote host: "localhost" [].161)
                  community: "public"
                 request ID: 1390379554
                PDU bufsize: 8000 bytes
                    timeout: 2s
                    retries: 5
                    backoff: 1)
 at /usr/local/mrtg-2/bin/../lib/mrtg2/SNMP_util.pm line 450
SNMPGET Problem for ifInOctets.1 ifOutOctets.1 sysUptime sysName on
public at localhost
 at /usr/local/mrtg-2/bin/mrtg line 1491
WARNING: Expected a number but got ''
WARNING: Expected a number but got ''

Someone told me to put a dot in fron of the OID, but i dont have such a OID
Number in my configs, so what do i do now? ;D

> What you are doing is polling the fourth interface.
> Counting from 1, including the loopback interface, this should be the
> fourth NIC or something.
> Are you sure you want that?
> I assume this is a mistake (because you name the target "eth0", the first
> NIC).
> greets,
> Geert

Thanks a LOT!


Unsubscribe mailto:rrd-users-request at list.ee.ethz.ch?subject=unsubscribe
Help        mailto:rrd-users-request at list.ee.ethz.ch?subject=help
Archive     http://www.ee.ethz.ch/~slist/rrd-users
WebAdmin    http://www.ee.ethz.ch/~slist/lsg2.cgi

More information about the rrd-users mailing list