[mrtg] mrtg nosuchname
gping
gping2005 at optusnet.com.au
Thu Oct 22 06:21:51 CEST 2009
i am cofiguring a cisco switch port graphs, some ports show as below in
xxx.cfg
### Interface 526712832 >> Descr: 'Ethernet102/1/1' | Name:
'Ethernet102/1/1' | Ip: '' | Eth: '00-0d-ec-d5-8b-42' ###
### The following interface is commented out because:
### * got 'Received SNMP response with error code
### error status: noSuchName
### index 1 (OID: 1.3.6.1.2.1.2.2.1.10.526712832)
### SNMPv1_Session (remote host: "1.1.1.1" [1.1.1.1].161)
### community: "public"
### request ID: 1649262954
### PDU bufsize: 8000 bytes
### timeout: 2s
### retries: 5
### backoff: 1)' from interface when trying to query
#
# Target[1.1.1.1_526712832]: 526712832:public at 1.1.1.1:
# SetEnv[1.1.1.1_526712832]: MRTG_INT_IP="" MRTG_INT_DESCR="Ethernet102/1/1"
# MaxBytes[1.1.1.1_526712832]: 125000000
# Title[1.1.1.1_526712832]: Traffic Analysis for 526712832 -SW
# PageTop[1.1.1.1_526712832]: <H1>Traffic Analysis for 526712832 -SW</H1>
# <TABLE>
# <TR><TD>System:</TD> <TD></TD></TR>
# <TR><TD>Maintainer:</TD> <TD></TD></TR>
# <TR><TD>Description:</TD><TD>Ethernet102/1/1 </TD></TR>
# <TR><TD>ifType:</TD> <TD>ethernetCsmacd (6)</TD></TR>
# <TR><TD>ifName:</TD> <TD>Ethernet102/1/1</TD></TR>
# <TR><TD>Max Speed:</TD> <TD>125.0 MBytes/s</TD></TR>
# </TABLE>
when i run mrtg on the below config,
Target[1.1.1.1_526712832]: 526712832:public at 1.1.1.1:
SetEnv[1.1.1.1_526712832]: MRTG_INT_IP="" MRTG_INT_DESCR="Ethernet102/1/1"
MaxBytes[1.1.1.1_526712832]: 125000000
Title[1.1.1.1_526712832]: Traffic Analysis for 526712832 -SW
PageTop[1.1.1.1_526712832]: <H1>Traffic Analysis for 526712832 -SW</H1>
<TABLE>
<TR><TD>System:</TD> <TD></TD></TR>
<TR><TD>Maintainer:</TD> <TD></TD></TR>
<TR><TD>Description:</TD><TD>Ethernet102/1/1 </TD></TR>
<TR><TD>ifType:</TD> <TD>ethernetCsmacd (6)</TD></TR>
<TR><TD>ifName:</TD> <TD>Ethernet102/1/1</TD></TR>
<TR><TD>Max Speed:</TD> <TD>125.0 MBytes/s</TD></TR>
</TABLE>
i got error message like:
Received SNMP response with error code
error status: noSuchName
index 2 (OID: 1.3.6.1.2.1.2.2.1.16.526712896)
SNMPv1_Session (remote host: "1.1.1.1" [1.1.1.1].161)
community: "public"
request ID: 389519874
PDU bufsize: 8000 bytes
timeout: 2s
retries: 5
backoff: 1)
at /usr/bin/../lib/mrtg2/SNMP_util.pm line 490
SNMPGET Problem for ifInOctets.526712896 ifOutOctets.526712896 sysUptime
sysName on public at 1.1.1.1::::::v4only
at /usr/bin/mrtg line 1851
ERROR: Target[1.1.1.1_526712896][_IN_] ' $target->[0]{$mode} ' did not eval
into defined data
ERROR: Target[1.1.1.1_526712896][_OUT_] ' $target->[0]{$mode} ' did not eval
into defined data
i have searched lots on internet, could not find a resolution.
could someone PLEASE help. Thanks and thanks.
--
View this message in context: http://n2.nabble.com/mrtg-nosuchname-tp3870171p3870171.html
Sent from the MRTG Users Mailinglist mailing list archive at Nabble.com.
More information about the mrtg
mailing list