[mrtg] Re: Fixed value in mrtg target
Steve Shipway
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 [512] bit
> (memoryAvailableMBytes.0:memoryCommittedBytes.0:public at localho
> st / [512]: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).
HTH
Steve
--
Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe
Archive http://lists.ee.ethz.ch/mrtg
FAQ http://faq.mrtg.org Homepage http://www.mrtg.org
WebAdmin http://lists.ee.ethz.ch/lsg2.cgi
More information about the mrtg
mailing list