Cannot seem to report the true memory available on linux boxes of true
memory available.

 

#

# Memory Monitoring (Percentage usage)

# This seems to work for the Percentage of memory available around 95%

 

#

Title[mybox.mempercentcache]: Percentage Free Memory

PageTop[mybox.mempercentcache]: <h1>Percentage Free Memory TranTest</h1>

Target[mybox.mempercentcache]: (
memAvailReal.0&memAvailReal.0:[EMAIL PROTECTED] +
memCached.0&memCached.0:[EMAIL PROTECTED] ) * 100 / (
memTotalReal.0&memTotalReal.0:[EMAIL PROTECTED] )

options[mybox.mempercentcache]: growright,gauge,transparent,nopercent

Unscaled[mybox.mempercentcache]: ymwd

MaxBytes[mybox.mempercentcache]: 100

YLegend[mybox.mempercentcache]: Memory %

ShortLegend[mybox.mempercentcache]: Percent

LegendI[mybox.mempercentcache]: Free

LegendO[mybox.mempercentcache]: Free

Legend1[mybox.mempercentcache]: Percentage Free Memory

Legend2[mybox.mempercentcache]: Percentage Free Memory

 

 

 

 

 

Target[mybox.memorycache]: ( memTotalReal.0&memIndex.0:[EMAIL PROTECTED] -
memCached.0&memIndex.0:[EMAIL PROTECTED] )&memTotalReal.0:[EMAIL PROTECTED]

Title[mybox.memorycache]: Free Memory

PageTop[mybox.memorycache]: <h1>Free Memory TranTest with Cache</h1>

MaxBytes[mybox.memorycache]: 100000000000

ShortLegend[mybox.memorycache]: B

YLegend[mybox.memorycache]: Bytes

LegendI[mybox.memorycache]: Free

LegendO[mybox.memorycache]: Total

Legend1[mybox.memorycache]: Free memory, not including swap, in bytes

Legend2[mybox.memorycache]: Total memory

Options[mybox.memorycache]: gauge,growright,nopercent

kMG[mybox.memorycache]: k,M,G,T,P,X

 

 

but this doesn't seem to work no matter what I try.

Have tried all the following syntax but still no success

 

Target[mybox.memorycache]: ( memTotalReal.0:[EMAIL PROTECTED] -
memCached.0:[EMAIL PROTECTED] - memAvailReal.0:[EMAIL PROTECTED]
)&memTotalReal.0:[EMAIL PROTECTED]

 

Target[mybox.memorycache]: ( memCached.0:[EMAIL PROTECTED] +
memAvailReal.0:[EMAIL PROTECTED] )&memTotalReal.0:[EMAIL PROTECTED]

 

 

Not sure what I'm doing wrong

 

please help

 

 

Regards,
Damien

 

 

_______________________________________________
mrtg mailing list
[email protected]
https://lists.oetiker.ch/cgi-bin/listinfo/mrtg

Reply via email to