TCLUG Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

MRTG/ snmpd configuration



	I'm trying to generate a config file for MRTG; but AFAICT I
need an snmpd to provide the information, and I seem to have snmpd
misconfigured. :(
	I'm trying the 'cfgmaker' script; but this is what I get when
I try to run it:

[root@razor run]# ./cfgmaker public@localhost
# Add a WorkDir: /some/path line to this file

SNMP Error:
Received SNMP response with error code
  error status: noSuchName
  index 1 (OID: 1.3.6.1.2.1.1.1.0)
SNMPv1_Session (remote host: "localhost" [127.0.0.1].161
                  community: "public"
                 request ID: 2139531833
                PDU bufsize: 8000 bytes
                    timeout: 2s
                    retries: 5
                    backoff: 1)
SNMPGET Problem for sysDescr sysContact sysName sysLocation ifNumber
sysObjectID on public@localhost


######################################################################
# Description:
#     Contact:
# System Name:
#    Location:
#.....................................................................
SNMP Error:
Received SNMP response with error code
  error status: noSuchName
  index 1 (OID: 1.3.6.1.2.1.4.20.1.1)
SNMPv1_Session (remote host: "localhost" [127.0.0.1].161
                  community: "public"
                 request ID: 236229286
                PDU bufsize: 8000 bytes
                    timeout: 2s
                    retries: 5
                    backoff: 1)
SNMP Error:
Received SNMP response with error code
  error status: noSuchName
  index 1 (OID: 1.3.6.1.2.1.2.2.1.1)
SNMPv1_Session (remote host: "localhost" [127.0.0.1].161
                  community: "public"
                 request ID: 236229287
                PDU bufsize: 8000 bytes
                    timeout: 2s
                    retries: 5
                    backoff: 1)

unfortunately, I know virtually nothing about SNMP (yet); so I have
little or no clue about where i'm going wrong. I looked over my
networking books; and it seems that I didn't miss that much by
sleeping through those classes that covered SNMP and MIBs. :)

the snmpd man page is also decidedly non-helpful.

is there an snmpd-HOWTO somewhere?

can anyone see a simple place where I might be going wrong?

Carl Soderstrom
_________________________________________
Systems Administrator    307 Brighton Ave. 
Minnesota DHIA	         Buffalo, MN	
carls@agritech.com       (763) 682-1091