Resending... -----Original Message----- From: Kevin Wong Sent: Thursday, April 17, 2003 5:51 PM To: 'Cook, Garry'; '[EMAIL PROTECTED]' Subject: RE: [mrtg] Re: FW: Monitoring CPU of Cisco 2610
Garry, with your template, I still receive similar result. I am lost here. By the way, how do you normally generate the template of cisco 2610 or any device? Cheers, Kevin -----Original Message----- From: Cook, Garry [mailto:[EMAIL PROTECTED] Sent: Thursday, April 17, 2003 2:01 PM To: Kevin Wong Subject: RE: [mrtg] Re: FW: Monitoring CPU of Cisco 2610 It should be the same OID for either a 2600 or 2500 series. Try this: (Naturally you'll have to change the IP addresses and insert your SNMP community string.) (Also, the routers.cgi mode may have to be removed if you are not utilizing this front-end.) ### Cisco router CPU utilization (1 min & 5 min) report for 10.2.55.1 Target[10.2.55.1_cpu]: 1.3.6.1.4.1.9.9.109.1.1.1.1.4.1&1.3.6.1.4.1.9.9.109.1.1.1.1.5.1:<Communi ty>@10.2.55.1: Options[10.2.55.1_cpu]: gauge,growright routers.cgi*Mode[10.2.55.1_cpu]: cpu WithPeak[10.2.55.1_cpu]: dwmy YLegend[10.2.55.1_cpu]: Util (percent) MaxBytes[10.2.55.1_cpu]: 100 LegendI[10.2.55.1_cpu]: cpu Usage (5 min) LegendO[10.2.55.1_cpu]: cpu Usage (1 min) Title[10.2.55.1_cpu]: cpu (1 & 5 min) Legend1[10.2.55.1_cpu]: cpu utilization over 1 minute Legend2[10.2.55.1_cpu]: cpu utilization over 5 minute Legend3[10.2.55.1_cpu]: Max cpu - 1 min Legend4[10.2.55.1_cpu]: Max cpu - 5 min ShortLegend[10.2.55.1_cpu]: % PageTop[10.2.55.1_cpu]: cpu Utilization for 10.2.55.1 Garry W. Cook, CCNA Network Infrastructure Manager MACTEC, Inc. - http://www.mactec.com/ 303.308.6228 (Office) - 303.881.5157 (Mobile) > -----Original Message----- > From: Kevin Wong [mailto:[EMAIL PROTECTED] > Sent: Thursday, April 17, 2003 11:25 AM > To: [EMAIL PROTECTED] > Subject: [mrtg] Re: FW: Monitoring CPU of Cisco 2610 > > > 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.5 > 8.0:[EMAIL PROTECTED] > .168.4.1 > RouterUptime[192.168.4.1]: [EMAIL PROTECTED] > 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 -- Unsubscribe mailto:[EMAIL PROTECTED] 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
