[mrtg] Re: Measuring Server's CPU/MEM/Disk Space

Stephen E. McComas stephen at crop-it.net
Thu Mar 18 05:08:04 MET 2004


Here is my config that I use to monitoring a few things on my W2K server.  However, I use SNMP Informant from www.wtcs.org that Garth wrote.  Great program by the way Garth.  You can see what I have going at www.crop-it.net/mrtg.  Not anything fancy, but I am adding to it all the time.

Stephen

# -----------------------------------------------------------------------------------------

PageTop[CPU1]: <H1>CPU1 Analysis -- Server</H1>

Target[CPU1]: .1.3.6.1.4.1.9600.1.1.5.1.4.1.48&.1.3.6.1.4.1.9600.1.1.5.1.6.1.48:community at X.X.X.X
ThreshDesc[CPU1]: CPU1 Usage (Percent) on System: Kingdom
MaxBytes[CPU1]: 100
AbsMax[CPU1]: 100
Title[CPU1]: Average Privileged and User Mode CPU Utilization (%)
Options[CPU1]: gauge, nopercent, nobanner
# Unscaled[CPU1]: dwmy
# Supress[CPU1]:dwmy
XSize[CPU1]: 380
YSize[CPU1]: 100
YLegend[CPU1]: CPU Usage (%)
ShortLegend[CPU1]: %
Legend1[CPU1]: Privileged (NT system) CPU1 use in percent
Legend2[CPU1]: User (application) CPU1 use in percent
# Legend3[CPU1]:
# Legend4[CPU1]:
LegendI[CPU1]: PrivCPU:&nbsp
LegendO[CPU1]: UserCPU:&nbsp
WithPeak[CPU1]: ymw

PageTop[CPU2]: <H1>CPU2 Analysis -- Server</H1>
Target[CPU2]: .1.3.6.1.4.1.9600.1.1.5.1.4.1.49&.1.3.6.1.4.1.9600.1.1.5.1.6.1.49:community at X.X.X.X
ThreshDesc[CPU2]: CPU Usage2 (Percent) on System: Kingdom
MaxBytes[CPU2]: 100
AbsMax[CPU2]: 100
Title[CPU2]: Average Privileged and User Mode CPU Utilization (%)
Options[CPU2]: gauge, nopercent, nobanner
# Unscaled[CPU2]: dwmy
# Supress[CPU2]:dwmy
XSize[CPU2]: 380
YSize[CPU2]: 100
YLegend[CPU2]: CPU Usage (%)
ShortLegend[CPU2]: %
Legend1[CPU2]: Privileged (NT system) CPU2 use in percent
Legend2[CPU2]: User (application) CPU2 use in percent
# Legend3[CPU2]:
# Legend4[CPU2]:
LegendI[CPU2]: PrivCPU:&nbsp
LegendO[CPU2]: UserCPU:&nbsp
WithPeak[CPU2]: ymw

PageTop[Free_Space-p]: <H1>Free Space Analysis in % -- Server</H1>
# Free Space Report for 10.0.2.3
Target[Free_Space-p]: .1.3.6.1.4.1.9600.1.1.1.1.5.2.67.58&.1.3.6.1.4.1.9600.1.1.1.1.5.2.67.58:community at X.X.X.X
Options[Free_Space-p]: gauge,nobanner,nopercent
#WithPeak[Free_Space-p]: wmy
YLegend[Free_Space-p]: Total Space
MaxBytes[Free_Space-p]: 100
LegendI[Free_Space-p]: Free Space
LegendO[Free_Space-p]:  
Title[Free_Space-p]: Free Hard Drive Space report for X.X.X.X
#Unscaled[Free_Space-p]: dwmy
Legend1[Free_Space-p]: Free Space
Legend2[Free_Space-p]: Unused
Legend3[Free_Space-p]: Total Space
Legend4[Free_Space-p]: Unused
ShortLegend[Free_Space-p]:%


-----Original Message-----
From: mrtg-bounce at list.ee.ethz.ch [mailto:mrtg-bounce at list.ee.ethz.ch] On Behalf Of Becario Sistemas Distribuidos
Sent: Wednesday, March 17, 2004 3:16 AM
To: mrtg at list.ee.ethz.ch
Subject: [mrtg] Re: Measuring Server's CPU/MEM/Disk Space 


r

-----Mensaje original-----
De: Becario Sistemas Distribuidos 
Enviado el: miércoles, 17 de marzo de 2004 10:14
Para: 'mrtg-request at list.ee.ethz.ch'
Asunto: Re: [mrtg] Measuring Server's CPU/MEM/Disk Space 



-----Mensaje original-----
De: Becario Sistemas Distribuidos 
Enviado el: miércoles, 17 de marzo de 2004 10:06
Para: 'Hieu Cao'
Asunto: RE: [mrtg] Measuring Server's CPU/MEM/Disk Space 


I monitoring a W2000 server, this is my config file:

RunAsDaemon:yes
Interval:5

HTMLDIR: C:\CPU_SERVIDORES\HTML
IMAGEDIR: C:\CPU_SERVIDORES\IMAGES
LOGDIR: C:\CPU_SERVIDORES\LOGS

Loadmibs: C:\Archivos de programa\Getif 2.3.1\Mibs Language:Spanish

###################################
#          PROCESSOR LOAD         #
###################################

Title[SN2K0101_CPU1]: SN2K0101 CPU_1 %
PageTop[SN2K0101_CPU1]: <div align="center"><H1>SN2K0101 CPU %</H1><center> 
Target[SN2K0101_CPU1]:.1.3.6.1.2.1.25.3.3.1.2.2&.1.3.6.1.2.1.25.3.3.1.2.2:public at SN2K0101
MaxBytes[SN2K0101_CPU1]: 100
Options[SN2K0101_CPU1]: gauge, absolute,noinfo,nopercent,noo,nolegend, growright
Unscaled[SN2K0101_CPU1]: wmy
XSize[SN2K0101_CPU1]: 380
YSize[SN2K0101_CPU1]: 100
YLegend[SN2K0101_CPU1]: CPU (%)
legendi[SN2K0101_CPU1]: &nbsp; CPU &nbsp;
ShortLegend[SN2K0101_CPU1]: %

###################################
#          MEMORY AVAILABLE       #
###################################


Title[SN2K0101_MEM]: SN2K0101 MEMORIA
PageTop[SN2K0101_MEM]: <div align="center"><H1>SN2K0101 MEMORIA</H1><center> 
Target[SN2K0101_MEM]:.1.3.6.1.4.1.311.1.1.3.1.1.1.2.0&.1.3.6.1.4.1.311.1.1.3.1.1.1.2.0:public at SN2K0101
MaxBytes[SN2K0101_MEM]: 536870912
Options[SN2K0101_MEM]: gauge, absolute,noinfo,nopercent,nolegend, growright, noo
Unscaled[SN2K0101_MEM]: dwmy
XSize[SN2K0101_MEM]: 380
YSize[SN2K0101_MEM]: 100
YLegend[SN2K0101_MEM]: Bytes
legendi[SN2K0101_MEM]: &nbsp; Disp. &nbsp;
#legendo[SN2K0101_MEM]: &nbsp; Disp. &nbsp;
ShortLegend[SN2K0101_MEM]: Bytes Colours[SN2K0101_MEM]:green#00CC33,blue#0000ff,DARK GREEN#993300,VIOLET#ff00ff Kilo[SN2K0101_MEM]:1024



-----Mensaje original-----
De: Hieu Cao [mailto:HCao at grahamwebb.com] 
Enviado el: martes, 16 de marzo de 2004 23:14
Para: mrtg at list.ee.ethz.ch
Asunto: [mrtg] Measuring Server's CPU/MEM/Disk Space 

Hello All,

Can someone please show me an example of mrtg measuring server's cpu utilization, memory, or disk space usage script if you can.  I am new to mrtg and trying to get it to measure server's parameters;  I got the config file generated but it's not measuring anything.

Any help is greatly appreciated.

Thank You.

Hieu



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