[mrtg] SNMP integar values settings

Mir Hafeez Ali hafeezali at cyberia.net.sa
Sat Apr 12 07:31:28 CEST 2008

Please use the following option in configuration.


Options[_]: bits

kilo[_]: 1024



Mir Hafeez Ali



From: mrtg-bounces at lists.oetiker.ch [mailto:mrtg-bounces at lists.oetiker.ch]
On Behalf Of SYED JAHANZAiB ~!~ AA Internet Cable.Network Services
Sent: Friday, April 11, 2008 5:54 PM
To: mrtg at lists.oetiker.ch
Subject: [mrtg] SNMP integar values settings


When I query remote pc for monitoring RAM size, i get the following value
HOST-RESOURCES-MIB::hrStorageAllocationUnits.8 = INTEGER: 65536 Bytes
HOST-RESOURCES-MIB::hrStorageSize.8 = INTEGER: 16223

I have 1GB of ram in that pc, but it shows me 16223, when i multiply this
value with its hrStorageAllocationUnits.8 which is 65536, i get the correct
value for 1gb ram, how to setup this in mrtg? bcoz mrtg will take 16223 as
bytes and thus shows wrong value, how can i tell mrtg to multiply 16223
value by 65536

same case is with HDD space, snmp shows its Allocation Unit size is 4096, so
how to multiply snmp value with 4096?





Invite your mail contacts to join your friends list with Windows Live
Spaces. It's easy! Try it!

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.oetiker.ch/pipermail/mrtg/attachments/20080412/52527603/attachment-0001.html 

More information about the mrtg mailing list