> 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:[EMAIL PROTECTED] > st / [512]:memoryCommitLimit.0:[EMAIL PROTECTED]) * 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:[EMAIL PROTECTED] and use the dorelpercent option (show A as a percentage of B). HTH Steve -- Unsubscribe mailto:[EMAIL PROTECTED] 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
