[collectd] lua plugin

Florian Forster octo at collectd.org
Fri Nov 26 22:51:29 CET 2010


Hey,

On Fri, Nov 26, 2010 at 09:46:40PM +0100, Schmurfy wrote:
> I tried your branch but sadly I cannot build it, a dependency was
> added which does not exists under Mac OS X (clock_gettime):

I did some digging and apparently Mac OS X really doesn't have
clock_gettime(2), it's not just a special define required or something
like that.

I implemented a fallback using gettimeofday(2) which, hopefully, is
available everywhere. That function has been deprecated, so it *must* be
in widespread use, right? ;)

Hope this helps :)
—octo
-- 
Florian octo Forster
Hacker in training
GnuPG: 0x0C705A15
http://octo.it/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 835 bytes
Desc: Digital signature
URL: <http://mailman.verplant.org/pipermail/collectd/attachments/20101126/a88fa311/attachment.pgp>


More information about the collectd mailing list