[collectd] Improving the Debian package

Florian Forster octo at verplant.org
Mon Dec 5 13:51:24 CET 2005


Hello Jan,

On Mon, Dec 05, 2005 at 01:20:31PM +0100, Jan Huijsmans wrote:
> Some tips to improve the debian packaging:
> - Add the complete list as suggested packages for collectd (with maybe
>   the processes of memory module as required)

I've thought about that, too, and will change that soon.. Also, a friend
of mine suggested building a meta-package that pulls in `essential'
modules. I'd rather not depend on any specific module being present, but
rather depend on at least one being there..

> - Add an /etc/init.d/collectd restart in the post-install of the
>   modules

If anyone could tell me how to prevent dpkg to restart collectd $n$
times when installing $n$ packages I'll gladly do this :)

> Is it possible to have collectd execute specified scripts for other
> data gathering purposes?

No, there's no such thing yet and none is planned so far. If you can
life with a limited interface to collectd one could write two modules
`exec_counter' and `exec_gauge' which exec a script/binary, read a
single value back and write it to the RRD file.

I don't see a way to intelligently handle definitions for RRD files from
the outside, so having one `value' DS of either type `COUNTER' or
`GAUGE' would simplify a lot.

> I have created scripts to count users, 

Such a module has been written recently and will be included in the next
version. Assuming you mean logged in users.

> gather filesystem usage and stuff like that.

If by usage you mean allocated and free blocks: This has been asked for
before, and I'll likely do that soon..

Best regards,
-octo
-- 
Florian octo Forster
Hacker in training
GnuPG: 0x91523C3D
http://verplant.org/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://mailman.verplant.org/pipermail/collectd/attachments/20051205/a20bb2ca/attachment.pgp


More information about the Collectd mailing list