I am seeing incorrect data when polling the
HOST-RESOURCES-MIB::hrStorageSize values when the realStorageUnits setting
is set to zero. Below is an example:
uname -a
Linux 2.6.18-274.el5xen #1 SMP Fri Jul 22 05:31:07 EDT 2011 x86_64 x86_64
x86_64 GNU/Linux
snmpd -v
NET-SNMP version: 5.3.2.2
I i
On Thu, Feb 2, 2012 at 9:35 AM, Alban Rochel
wrote:
> FYI, I have fixed this problem by replacing all the calls to
> gettimeofday() by calls to mygettimeofay():
>
That will break at least the MIB implementations that expect a wall clock
time instead of a CLOCK_MONOTONIC time.
Bart.
-
On 31/01/12 18:46, Bart Van Assche wrote:
> On Tue, Jan 31, 2012 at 4:30 PM, Alban Rochel
> wrote:
>> I work on a Linux application which does an extensive use of net-snmp to
>> monitor and control a bunch of external equipments, all synchronised on
>> a ptp or ntp clock. The "fun" part is that t