From collectd Wiki
Revision as of 11:33, 2 February 2012 by Octo (talk | contribs) (Reverted edits by Ordinaryhorse91341 (Talk) to last revision by Octo)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
OpenVZ plugin
Type: read
Callbacks: read
Status: supported
First version: 4.9
Copyright: 2009 Jonathan Kolb
2009 Florian octo Forster
License: GPLv2
Manpage: collectd-perl(5)
List of Plugins

The OpenVZ plugin emulates several of the standard plugins available for collectd for each Virtual Environment (VE) on a host. Current plugins emulated are interface, cpu, df, load, processes, and users. No configuration is currently supported. The plugin will use the friendly name (set by vzctl set --name) for the reporting host field.


<LoadPlugin "perl">
  Globals true

<Plugin "perl">
  BaseName "Collectd::Plugins"
  LoadPlugin "OpenVZ"

Example graphs

None yet. Add one now!



If using versions 4.9 or 4.10, be sure to load the Perl plugin with the Globals option set to true. Otherwise the OpenVZ module will not work properly. The appropriate configuration for loading the Perl plugin is:

<LoadPlugin "perl">
  Globals true

Versions before 4.9 don't support this option; it's possible the OpenVZ plugin doesn't work with these versions of collectd. Version 5.0 and later will automatically set this flag for the Perl plugin, so the above syntax isn't required but still legal.