vserver plugin¶
| Plugin name | vserver |
| Type | read |
| Callbacks | init, read |
| Status | supported |
| Since | 3.9 |
| Copyright | 2006–2007 Sebastian Harl, 2007–2010 Florian Forster |
| License | MIT License |
| Configuration | collectd.conf(5) |
The VServer plugin collects information about the virtual servers running on a system, using Linux-Vserver.
Collected statistics¶
Network traffic¶
There are no real interface counters returned by "vserver", but summaries by socket type. Namely, these are:
- unix
- inet
- inet6
- unspec
- other
Example graph¶

Thread count¶
Number of threads running within a guest.
Example graph¶

Process count¶
Counts the number of processes associated with a certain VServer.
Example graph¶

System load¶
System load of a guest. This is identical to the values collected by the Load plugin, but representing a guest system, not the host system.
Example graph¶

Memory usage¶
Memory used by a VServer.
Example graph¶

Dependencies¶
- Linux
/proc-file system- Linux VServer Kernel extensions
Configuration¶
Configuration options · from collectd.conf(5)
See this section in the full configuration reference
This plugin doesn't have any options. VServer support is only available for Linux. It cannot yet be found in a vanilla kernel, though. To make use of this plugin you need a kernel that has VServer support built in, i. e. you need to apply the patches and compile your own kernel, which will then provide the /proc/virtual filesystem that is required by this plugin.
The VServer homepage can be found at http://linux-vserver.org/.
Note: The traffic collected by this plugin accounts for the amount of traffic passing a socket which might be a lot less than the actual on-wire traffic (e. g. due to headers and retransmission). If you want to collect on-wire traffic you could, for example, use the logging facilities of iptables to feed data for the guest IPs into the iptables plugin.