[collectd] Beancounter plugin for OpenVZ/Virtuozzo container

Stefan Möding Apr2011.5.kill-9 at spamgourmet.com
Fri Apr 15 17:49:55 CEST 2011


Hi,

this is a plugin I wrote to collect data from the beancounters within an OpenVZ/Virtuozzo container.

In contrast to the OpenVZ plugin already provided this plugin runs inside the container and gathers data for the current resource usage including virtual memory, number of processes, open sockets, network buffers and others (see http://wiki.openvz.org/UBC_parameters_table for details). The plugin needs a new entry in types.db (also attached).

It is written in C and supports include/exclude parameters to restrict the beancounters to monitor.
The plugin was developed on Debian Lenny with collectd 4.10.2.

Feel free to comment!

Stefan


-------------- next part --------------
A non-text attachment was scrubbed...
Name: my_types.db
Type: application/octet-stream
Size: 192 bytes
Desc: not available
URL: <http://mailman.verplant.org/pipermail/collectd/attachments/20110415/f348243d/attachment-0002.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: beancounter.c
Type: application/octet-stream
Size: 11195 bytes
Desc: not available
URL: <http://mailman.verplant.org/pipermail/collectd/attachments/20110415/f348243d/attachment-0003.obj>


More information about the collectd mailing list