[mrtg] Problem with graph scale

Mika Koivisto mika.koivisto at gmail.com
Sat Nov 19 07:16:07 CET 2011


> Just an educated guess, which could be wrong:
> Maybe your source is in kilobytes, and you should multiply it by 1000, or 1024, whichever is appropriate?
> Look at your log files to see what numbers you are getting, it is probably enough to determine if my guess is correct.
> If it is correct, append " * 1000" (without the quotation marks) to your target. (or " * 1024).  Mind the spaces, I think they are important.

Duh. You are right. snmpwalk -v 2c -c public localhost .1.3.6.1.4.1.2021.4.5.0 reports it in kB:
UCD-SNMP-MIB::memTotalReal.0 = INTEGER: 282084 kB

I never paid attention to it as none of the examples I saw had that.

Thanks for your help.


More information about the mrtg mailing list