[mrtg] Re: help

Thomas Brian Granier BrianG at zebec.net
Thu May 25 18:16:16 MEST 2000


I think you forgot to put the last digit in the target. After the OID
for ifOutErrors you need to put a port number so in most circumstances
Ethernet would be 1.3.6.1.2.1.2.2.1.20.1 and then Serial0 would be
1.3.6.1.2.1.2.2.1.20.2 etc... (assuming the 1.3.6.1.2.1.2.2.1.20 OID is
correct.. I didn't check.. try replacing it with IfOutErrors.1 MRTG will
recognize that). The port number listing is seen by logging into the
router and doing a show interface. They will be numbers numerically
starting with one in the order they are printed on your screen. Note
that subinterfaces do not receive port numbers for ifinerrors and
ifouterrors for Cisco devices.

T. Brian Granier
MCSE MCP+I A+
Telecommunications Specialist
Zebec Data Systems


-----Original Message-----
From: mrtg-bounce at list.ee.ethz.ch [mailto:mrtg-bounce at list.ee.ethz.ch]On
Behalf Of Allen, Dr T J
Sent: Thursday, May 25, 2000 11:11 AM
To: 'mrtg at list.ee.ethz.ch'
Subject: [mrtg] help


Hello

I am, trying to monitor ifouterrors (1.3.6.1.2.1.2.2.1.20) on a cisco
3600
router.  I have the error listed below and don't know what is wrong.  

C:\mrtg\run>perl c:\mrtg\run\mrtg priwan1.cfg
SNMP Error:
Received SNMP response with error code
  error status: noSuchName
  index 1 (OID: 1.3.6.1.2.1.4.20.1.2.1.3.6.1.2.1.2.2.1.20)
SNMPv1_Session (remote host: "128.1.211.30" [128.1.211.30].161
                  community: "public"
                 request ID: 281085169
                PDU bufsize: 8000 bytes
                    timeout: 2s
                    retries: 5
                    backoff: 1)
SNMPGET Problem for ipAdEntIfIndex.1.3.6.1.2.1.2.2.1.20 on
public at 128.1.211.30
SNMP Error:
Received SNMP response with error code
  error status: noSuchName
  index 1 (OID: 1.3.6.1.2.1.2.2.1.10)
SNMPv1_Session (remote host: "128.1.211.30" [128.1.211.30].161
                  community: "public"
                 request ID: 281085170
                PDU bufsize: 8000 bytes
                    timeout: 2s
                    retries: 5
                    backoff: 1)
SNMPGET Problem for ifInOctets. ifOutOctets. sysUptime sysName on
public at 128.1.2
11.30
SNMPGET: Failed to reach target:
"1.3.6.1.2.1.2.2.1.20:public at 128.1.211.30".
I t
ried multiple times! public at 128.1.211.30

C:\mrtg\run>

The cfg file is shown below :

# Add a WorkDir: /some/path line to this file
workdir: c:\wwwfiles

#.....................................................................
directory[128.1.211.30.1]:test
Target[128.1.211.30.1]:1.3.6.1.2.1.2.2.1.20:public at 128.1.211.30
Options[128.1.211.30.1]:growright,bits
MaxBytes[128.1.211.30.1]: 1250000000
Title[128.1.211.30.1]:  (): FastEthernet0/1
PageTop[128.1.211.30.1]: <H1>Traffic Analysis for FastEthernet0/1
 </H1>
 <TABLE>
   <TR><TD>System:</TD><TD>PRIWAN in </TD></TR>
   <TR><TD>Maintainer:</TD><TD></TD></TR>
   <TR><TD>Interface:</TD><TD>FastEthernet0/1 (2)</TD></TR>
   <TR><TD>IP:</TD><TD> ()</TD></TR>
   <TR><TD>Max Speed:</TD>
       <TD>12.5 MBytes/s (ethernetCsmacd)</TD></TR>
  </TABLE>

#---------------------------------------------------------------


Any guidance would be appreciated.

thanks

Tim Allen




This E-mail and any files transmitted are CONFIDENTIAL and intended
solely
for the use of the individual or entity to whom they are addressed.  If
you
receive this E-mail in error, please notify ITSecurity at fss.org.uk 
This footnote also confirms that this E-mail has been swept for the
presence
of computer viruses. 



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


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



More information about the mrtg mailing list