I'm having a problem with a large disk array. SNMP reports the right size, but Cacti graphs it wrong. Here's what I found out.
An snmpwalk to the server (from monitoring server):
Code: Select all
snmpwalk -v2c -c public x.x.x.x hrStorageTable
Code: Select all
HOST-RESOURCES-MIB::hrStorageDescr.35 = STRING: /storage
HOST-RESOURCES-MIB::hrStorageAllocationUnits.35 = INTEGER: 32768 Bytes
HOST-RESOURCES-MIB::hrStorageSize.35 = INTEGER: 1187305184
Code: Select all
hrStorageAllocationUnits x hrStorageSize /1024 / 1024 / 1024 / 1024 = xxTB's
Code: Select all
32768 x 1187305184 / 1024 / 1024 / 1024 /1024 = ~ 35 TB
Now I am aware there is a plugin to report correct disk size, but why do I need that plugin if SNMP reports everything correctly?
(http://docs.cacti.net/usertemplate:data ... disk_usage)
Please advice / help?