[mrtg] Re: FW: Monitoring CPU of Cisco 2610
Kevin Wong
KWong at PaceWildenstein.com
Thu Apr 17 19:25:15 MEST 2003
Correction! It is a Cisco 2501 router
Making progress here. I think I don't have the correct OID for the CPU.
See error:
Unknown SNMP var l.3.6.1.4.1.9.2.1.58.0
at mrtg line 1614
WARNING: Expected a number but got '16 days, 0:00:05'
ERROR: Target[192.168.4.1][_OUT_] ' $$target[0]{$mode} ' did not eval into
defin
ed data
Use of uninitialized value at mrtg line 274.
Use of uninitialized value at mrtg line 281.
ERROR: outlast is undefined. This should not be possible
New cfg file looks like this:
Target[192.168.4.1]:1.3.6.1.4.1.9.2.1.58.0&l.3.6.1.4.1.9.2.1.58.0:public at 192
.168.4.1
RouterUptime[192.168.4.1]: public at 192.168.4.1
MaxBytes[192.168.4.1]: 100
Title[192.168.4.1]: CPU LOAD
PageTop[192.168.4.1]: <H1>CPU Load </H1>
Unscaled[192.168.4.1]: ymwd
ShortLegend[192.168.4.1]:
XSize[192.168.4.1]: 380
YSize[192.168.4.1]: 100
YLegend[192.168.4.1]: CPU Utilization
Legend1[192.168.4.1]: Usage:
#Legendl[192.168.4.1]: CPU Utilization in % (Load)
Legend2[192.168.4.1]: CPU Utilization in % (Load)
Legend3[192.168.4.1]:
Legend4[192.168.4.1]:
LegendI[192.168.4.1]:
LegendO[192.168.4.1]: Usage
Options[192.168.4.1]: gauge
Thanks,
Kevin
-----Original Message-----
From: Brander, Eric [mailto:Eric.Brander at ACS-INC.com]
Sent: Thursday, April 17, 2003 12:40 PM
To: mrtg at list.ee.ethz.ch
Subject: [mrtg] Re: FW: Monitoring CPU of Cisco 2610
The error is correct, there is no option "legendl".
Quick answer, everyone likes those: change it to Legend1 (that is the
numeral one)
Amazing how useful error messages can be when you actually read them.
Eric Brander
ACS
Texas CHIP Account
Sr. Communications Engineer - Information Systems Department
512.336.3331
Eric dot Brander at acs-inc dot com
-----Original Message-----
From: Kevin Wong [mailto:KWong at PaceWildenstein.com]
Sent: Thursday, April 17, 2003 11:09 AM
To: mrtg at list.ee.ethz.ch
Subject: [mrtg] FW: Monitoring CPU of Cisco 2610
Thank you all helping out.
Now I am getting this error after I make the following adjustment.
ERROR: CFG Error Unknown Option "legendl" on line 41 or above.
I added a : to end of each option [x}, changed the o to 0, and changed
Unsealed to unscaled. It now looks like this:
Target[192.168.4.1]:1.3.6.1.4.1.9.2.1.58.0&l.3.6.1.4.1.9.2.1.58.0:public at 192
.168.4.1
RouterUptime[192.168.4.1]: public at 192.168.4.1
MaxBytes[192.168.4.1]: 100
Title[192.168.4.1]: CPU LOAD
PageTop[192.168.4.1]: <H1>CPU Load </H1>
Unscaled[192.168.4.1]: ymwd
ShortLegend[192.168.4.1]:
XSize[192.168.4.1]: 380
YSize[192.168.4.1]: 100
YLegend[192.168.4.1]: CPU Utilization
Legendl[192.168.4.1]: CPU Utilization in % (Load)
Legend2[192.168.4.1]: CPU Utilization in % (Load)
Legend3[192.168.4.1]:
Legend4[192.168.4.1]:
Legendl[192.168.4.1]:
LegendO[192.168.4.1]: Usage
Options[192.168.4.1]: gauge
Kevin
-----Original Message-----
From: Walid Khalil [mailto:Walid at acconline.com]
Sent: Thursday, April 17, 2003 10:41 AM
To: Kevin Wong
Subject: RE: [mrtg] Monitoring CPU of Cisco 2610
You need a : after the YLegend[x]:
-----Original Message-----
From: Kevin Wong [mailto:KWong at PaceWildenstein.com]
Sent: Thu 4/17/2003 10:27 AM
To: mrtg at list.ee.ethz.ch
Cc:
Subject: [mrtg] Monitoring CPU of Cisco 2610
Hi Everyone,
I am new here.
I've being successfully monitoring the port traffic using MRTG for 6
months
or so from a windows 2000 workstation. When I try to monitor the
CPU on the
2610 router, I get this "CFG error unknown option on "unsealed" on
line xx
and ERROR: Line 39 (YLegend[192.168.4.1] CPU Utilization) in CFG
file
(mrtg.cfg) does not make senses; and nothing is plotted. I guess
MRTG
wasn't able to obtain the information from 2610. What have I done
wrong?
Please help. I appreciate any inputs. Below is my mrtg.cfg content.
Thanks,
Kevin
----------------------------------------------
WorkDir: d:\www\mrtg
# Created by
# cfgmaker public at 192.168.4.1 --global 'WorkDir: d:\www\mrtg'
--output
mrtg.cfg
# Router CPU load
Target[192.168.4.1]:1.3.6.1.4.1.9.2.1.58.O&l.3.6.1.4.1.9.2.1.58.0:public at 192
.168.4.1
RouterUptime[192.168.4.1]: public at 192.168.4.1
MaxBytes[192.168.4.1]: 100
Title[192.168.4.1]: CPU LOAD
PageTop[192.168.4.1]: <H1>CPU Load </H1>
#Unsealed[192.168.4.1]: ymwd
ShortLegend[192.168.4.1]:
XSize[192.168.4.1]: 380
YSize[192.168.4.1]: 100
YLegend[192.168.4.1] CPU Utilization
Legendl[192.168.4.1] CPU Utilization in % (Load)
Legend2[192.168.4.1] CPU Utilization in % (Load)
Legend3[192.168.4.1]
Legend4[192.168.4.1]
Legendl[192.168.4.1]
LegendO[192.168.4.1] Usage
Options[192.168.4.1] gauge
--
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
--
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
--
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
--
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