[collectd] [PATCH] Simple sysctl plugin
toniylenius at gmail.com
Tue May 31 11:16:18 CEST 2011
I have written a simple sysctl plugin.
Initially I wanted to create a general sysctl plugin, but I ended up writing a
simple plugin that reads integer values from sysctl. The plugin relies on the
sysctlnametomib function (that is very similar to the sysctlnametomib) and
should work on BSD like systems (Mac OS X?). I have tested the plugin only on
For example one can get temperature statistics with
Type "fbsd_temp" # Real value = (fbsd_temp - 2732)/10.0
or ZFS arc statistics (like the ZFS ARC plugin)
... etc ...
This plugin has proven useful for me and I wanted to share it. However it
currently supports only integer sysctl values. A patch in the attachment is
against collectd version 5.0.0.
I'm quite new in open source contribution, so feel free to comment my code.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 14810 bytes
Desc: not available
More information about the collectd