On Mon, May 13, 2019 at 02:56:46AM -0400, Josef Ridky wrote:
> Hi folks,
> 
> I would like to know your opinion on following issue.
> 
> UCD-SNMP-MIB [1] uses INTEGER32 instead of COUNTER64 for memory OIDs which 
> limits the reporting to 2 TiB (using KiB as the base).
> Large modern servers often contain more than 2 TiB of memory leading to the 
> OIDs rolling over and reporting negative values.
> 
> How can it be solved? 
> Can we just change the variable type? (I don't think so) 
> Or can we add new variables, that will be COUNTER64 type? 
> Or can the base be set to e.g. MiB instead of KiB in configuration?

The currelt 5.8 release (and unreleased 5.7 update) should already
contain objects like memTotalRealX which are defined as
CounterBasedGauge64

Unfortunately I don't have hardware to test it :-)

/Niels

-- 
Niels Baggesen - @home - Ã…rhus - Denmark - n...@users.sourceforge.net
The purpose of computing is insight, not numbers   ---   R W Hamming


_______________________________________________
Net-snmp-coders mailing list
Net-snmp-coders@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to