Skip to content
Florian Forster edited this page Nov 21, 2023 · 1 revision
Name: OpenVZ plugin
Type: read
Callbacks: read
Status: supported
FirstVersion: 4.9
Copyright: 2009 Jonathan Kolb, 2009 Florian octo Forster
License: GPLv2
Manpage: collectd-perl(5)
See also: 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.

Synopsis


 <LoadPlugin "perl">
   Globals true
 </LoadPlugin>

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

Example graphs

None yet. Add one now!

Caveats

Globals

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
 </LoadPlugin>

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.

Dependencies

Clone this wiki locally