[wellylug] MRTG issues
Abhinav Keswani
abhinav.keswani at gmail.com
Thu Apr 7 18:58:07 NZST 2005
Jamie - for future reference - check that log to see if you're getting
negative values...usually means something ill defined in your cfg
file.
Using your memory configs as a test case - try increasing the maxbytes
value to 1000000 - see what happens then...this governs the amount of
data that is graphed. Thats the only thing that looks kinda abnormal
to me in your config. Also, strip out the " - memAvailReal" and try
it out.
Here's a sample mem config (pretty vanilla) I have for a solaris box
with 4Gb of RAM:
Target[myhostname.freemem]: memAvailReal.0&memTotalReal.0:pwd at myhostname
Directory[myhostname.freemem]: storyserver/data
Options[myhostname.freemem]: nopercent,gauge,noinfo,growright
Title[myhostname.freemem]: Free Memory
PageTop[myhostname.freemem]: <H1>Free Memory</H1>
MaxBytes[myhostname.freemem]: 21000000
kilo[myhostname.freemem]: 1024
kMG[myhostname.freemem]: k,M,G,T,P,X
YLegend[myhostname.freemem]: bytes
ShortLegend[myhostname.freemem]: bytes
LegendI[myhostname.freemem]: Free Memory
LegendO[myhostname.freemem]: Total Memory
Legend1[myhostname.freemem]: Free memory, not including swap, in bytes
Legend2[myhostname.freemem]: Total memory, not include swap, in bytes
-Abhinav
On Apr 7, 2005 4:11 PM, Jamie Dobbs <jamie.dobbs at orcon.net.nz> wrote:
> I get the following log files, (with examples of their content):
>
> memory.log
>
> 1112854204 -1 -1
> 1112854204 1 1 1 1
> 1112853904 1 1 1 1
> 1112853900 1 1 1 1
> 1112853600 1 1 1 1
> 1112853300 1 1 1 1
> 1112853000 1 1 1 1
> 1112852700 1 1 1 1
> 1112852400 1 1 1 1
> 1112852100 1 1 1 1
>
More information about the wellylug
mailing list