NAME

lxc_net - Munin plugin to graph traffic of active LXC containers.

APPLICABLE SYSTEMS

LXC container with "lxc.network.type=veth" and "lxc.network.veth.pair" settings.

CONFIGURATION

env.lxcpath - Set the path where LXC containers are stored, default: /var/lib/lxc env.exclude - Removing containers from graphs, default: empty

  [lxc_net]
    env.lxcpath /var/lib/lxc
    env.exclude container1 container2

INTERPRETATION

This plugin reads a "lxc.network.veth.pair" setting from "config" file of each container, because lxc-start command creates a random named veth device without the setting.

If your xen config (/var/lib/lxc/GUEST_NAME/config does not contain this parameter, then you have to fill it, because if every guest restart generate new device name, then the graph will be useless ( example config : lxc.network.veth.pair = vethsamba )

AUTHOR

mitty mitty@mitty.jp

LICENSE

2-clause BSD License

MAGIC MARKERS

 #%# familiy=auto
 #%# capabilities=autoconf