[collectd] Use of the context id to identify the vservers RRD files

Sebastian Harl sh at tokkee.org
Mon Oct 2 17:37:28 CEST 2006


> I would like to know if there is a particular reason the vserver plugin 
> uses the context id to identify the RRD files, instead of the vserver 
> name.

Well, there is no real reason for it. Using the XID saves you from having the
overhead of looking up the vserver's name. However, this could (and should) be
cached... On the other hand, using dynamic XID's is deprecated anyway, so I
did not see a real reason for accepting even this little overhead.

> I intend to make a patch to collectd to use the vserver name.

If this patch is written well, I don't see any reason why it should not be
accepted. The VServer plugin is pretty slow anyway and needs some rework that
I have to do some day - I just need to find some spare time... ;-)


Sebastian "tokkee" Harl
GnuPG-ID: 0x8501C7FC

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://mailman.verplant.org/pipermail/collectd/attachments/20061002/61a60037/attachment.pgp

More information about the collectd mailing list