| Cheshire Cat Computing http://steveshipway.org/forum/ |
|
| Factor problem http://steveshipway.org/forum/viewtopic.php?f=2&t=217 |
Page 1 of 1 |
| Author: | plazarch [ Fri Apr 30, 2004 3:06 am ] |
| Post subject: | Factor problem |
I am graphing Load Average of a FreeBSD box using mrtg, rrdtool, and routers2.cgi. mrtg is pulling the stats properly. I would like to factor the output so it shows the same as it does using top. Here is the load section of my mrtg cfg file: Target[MRT001GPTCCSGE_Procs]: laLoadInt.1&laLoadInt.2:xxx@localhost routers.cgi*Mode[MRT001GPTCCSGE_Procs]: general Directory[MRT001GPTCCSGE_Procs]:MRT001GPTCCSGE MaxBytes[MRT001GPTCCSGE_Procs]:300 Factor[MRT001GPTCCSGE_Procs]:0.01 Options[MRT001GPTCCSGE_Procs]: gauge,unknaszero,nopercent,growright WithPeak[MRT001GPTCCSGE_Procs]: wmy YLegend[MRT001GPTCCSGE_Procs]: Load Avg. ShortLegend[MRT001GPTCCSGE_Procs]: Legend1[MRT001GPTCCSGE_Procs]: 1 Min. Avg. Legend2[MRT001GPTCCSGE_Procs]: 5 Min. Avg. Legend3[MRT001GPTCCSGE_Procs]: Load Avg. LegendI[MRT001GPTCCSGE_Procs]: 1 Min: LegendO[MRT001GPTCCSGE_Procs]: 5 Min: Colours[MRT001GPTCCSGE_Procs]: LightBlue#3399FF,DarkBLUE#333366,GRAY#AAAAAA,VIOLET#ff00ff Title[MRT001GPTCCSGE_Procs]: Load Avg. on MRT001GPTCCSGE PageTop[MRT001GPTCCSGE_Procs]: <H1>Load Average MRT001GPTCCSGE</H1> and here is my output: Last update: Thu Apr 29 09:59:45 2004 Maximum: 3 1 Min: Max 844.60 m, Avg 493.36 m, Last 0.00 5 Min: Max 570.30 m, Avg 394.58 m, Last 0.00 The y axis on the graph is correct showing from 0, 0.5, 1.0 with the marks graphed at .8 and below. If I change the factor to 0.1 the output is below: Last update: Thu Apr 29 10:04:45 2004 Maximum: 30 1 Min: Max 8.25 , Avg 4.81 , Last 0.00 5 Min: Max 5.57 , Avg 3.85 , Last 0.00 What am I doing wrong? |
|
| Author: | stevesh [ Fri Apr 30, 2004 2:59 pm ] |
| Post subject: | |
| Author: | plazarch [ Sat May 01, 2004 3:05 am ] |
| Post subject: | |
| Page 1 of 1 | All times are UTC + 12 hours [ DST ] |
| Powered by phpBB® Forum Software © phpBB Group http://www.phpbb.com/ |
|