[mrtg] Re: MRTG config for 1720?

Michael Markstaller mm at elabnet.de
Tue Apr 29 21:24:59 MEST 2003


Asaf,

this depends on you display-frontend; there's nothing in these templates supressing percentages from interface-traffic to get displayed.. with 14all.cgi and mrtg-rrd.cgi it works fine here.
You can either create a single cfg&index file with cfgmaker/indexmaker manually for each device or automated as it's done with exact the commands/templates I sent, when you use it that way every host goes into one directory which causes the above mentioned cgis to display them seperately..

Michael

-----Original Message-----
From: Asaf Rapoport [mailto:arapoport at telepacific.com]
Sent: Tuesday, April 29, 2003 9:06 PM
To: Michael Markstaller
Subject: RE: [mrtg] Re: MRTG config for 1720?


Michael, 
The template works well, however is there a way to show % until and not just kb/mb on Ser and eth ports? 
Also is there a way to create an index page per device instead of indexing all on one page? 
-----Original Message----- 
From: Michael Markstaller [mailto:mm at elabnet.de] 
Sent: Tuesday, April 29, 2003 1:23 AM 
To: "Lotierzo, Leandro (Administración del Centro de Cómputos)"; Asaf 
Rapoport; mrtg at list.ee.ethz.ch 
Subject: RE: [mrtg] Re: MRTG config for 1720? 


Hi, I already posted this a few days ago (subject CRC errors). I did a host-template which includes among other things CPU (1min/5min) and Proc/IOmem-usage and works fine for every Cisco-router from 805 to Cat5RSM; it inserts the Maxbytes for Proc/IOmem based on the value the router actually provides via snmp with calcing used+free mem giving you right percentages. (but this should be run best when the router is reloaded freshly)
Templates can be found at: 
-- Desc: host-genericsnmp.template.ElabNET 
-- Size: 29k (30709 bytes) 
-- URL : http://www.ee.ethz.ch/~slist/p/host-genericsnmp.template.ElabNET 
-- Desc: interface-genericsnmp.template.ElabNET 
-- Size: 18k (18951 bytes) 
-- URL : http://www.ee.ethz.ch/~slist/p/interface-genericsnmp.template.ElabNET 
Use with (one line) 
"/usr/local/mrtg/bin/cfgmaker --ifdesc=descr --if-template=/usr/local/mrtg/cfg-template/interface-genericsnmp.template.ElabNET --host-template=/usr/local/mrtg/cfg-template/host-genericsnmp.template.ElabNET --community='xxx' --subdirs=HOSTNAME router1 router2 router3 >> /usr/local/mrtg/mrtg_temp_cfg
Michael 
-----Original Message----- 
From: "Lotierzo, Leandro (Administración del Centro de Cómputos)" 
[mailto:LLotierzo at lanacion.com.ar] 
Sent: Tuesday, April 29, 2003 3:44 AM 
To: 'mrtg at list.ee.ethz.ch ' 
Subject: [mrtg] Re: MRTG config for 1720? 
Importance: High 


I have this CFG working with a Router Cisco 1750. 
#--------------------------------------------------------------- 
# CPU Usage RouterName1750 Creado x LL el 11/09/2002 
#--------------------------------------------------------------- 
Target[CPU-RouterName1750]: 
1.3.6.1.4.1.9.2.1.57.0&1.3.6.1.4.1.9.2.1.58.0:SnmpComunity at 10.10.10.10 
YLegend[CPU-RouterName1750]: CPU % Util. 
ShortLegend[CPU-RouterName1750]: % 
MaxBytes[CPU-RouterName1750]: 100 
Options[CPU-RouterName1750]: nopercent, gauge, growright 
Unscaled[CPU-RouterName1750]: dwmy 
Legend1[CPU-RouterName1750]: CPU %: 
Legend2[CPU-RouterName1750]: . 
Legend3[CPU-RouterName1750]: Max value per interval on graph 
Legend4[CPU-RouterName1750]: . 
LegendI[CPU-RouterName1750]: CPU %: 
LegendO[CPU-RouterName1750]: . 
Title[CPU-RouterName1750]: RouterName1750 CPU 
PageTop[CPU-RouterName1750]: <H1>RouterName1750 CPU</H1> 
Colours[CPU-RouterName1750]: 
GREEN#00eb0c,BLUE#0000ff,GRAY#AAAAAA,VIOLET#ff00ff 
Background[CPU-RouterName1750]: #FFFFFF 
WithPeak[CPU-RouterName1750]: ymw 
#--------------------------------------------------------------- 
# MEM Usage RouterName1750 Creado x LL el 11/09/2002 
#--------------------------------------------------------------- 
Target[MEM-RouterName1750]: 
1.3.6.1.4.1.9.9.48.1.1.1.5.0&1.3.6.1.4.1.9.9.48.1.1.1.5.0:SnmpComunity at 10.10 
.10.10 * 100 / 8281228 (This is the total Mem) 
YLegend[MEM-RouterName1750]: Memory % Used 
ShortLegend[MEM-RouterName1750]: Used 
MaxBytes[MEM-RouterName1750]: 100 
Options[MEM-RouterName1750]: nopercent, gauge, growright 
Unscaled[MEM-RouterName1750]: dwmy 
Legend1[MEM-RouterName1750]: Memory Utilized 
Legend2[MEM-RouterName1750]: . 
Legend3[MEM-RouterName1750]: Max value per interval on graph 
Legend4[MEM-RouterName1750]: . 
LegendI[MEM-RouterName1750]:  Mem.%: 
LegendO[MEM-RouterName1750]: . 
Title[MEM-RouterName1750]: RouterName1750 MEM 
PageTop[MEM-RouterName1750]: <H1>RouterName1750 MEM</H1> 
Colours[MEM-RouterName1750]: 
GREEN#00eb0c,BLUE#0000ff,GRAY#AAAAAA,VIOLET#ff00ff 
Background[MEM-RouterName1750]: #FFFFFF 
WithPeak[MEM-RouterName1750]: ymw 
LL 
SysAdmin at LN 
-----Original Message----- 
From: Asaf Rapoport [mailto:arapoport at telepacific.com] 
Sent: Monday, April 28, 2003 10:38 PM 
To: 'Ross Tsolakidis ' 
Cc: 'mrtg at list.ee.ethz.ch ' 
Subject: [mrtg] Re: MRTG config for 1720? 
 Thank you Ross! 
Anyone out there having better luck with the 1720? 
-----Original Message----- 
From: Ross Tsolakidis 
To: Asaf Rapoport 
Cc: mrtg at list.ee.ethz.ch 
Sent: 4/28/03 5:04 PM 
Subject: RE: MRTG config for 1720? 
Hi Asaf, 
  
For the 1720 I found a config for the CPU, but not sure it's working 
100%.  The numbers just seem low.. 
Here it is. 
  
## CPU usage 
  
Target[*.*.*.*_cpu]: 
1.3.6.1.4.1.9.2.1.57.0&1.3.6.1.4.1.9.2.1.58.0:public@*.*.*.* 
YLegend[*.*.*.*_cpu]: CPU Utilization 
ShortLegend[*.*.*.*_cpu]: % 
MaxBytes[*.*.*.*_cpu]: 100 
Options[*.*.*.*_cpu]: nopercent, gauge, unknaszero 
#Unscaled[*.*.*.*_cpu]: dwmy 
Legend1[*.*.*.*_cpu]: CPU Utilization 
Legend2[*.*.*.*_cpu]: . 
Legend3[*.*.*.*_cpu]: Max value per interval on graph 
Legend4[*.*.*.*_cpu]: . 
LegendI[*.*.*.*_cpu]: CPU: 
LegendO[*.*.*.*_cpu]: . 
Title[*.*.*.*_cpu]: CPU load % 
PageTop[*.*.*.*_cpu]: <H1>CPU load %</H1> 
Colours[*.*.*.*_cpu]: GREEN#00eb0c,BLUE#0000ff,GRAY#AAAAAA,VIOLET#ff00ff 
WithPeak[*.*.*.*_cpu]: ymw 
  
-- 
  
I had much more luck with the 7206. 
  
  
Target[*.*.*.*.cpu]: 
1.3.6.1.4.1.9.2.1.56.0&1.3.6.1.4.1.9.2.1.56.0:public@*.*.*.* 
MaxBytes[*.*.*.*.cpu]: 100 
Title[*.*.*.*.cpu]: 7206psmel - CPU Usage (%) 
YLegend[*.*.*.*.cpu]: CPU Usage (%) 
ShortLegend[*.*.*.*.cpu]: % 
Legend2[*.*.*.*.cpu]: CPU Usage 
LegendO[*.*.*.*.cpu]: Usage: 
Options[*.*.*.*.cpu]: nopercent, gauge 
SetEnv[*.*.*.*.cpu]: MRTG_INT_IP="*.*.*.*" MRTG_INT_DESCR="CPU Usage" 
PageTop[*.*.*.*.cpu]: <H1>7206psmel - CPU Usage (%)</H1> 
 <TABLE> 
  <TR><TD>System:</TD> <TD>7206psmel </TD></TR> 
  <TR><TD>Description:</TD><TD>CPU Usage </TD></TR> 
 </TABLE> 
  
#--------------------------------------------------------------- 
  
Target[*.*.*.*.mem]: 
.1.3.6.1.4.1.9.9.48.1.1.1.5.1&.1.3.6.1.4.1.9.9.48.1.1.1.6.1:public@*.*.* 
.* 
MaxBytes[*.*.*.*.mem]: 256000000 
Title[*.*.*.*.mem]: 7206psmel - MEM Free Usage (%) Max MEM = 256000K 
YLegend[*.*.*.*.mem]: MEM Usage (MB) 
LegendO[*.*.*.*.mem]: Free MEM: 
LegendI[*.*.*.*.mem]: Used MEM: 
Options[*.*.*.*.mem]: nopercent,gauge 
PageTop[*.*.*.*.mem]: <H1>7206psmel - MEM Free Usage (%) Max MEM = 
256000K </H1> 
 <TABLE> 
  <TR><TD>System:</TD> <TD>7206psmel </TD></TR> 
  <TR><TD>Description:</td><TD>Memory Usage </TD></TR> 
 </TABLE> 
  
#--------------------------------------------------------------- 
  
#7000 1.3.6.1.4.1.9.9.13.1.3.1.3.1 Inlet Temp degrees Centigrade 
# 1.3.6.1.4.1.9.9.13.1.3.1.3.2 Outlet Temp degrees Centigrade 
  
Target[*.*.*.*.temp]: 
1.3.6.1.4.1.9.9.13.1.3.1.3.1&1.3.6.1.4.1.9.9.13.1.3.1.3.2:public@*.*.*.* 
YLegend[*.*.*.*.temp]: Degrees C 
ShortLegend[*.*.*.*.temp]: &deg;C 
MaxBytes[*.*.*.*.temp]: 50 
Options[*.*.*.*.temp]: nopercent, gauge 
Unscaled[*.*.*.*.temp]: dwmy 
AbsMax[*.*.*.*.temp]: 50 
Title[*.*.*.*.temp]: 7206psmel Temperature Sensors 
Colours[*.*.*.*.temp]: 
GREEN#00eb0c,BLUE#1000ff,BLUE#1000ff,VIOLET#ff00ff 
Legend1[*.*.*.*.temp]: Average 1 minute Inlet Temperature 
Legend2[*.*.*.*.temp]: Average 1 minute Outlet Temperature 
Legend3[*.*.*.*.temp]: Average 5 minute Inlet Temperature 
Legend4[*.*.*.*.temp]: Average 5 minute Outlet Temperature 
LegendI[*.*.*.*.temp]: &nbsp;Inlet: 
LegendO[*.*.*.*.temp]: &nbsp;Outlet: 
PageTop[*.*.*.*.temp]: <H1> Temperature - Degrees C </H1> 
 <TABLE> 
  <TR><TD>System:</TD><TD>7206psmel</TD></TR> 
  <TR><TD>Description:</TD><TD>Temperature Sensors </TD></TR> 
 </TABLE> 
  
--- 
  
I had some help from a gentlemen on this list, but for the life of me I 
can't remember his name  :( 
Sorry  :) 
  
-- 
Ross. 
  
-----Original Message----- 
From: Asaf Rapoport [mailto:arapoport at telepacific.com] 
Sent: Tuesday, 29 April 2003 5:55 AM 
To: Ross Tsolakidis 
Cc: 'mrtg at list.ee.ethz.ch' 
Subject: MRTG config for 1720? 


Hello Ross, 
  
Were you able to find the config for CPU / Mem on a 1720? 
How about a 7206? 
  
  
  _____  
[  <http://www.ee.ethz.ch/~slist/mrtg/msg19099.html> Date Prev][ 
<http://www.ee.ethz.ch/~slist/mrtg/msg19101.html> Date Next][ 
<http://www.ee.ethz.ch/~slist/mrtg/msg19103.html> Thread Prev][ 
<http://www.ee.ethz.ch/~slist/mrtg/msg19104.html> Thread Next][ 
<http://www.ee.ethz.ch/~slist/mrtg/mail3.html#19100> Date Index][ 
<http://www.ee.ethz.ch/~slist/mrtg/thrd77.html#19100> Thread Index] 
[mrtg] cisco 1720 cpu config 
  _____  


*       To: "' mrtg at list.ee.ethz.ch <mailto:mrtg at list.ee.ethz.ch> '" < 
mrtg at list.ee.ethz.ch <mailto:mrtg at list.ee.ethz.ch> > 
*       Subject: [mrtg] cisco 1720 cpu config 
*       From: Ross Tsolakidis < rtsolakidis at powerserve.com.au 
<mailto:rtsolakidis at powerserve.com.au> > 
*       Date: Mon, 8 Jul 2002 09:29:11 +1000 
*       Delivered-To: slist at ee.ethz.ch 
*       Sender: mrtg-bounce at list.ee.ethz.ch 
<mailto:mrtg-bounce at list.ee.ethz.ch>  


Hi all, 



I'm having trouble getting mrtg to graph cpu usage on a Cisco 1720 
Router. 
Has anyone accomplished this, is it possible ? 
If so, can get the values and a sample config ? :) 



Thanks. 



-- 
Ross. 





-- 
Unsubscribe  mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe 
<mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe> 
Archive      http://www.ee.ethz.ch/~slist/mrtg 
<http://www.ee.ethz.ch/~slist/mrtg> 
FAQ          http://faq.mrtg.org <http://faq.mrtg.org/>     Homepage 
http://www.mrtg.org <http://www.mrtg.org/> 
WebAdmin     http://www.ee.ethz.ch/~slist/lsg2.cgi 
<http://www.ee.ethz.ch/~slist/lsg2.cgi> 



*       Prev by Date: [mrtg] Making scripts 
<http://www.ee.ethz.ch/~slist/mrtg/msg19099.html> 64-bit counters 
*       Next by Date: [mrtg] Re: Making 
<http://www.ee.ethz.ch/~slist/mrtg/msg19101.html> scripts 64-bit 
counters 
*       Prev by thread: [mrtg] Re: Making 
<http://www.ee.ethz.ch/~slist/mrtg/msg19103.html> scripts 64-bit 
counters 
*       Next by thread: [mrtg] Question about 
<http://www.ee.ethz.ch/~slist/mrtg/msg19104.html> monitoring laserjet 
printers 
*       Index(es): 


*        <http://www.ee.ethz.ch/~slist/mrtg/mail3.html#19100> Date 
*        <http://www.ee.ethz.ch/~slist/mrtg/thrd77.html#19100> Thread 
Thank you, 
 
Asaf Rapoport 
Internal Communications 
Phone: (213) 213-3278 
Fax:    (213) 213-3279 
 
  
If you could really accept that you weren't ok 
you could stop proving you were ok. 
If you could stop proving that you were ok 
you could get that it was ok not to be ok. 
If you could get that it was ok not to be ok 
you could get that you were ok the way you are. 
You're ok, get it?  ~Werner Erhard 1973 
Recipe for success: Study while others are sleeping; work while others 
are loafing; prepare while others are playing; and dream while others 
are wishing. 
--William A. Ward 
  
In life: smart people learn from their mistakes while intelligent people 
learn from other people's mistakes. Which one are you?    - Asaf 
Rapoport 
  



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