[mrtg] Problem with Net-SNMP and sysUptime / sysName

Clemson, Chris Chris.Clemson at softwareag.co.uk
Tue Jun 28 15:52:03 MEST 2005


Hi everyone!
Until recently I've been using UCD-SNMP (I think!) on linux.
As I was reinstalling my server I thought I'd give Net-SNMP a go.

When I run mrtg, against it, all the counters work except sysUptime and sysName:

SNMP Error:
Received SNMP response with error code
  error status: noSuchName
  index 2 (OID: 1.3.6.1.2.1.25.2.3.1.6.101)
SNMPv1_Session (remote host: "localhost" [127.0.0.1].161)
                  community: "public"
                 request ID: 522267604
                PDU bufsize: 8000 bytes
                    timeout: 2s
                    retries: 5
                    backoff: 1)
 at /usr/bin/../lib/mrtg2/SNMP_util.pm line 487
SNMPGET Problem for 1.3.6.1.2.1.25.2.3.1.5.101 1.3.6.1.2.1.25.2.3.1.6.101
sysUptime sysName on public at localhost::::::v4only
 at /usr/bin/mrtg line 1836
SNMP Error:
Received SNMP response with error code
  error status: noSuchName
  index 2 (OID: 1.3.6.1.4.1.2021.4.3)
SNMPv1_Session (remote host: "localhost" [127.0.0.1].161)

this is weird as when I do:

snmpwalk -c public -v 1 localhost sysUptime
snmpwalk -c public -v 1 localhost sysname

they return the expected information, and on the page headers they mention the following:

The statistics were last updated Tuesday, 28 June 2005 at 14:45,
at which time 'plan10' had been up for 2:56:32.

which seems okish.
Any ideas why this might be happening?

thanks,

chris

--
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