[mrtg] Mrtg conf

RmXsMaNiA info at rmxsmania.com
Wed Sep 3 11:54:24 CEST 2008


Hello, 

i use mrtg can someone please help me with conf because the data its the correct byt the max data now..

Example 
Used: 593.1 MB (89.1%) 557.3 MB (83.7%) 560.6 MB (84.2%) 

here say that i use 553mb of ram that is 83% of what?(i have 8giga ram)

CPU (I have a quad core 2.5g cpu)

user: 56.0 %CPU 32.0 %CPU 24.0 %CPU 

here say that my cpu usage is 32% top command report 
Cpu(s): 0.1%us, 0.0%sy, 0.0%ni, 99.9%id,


How can i correct this ?

here is my conf


_____
WorkDir: /var/www/html/mrtg

RunAsDaemon:Yes

Interval:5

Options[_]: nopercent,growright,noinfo,gauge

MaxBytes[_]: 125000000

Xsize[_]: 600
Ysize[_]: 200
Ytics[_]: 10



###############################################################################
# 
# HTML formatting stuff
#
###############################################################################

PageTop[^]: <table cellspacing="0" cellpadding="10" border="0" width="100%" align="center"><tr><td width="185" valign="top" class="small"><table cellspacing="0" cellpadding="5" border="0" width="100%"><tr><td class="tableh">Network</td></tr><tr><td class="tablesh"><a href="index.html">- Traffic</a><br><a href="tcp.html">- Open Connections</a></td></tr><tr><td>&nbsp;</td></tr><tr><td class="tableh">System Stats</td></tr><tr><td class="tablesh"><a href="load.html">- Load Averages</a><br><a href="swap.html">- Swap Memory</a><br><a href="processes.html">- Processes</a><br><a href="uptime.html">- Uptime and Idle Time</a><br><a href="cpu.html">- CPU</a><br><a href="memory.html">- Memory Usage</a></td></tr><tr><td>&nbsp;</td></tr></table></td><td> 

PageFoot[^]: </td></tr></table>

AddHead[^]: <meta http-equiv='Expires' content='-1'><style><!-- body { text-align: center; background-color: #CCCCCC; font-size: 10pt; font-family: arial, verdana; } th, td { font-size: 10pt; font-family: arial, verdana; } h3 { font-size: 12pt; font-family: arial, verdana; font-weight: bold; } .small { font-size: 8pt; font-family: arial, verdana; } .tableh { font-size: 10pt; font-family: arial, verdana; color: white; background-color: black; font-weight: bold; } .tablesh { font-size: 10pt; font-family: arial, verdana; color: black; background-color: #999999; font-weight: normal; } a:visited, a:active, a:link { text-decoration: none; font-weight: normal; font-family: arial, verdana; color: black; } a:hover { font-weight: normal; font-family: arial, verdana; background-color: #999999; color: white; } --></style>



###############################################################################
# 
# Stats
#
###############################################################################


#----------------------------
# Network
#----------------------------

Target[index]: `/var/www/html/mrtg/core/system network eth1`
Options[index]: nopercent, noinfo

Title[index]: Traffic Analysis for eth1
PageTop[index]: <h3>Traffic Analysis for eth1</h3>



#----------------------------
# TCP Connections
#----------------------------

Target[tcp]: `/var/www/html/mrtg/core/system tcp`

Title[tcp]: Established TCP Connections

PageTop[tcp]: <h3>Established TCP Connections</h3>

YLegend[tcp]: Connections

ShortLegend[tcp]: &nbsp;&nbsp;&nbsp;

LegendI[tcp]: 

LegendO[tcp]: Established&nbsp;


#----------------------------
# Load
#----------------------------

Target[load]: `/var/www/html/mrtg/core/system load`
Options[load]: gauge, nopercent, noinfo
MaxBytes[load]: 3000

Title[load]: Load Averages
PageTop[load]: <h3>Load Averages</h3>

YLegend[load]: Load (10E-2)
ShortLegend[load]: (10E-2)&nbsp;
LegendI[load]: 5-minute stagger
LegendO[load]: 15-mintute stagger
Legend1[load]: Load Average over last 5 minutes&nbsp;
Legend2[load]: Load Average over last 15 minutes&nbsp;
Legend3[load]: Average over last 5 minutes
Legend4[load]: Average over last 15 minutes



#----------------------------
# Swap
#----------------------------

Target[swap]: `/var/www/html/mrtg/core/system swap`

Title[swap]: Swap Memory Usage

PageTop[swap]: <h3>Swap Memory Usage</h3>

YLegend[swap]: Swap Usage

ShortLegend[swap]: &nbsp;&nbsp;&nbsp;

LegendI[swap]: 

LegendO[swap]: Used&nbsp;



#----------------------------
# Processes
#----------------------------

Target[processes]: `/var/www/html/mrtg/core/system processes`

Title[processes]: Processes

PageTop[processes]: <h3>Processes</h3>

YLegend[processes]: Processes

ShortLegend[processes]: &nbsp;&nbsp;&nbsp;

LegendI[processes]: Total&nbsp;

LegendO[processes]: Running&nbsp;



#----------------------------
# Uptime
#----------------------------

Target[uptime]: `/var/www/html/mrtg/core/system uptime`

Title[uptime]: Uptime and Idle Time

PageTop[uptime]: <h3>Uptime and Idle Time</h3>

YLegend[uptime]: Uptime (sec)

ShortLegend[uptime]: &nbsp;&nbsp;&nbsp;

LegendI[uptime]: Total Uptime&nbsp;

LegendO[uptime]: Idle Time&nbsp;



#----------------------------
# CPU
#----------------------------

Target[cpu]: `/usr/bin/awk '/cpu /{print $2+$3; print $2+$3+$4; print "quite some time"; print "domain.com"}'</proc/stat`

Title[cpu]: CPU Usage

PageTop[cpu]: <H3>CPU Usage</h3>

MaxBytes[cpu]: 100

Options[cpu]: nopercent,growright,noinfo,bits

LegendI[cpu]: &nbsp;user:

LegendO[cpu]: &nbsp;total:

Ylegend[cpu]: %CPU

ShortLegend[cpu]: %CPU

Legend1[cpu]: Time spent in user mode

Legend2[cpu]: Time spent in user mode + time spent in system mode

Legend3[cpu]: Maximum occurance of time spent in user mode

Legend4[cpu]: Maximum occurance of (time spent in user mode + time spent in system mode)



#----------------------------
# Memory
#----------------------------

Target[memory]: `/var/www/html/mrtg/core/system memory`
Options[memory]: gauge, noinfo
MaxBytes[memory]: 8388608000

Title[memory]: Memory Utilization
PageTop[memory]: <H3>Memory Utilization</H3>

YLegend[memory]: Bytes
ShortLegend[memory]: B
LegendI[memory]: Used:
LegendO[memory]: Buffers + Cache:
Legend1[memory]: Free real memory
Legend2[memory]: Free swap memory
Legend3[memory]: Maximal 5 Minute Memory In Use
Legend4[memory]: Maximal 5 Minute Active Memory
_________

http://servers.host247.gr/mrtg/index.html

______________

RmXsMaNiA Technical Support
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.oetiker.ch/pipermail/mrtg/attachments/20080903/ef42cdf9/attachment-0001.html 


More information about the mrtg mailing list