[mrtg] Re: 7513 CPU Utilization

David Eshelman deshelman at crawford.com
Fri Sep 7 11:18:17 MEST 2001


Here is the configuration i am using for my 7513
IOS Version 12.0(12)S

looks the same as yours... what IOS Version are you running?
maybe it doesn't support this?

############################################################################
##########
Target[7513.cpu]:
1.3.6.1.4.1.9.2.1.57.0&1.3.6.1.4.1.9.2.1.58.0:public at 172.17.0.1
Directory[7513.cpu]: cpu-stats
WithPeak[7513.cpu]: wmy
YLegend[7513.cpu]: CPU Utilization
ShortLegend[7513.cpu]: %
MaxBytes[7513.cpu]: 100
Options[7513.cpu]: nopercent, gauge
Unscaled[7513.cpu]: dwmy
AbsMax[7513.cpu]: 100
Title[7513.cpu]: 7513
Colours[7513.cpu]: GREEN#00eb0c,BLUE#1000ff,BLUE#1000ff,VIOLET#ff00ff
Legend1[7513.cpu]: Average 1 minute CPU Utilization
Legend2[7513.cpu]:
Legend3[7513.cpu]: Average 5 minute CPU Utilization
Legend4[7513.cpu]:
LegendI[7513.cpu]:  CPU:
LegendO[7513.cpu]:
PageTop[7513.cpu]: <H1> CPU Utilization
 <BR></H1>
 <TABLE>
   <TR><TD>System:</TD><TD>7513 CPU Utilization</TD></TR>
   <TR><TD>Maintainer:</TD><TD>NetOps</TD></TR>
  </TABLE>
############################################################################
############

William David Eshelman
Associate Network Engineer, Online Services

Crawford Communications, Inc.
"Crawford Celebrates 20 Years"
3845 Pleasantdale Road
Atlanta GA 30340-4205
http://www.crawford.com
 *  deshelman at crawford.com
  &  Direct: 678.421.6850 ~ ext 678-421-6600 x 2063



-> -----Original Message-----
-> From: mrtg-bounce at list.ee.ethz.ch [mailto:mrtg-bounce at list.ee.ethz.ch]On
-> Behalf Of kix kox
-> Sent: Friday, September 07, 2001 5:07 AM
-> To: mrtg at list.ee.ethz.ch
-> Subject: [mrtg] 7513 CPU Utilization
->
->
->
-> Hi guys,
->
->
-> i was able to succesfully configured MRTG 2.9.17. on a
-> Solaris box and it is now currently monitoring
-> bandwith utilization of a 7513 cisco router.
->
-> The next thing that i want to do is monitor the CPU
-> utilization of the said router but my problem is i'm
-> not sure how to approach this. I'm not that familiar
-> in using scripts either. A newbie in short. he-he-he.
->
-> From what i read  there are to approaches in making a
-> xxx.cfg file. One is using the cfgmaker and the other
-> is by using a template.
->
-> I tried using the template first. an here are  the
-> steps that i took
->
-> # vi cpu.cfg
->
-> WorkDir: /usr/local/apache/htdocs
-> WriteExpires: Yes
->
-> Target[7513]:
-> 1.3.6.1.4.1.9.2.1.57.0&1.3.6.1.4.1.9.2.1.58.0:7513-public at w.x.y.z
-> YLegend[7513]: CPU Utilization
-> ShortLegend[7513]: %
-> MaxBytes[7513]: 100
-> Options[7513]: nopercent, gauge, unknaszero
-> Unscaled[7513]: dwmy
-> Legend1[7513]: CPU Utilization
-> Legend2[7513]: .
-> Legend3[7513]: Max value per interval on graph
-> Legend4[7513]: .
-> LegendI[7513]: CPU:
-> LegendO[7513]: .
-> Title[7513]: 7513 CPU load
-> PageTop[7513]: <H1>CPU Utilization</H1>
-> Colours[7513]:
-> GREEN#00eb0c,BLUE#0000ff,GRAY#AAAAAA,VIOLET#ff00f
-> WithPeak[7513]: ymw
->
-> #./mrtg /opt/mrtg/cfg/cpu.cfg
-> #./indexmaker /opt/mrtg/cfg/cpu.cfg >
-> /usr/local/apache/cpu.html
->
-> When i checked the web page only the mrtg logo
-> appeared. It's obvious that there's something wrong
-> with what i did. Can someboby enlighten me please.
->
-> How do you use the cfgmaker in generating the cfg file
-> in this case? I mean what is the syntax to generate
-> the cfg file if u r using OIDs?
->
->
-> I also got the file below from the cfgmaker. How do
-> you  use this using the cfgmaker?
->
->  $head_lines .= <<ECHO;
->
-> #---------------------------------------------------------------------
->  ECHO
->  my $target_name = $router_name . ".cpu";
->  $target_lines .= <<ECHO;
->
->
->  YLegend[$target_name]: Percentage CPU load
->  ShortLegend[$target_name]: %
->  Legend1[$target_name]: CPU load in %
->  Legend2[$target_name]:
->  Legend3[$target_name]: Max Observed CPU load
->  Legend4[$target_name]:
->  LegendI[$target_name]: &nbsp;CPU Load:
->  LegendO[$target_name]:
->  WithPeak[$target_name]: ywm
->  MaxBytes[$target_name]: 100
->  Options[$target_name]: growright, gauge, nopercent
->  Title[$target_name]: $router_name CPU load
->  Target[$target_name]:
-> 1.3.6.1.4.1.9.2.1.58.0&1.3.6.1.4.1.9.2.1.58.0:$router_connect
->  PageTop[$target_name]: <H1>$router_name CPU load</H1>
->    <TABLE>
->      <TR><TD>System:</TD><TD>$router_name in
-> $html_syslocation</TD></TR>
->
-> <TR><TD>Maintainer:</TD><TD>$html_syscontact</TD></TR>
->      <TR><TD
-> VALIGN="top">Description:</TD><TD>$html_sysdescr</TD></TR>
->      <TR><TD>Resource:</TD><TD>CPU.</TD></TR>
->    </TABLE>
->  ECHO
->
->
->
-> Thanks.

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