[mrtg] MRTG problem
Zeeshan Ahmed
zeeshan at worldcall.net.pk
Mon May 6 18:03:06 MEST 2002
Hello i have been taking help from the given MIB's at our site, but wow when ia m trying to use the MIB for the Ip trafic on cisco router it is putting me in trouble my be the oid's are not sported. i muding he following cfg file.
Target[cisco_generic_ip_traffic]: 1.3.6.1.4.1.9.2.2.1.1.44.&1.3.6.1.4.1.9.2.2.1.1.45.:public at 192.168.1.1
# BANDWIDTH: How many bytes per second can this port carry. Since most links are
rated in bits per second, you
# need to divide their maximum bandwidth (in bits) by eight (8) in order to get
bytes per second.
MaxBytes[cisco_generic_ip_traffic]: 12500000
Options[cisco_generic_ip_traffic]: bits, unknaszero
Title[cisco_generic_ip_traffic]: Router 7200
PageTop[cisco_generic_ip_traffic]: <H1>Router 7200</H1>
YLegend[cisco_generic_ip_traffic]: IP Utilization
ShortLegend[cisco_generic_ip_traffic]: IP Util
Legend1[cisco_generic_ip_traffic]: In IP Utilization
Legend2[cisco_generic_ip_traffic]: Out IP Utilization
Legend3[cisco_generic_ip_traffic]: Max In value per interval on graph
Legend4[cisco_generic_ip_traffic]: Max Out value per interval on graph
LegendI[cisco_generic_ip_traffic]: In IP Utilization
LegendO[cisco_generic_ip_traffic]: Out IP Utilization
Colours[cisco_generic_ip_traffic]: GREEN#00eb0c,BLUE#0000ff,GRAY#AAAAAA,VIOLET#f
f00ff
WithPeak[cisco_generic_ip_traffic]: ymw
and then when i run the cfg file i get the following eror
[root at pop bin]# Unknown SNMP var
at ./mrtg line 1491
SNMP Error:
Received SNMP response with error code
error status: noSuchName
index 1 (OID: 1.3.6.1.4.1.9.2.2.1.1.45.0)
SNMPv1_Session (remote host: "203.81.192.1" [203.81.192.1].161)
community: "public"
request ID: 959416506
PDU bufsize: 8000 bytes
timeout: 2s
retries: 5
backoff: 1)
at /usr/local/src/mrtg-2.9.17/bin/../lib/mrtg2/SNMP_util.pm line 450
SNMPGET Problem for 1.3.6.1.4.1.9.2.2.1.1.45.0 sysUptime sysName on public at 203.
81.192.1
at ./mrtg line 1491
WARNING: Expected a number but got ''
WARNING: Expected a number but got ''
Rateup ERROR: /usr/local/src/mrtg-2.9.17/bin/rateup found cisco_generic_ip_traff
ic's log file was corrupt
or not in sorted order:
time: 1020657135.Rateup WARNING: /usr/local/src/mrtg-2.9.17/bin/rateup could not
read the primary log file for cisco_generic_ip_traffic
Rateup ERROR: /usr/local/src/mrtg-2.9.17/bin/rateup found cisco_generic_ip_traff
ic's log file was corrupt
or not in sorted order:
time: 1020657135.Rateup WARNING: /usr/local/src/mrtg-2.9.17/bin/rateup The backu
p log file for cisco_generic_ip_traffic was invalid as well
WARNING: rateup died from Signal 0
with Exit Value 1 when doing router 'cisco_generic_ip_traffic'
Signal was 0, Returncode was 1
why is that so pleae help me
thanks
Zeeshan Ahmed
Network Engineer
Worldcall Dot Com Pvt (Ltd)
--
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