[collectd] collectd inside a container monitoring the host

Foley, Emma L emma.l.foley at intel.com
Tue Aug 30 11:40:14 CEST 2016

There's a docker container for collectd in the kolla project in OpenStack.
It just recently merged, but it might be helpful:


Intel Research and Development Ireland Limited
Registered in Ireland
Registered Office: Collinstown Industrial Park, Leixlip, County Kildare
Registered Number: 308263

> -----Original Message-----
> From: collectd [mailto:collectd-bounces at verplant.org] On Behalf Of Marc
> Fournier
> Sent: Tuesday, August 30, 2016 7:10 AM
> To: Maurizio Vitale <mrz.vtl at gmail.com>; collectd at verplant.org
> Subject: Re: [collectd] collectd inside a container monitoring the host
> Maurizio Vitale <mrz.vtl at gmail.com> writes:
> > Hi all,
> >   is there an easy way for running collectd inside a docker container
> > while still monitoring the host?
> > For a number of plugin of interest to me it is only a matter of
> > mounting /proc to /host_proc inside the container and then use that.
> > Other plugins might be trickier.
> > But even for the simple ones, one might have to change the source code.
> >
> > Has anybody done this successfully?
> I started working on (but didn't really finish yet):
> https://github.com/collectd/collectd/pull/1867
> > [the reason for this, rather than running collectd as a normal process
> > on every host, is that I need to have it running in kubernetes and
> > having non-contenairazed processes is not nice]
> Yes, this was also my use-case.
> Cheers,
> Marc
> _______________________________________________
> collectd mailing list
> collectd at verplant.org
> https://mailman.verplant.org/listinfo/collectd

More information about the collectd mailing list