Xymon Mailing List Archive search

Patch - timefunc.c (was Xymon on RHEL3 - not working?)

list John Horne
Wed, 11 Jul 2012 14:22:48 +0100
Message-Id: <user-23da5f9dc2e7@xymon.invalid>

Hello,

Attached is a patch for consideration.

I am using it on my RHEL3 Xymon (4.3.7) client to cater for the problems
with 'clock_gettime'. The timers now basically use clock_gettime if it
is defined and returns a zero code, else they use 'gettimeofday' but if
that gives an error then 'time' is used. It hasn't been tested on any
other server.


John.

-- 
John Horne                   Tel: +XX (X)XXXX XXXXXX
Plymouth University, UK      Fax: +XX (X)XXXX XXXXXX