[mrtg] Re: Fixed value in mrtg target
s.shipway at auckland.ac.nz
Thu Feb 23 01:24:39 MET 2006
> Does anybody know how to enter a fixed value into an MRTG
> target inplace of the OID e.g. the  bit
> (memoryAvailableMBytes.0:memoryCommittedBytes.0:public at localho
> st / :memoryCommitLimit.0:public at localhost) * 100
In some cases, you might be able to use Factor: to multiply everything by
a set value. You cant put a constant into the MRTG Target in the way you
are asking, though.
> And also how to retrieve the total ram on windows 2000, im
> using hrMemorySize.0 but this makes all the drives in my
> server spin up, and the SNMP commands time out, hence im
> after hard coding it. I know I could just use MaxBytes, but
> then I cant calculate a percentage.
If you use MaxBytes, then (if you use routers2 as your frontend) you can use
the 'aspercent' option to convert the display to a percentage of maxbytes.
Alternatively, specify a Target like
memoryCommittedBytes.0&memoryCommitLimit.0:public at localhost and use the
dorelpercent option (show A as a percentage of B).
Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe
FAQ http://faq.mrtg.org Homepage http://www.mrtg.org
More information about the mrtg