[mrtg] error with mrtg and snmp

kent at chncomm.com
Wed Nov 6 09:55:19 MET 2002


I want to install mrtg on my Redhat7.3 system.
to watch the dataflows from my server.

I have already installed snmpd packages.

#rpm -qa | grep snmp
ucd-snmp-4.2.4-3
ucd-snmp-devel-4.2.4-3
ucd-snmp-utils-4.2.4-3

#/etc/rc.d/init.d/snmpd start
starting snmpd    [OK]


and then installed mrtg-2.9.25 in the directory of 
/usr/local/mrtg.

In the step of making mart.cfg file an error occured.

#./cfgmaker --global "WorkDir: /usr/local/apache/htdocs/mrtg" \
            --global "Options[_]:growright,bits" \
            --ifref=ip \
            --output /etc/mrtg.cfg \
            public at 192.168.1.147

--base: Get Device Info on public at 192.168.1.147:
--base: Vendor Id: 
--base: Populating confcache
--snpo: Skipping ifName scanning because public at 192.168.1.147: does not seem to support it
--snpo: Skipping ifDescr scanning because public at 192.168.1.147: does not seem to support it
--snpo: Skipping ipAdEntIfIndex scanning because public at 192.168.1.147: does not seem to support it
--snpo: Skipping ifType scanning because public at 192.168.1.147: does not seem to support it
--snpo: Skipping ifPhysAddress scanning because public at 192.168.1.147: does not seem to support it
--base: Get Interface Info
--base: Walking ifIndex
SNMP Error:
no response received
SNMPv1_Session (remote host: "192.168.1.147" [192.168.1.147].161)
                  community: "public"
                 request ID: -1649673385
                PDU bufsize: 8000 bytes
                    timeout: 2s
                    retries: 5
                    backoff: 1)
 at /usr/local/mrtg/bin/../lib/mrtg2/SNMP_util.pm line 570
SNMPWALK Problem for 1.3.6.1.2.1.2.2.1.1 on public at 192.168.1.147:
 at ./cfgmaker line 107
--base: Walking ifType
SNMP Error:
Received SNMP response with error code
  error status: noSuchName
  index 1 (OID: 1.3.6.1.2.1.2.2.1.3)
SNMPv1_Session (remote host: "192.168.1.147" [192.168.1.147].161)
                  community: "public"
                 request ID: -1649673384
                PDU bufsize: 8000 bytes
                    timeout: 2s
                    retries: 5
                    backoff: 1)
 at /usr/local/mrtg/bin/../lib/mrtg2/SNMP_util.pm line 570
SNMP Error:
no response received
SNMPv1_Session (remote host: "192.168.1.147" [192.168.1.147].161)
                  community: "public"
                 request ID: -1649673384
                PDU bufsize: 8000 bytes
                    timeout: 2s
                    retries: 5
                    backoff: 1)
 at /usr/local/mrtg/bin/../lib/mrtg2/SNMP_util.pm line 570
SNMPWALK Problem for 1.3.6.1.2.1.2.2.1.3 on public at 192.168.1.147:
 at ./cfgmaker line 107
--base: Walking ifSpeed
SNMP Error:
Received SNMP response with error code
  error status: noSuchName
  index 1 (OID: 1.3.6.1.2.1.2.2.1.5)
SNMPv1_Session (remote host: "192.168.1.147" [192.168.1.147].161)
                  community: "public"
                 request ID: -1649673383
                PDU bufsize: 8000 bytes
                    timeout: 2s
                    retries: 5
                    backoff: 1)
 at /usr/local/mrtg/bin/../lib/mrtg2/SNMP_util.pm line 570
SNMP Error:
no response received
SNMPv1_Session (remote host: "192.168.1.147" [192.168.1.147].161)
                  community: "public"
                 request ID: -1649673383
                PDU bufsize: 8000 bytes
                    timeout: 2s
                    retries: 5
                    backoff: 1)
 at /usr/local/mrtg/bin/../lib/mrtg2/SNMP_util.pm line 570
SNMPWALK Problem for 1.3.6.1.2.1.2.2.1.5 on public at 192.168.1.147:
 at ./cfgmaker line 107
--base: Walking ifAdminStatus
SNMP Error:
Received SNMP response with error code
  error status: noSuchName
  index 1 (OID: 1.3.6.1.2.1.2.2.1.7)
SNMPv1_Session (remote host: "192.168.1.147" [192.168.1.147].161)
                  community: "public"
                 request ID: -1649673382
                PDU bufsize: 8000 bytes
                    timeout: 2s
                    retries: 5
                    backoff: 1)
 at /usr/local/mrtg/bin/../lib/mrtg2/SNMP_util.pm line 570
SNMP Error:
no response received
SNMPv1_Session (remote host: "192.168.1.147" [192.168.1.147].161)
                  community: "public"
                 request ID: -1649673382
                PDU bufsize: 8000 bytes
                    timeout: 2s
                    retries: 5
                    backoff: 1)
 at /usr/local/mrtg/bin/../lib/mrtg2/SNMP_util.pm line 570
SNMPWALK Problem for 1.3.6.1.2.1.2.2.1.7 on public at 192.168.1.147:
 at ./cfgmaker line 107
--base: Walking ifOperStatus
SNMP Error:
no response received
SNMPv1_Session (remote host: "192.168.1.147" [192.168.1.147].161)
                  community: "public"
                 request ID: -1649673381
                PDU bufsize: 8000 bytes
                    timeout: 2s
                    retries: 5
                    backoff: 1)
 at /usr/local/mrtg/bin/../lib/mrtg2/SNMP_util.pm line 570
SNMPWALK Problem for 1.3.6.1.2.1.2.2.1.8 on public at 192.168.1.147:
 at ./cfgmaker line 107
--base: Writing /etc/mrtg.cfg

public is the community name
192.168.1.147 is the server's IP adderess.

and the mrtg.cfg file is like this:

# Created by 
# ./cfgmaker --global 'WorkDir: /usr/local/mrtg' --global 'Options[_]:growright,bits' --ifref=ip --output /etc/mrtg.cfg public at 192.168.1.147


### Global Config Options

#  for UNIX
# WorkDir: /home/http/mrtg

#  or for NT
# WorkDir: c:\mrtgdata

### Global Defaults

#  to get bits instead of bytes and graphs growing to the right
# Options[_]: growright, bits

WorkDir: /usr/local/mrtg
Options[_]:growright,bits

######################################################################
# System: www.test.com
# Description: Linux www.test.com 2.4.18-3 #1 Thu Apr 18 07:37:53 EDT 2002 i686
# Contact: Root <root at localhost> (configure /etc/snmp/snmp.local.conf)
# Location: Unknown (edit /etc/snmp/snmpd.conf)
######################################################################

so, what happened? what can I do?
thanks for your reply!
Best regards!

                                                                 kent



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