The UCD-SNMP MIB has created 64bit disk space from two separate 32 bit entries.

Is there a way to combine those two items for one display in PRTG?

ucdavis 9
dskTable  1
    dskTotalLow		Unsigned32,
    dskTotalHigh	Unsigned32,
    dskAvailLow		Unsigned32,
    dskAvailHigh	Unsigned32,
    dskUsedLow		Unsigned32,
    dskUsedHigh		Unsigned32

dskAvailLow OBJECT-TYPE
    SYNTAX	Unsigned32
    MAX-ACCESS	read-only
    STATUS	current
    DESCRIPTION  
	"Available space on the disk (kBytes).
	Together with dskAvailHigh composes 64-bit number."
    ::= { dskEntry 13 }

dskAvailHigh OBJECT-TYPE
    SYNTAX	Unsigned32
    MAX-ACCESS	read-only
    STATUS	current
    DESCRIPTION  
	"Available space on the disk (kBytes).
	Together with dskAvailLow composes 64-bit number."
    ::= { dskEntry 14 }

I found this article that explained you have to multiply and add them. http://stackoverflow.com/questions/16790020/snmp-ucd-dsktotallow-dsktotalhigh

dskEntry 14 multiply by 4,294,967,296 which is the 9th digit and up and then add that to the dskLow

Right now, I can only see the one output either low or high or just the max for 32-bit sensor which is the 2.1 TB


Article Comments

Hello,

thank you very much for your KB-Post. It should be possible to perform the calculation with the Sensor Factory in PRTG. Please give that a try.

best regards.


Oct, 2013 - Permalink