Maurizio Vitale <[email protected]> writes:

> There's another way that consists in LD_PRELOADing a shared object that
> intercepts all calls to fopen and prepend a prefix to filenames.

I like this approach, and actually have implemented such a wrapper and
have been using it for a couple of weeks now. So far so good.

See https://github.com/collectd/collectd/pull/2041

This way, no need to modify or rebuild collectd itself. It should work
with any existing or future version, with out-of-tree plugins, and even
with other tools than collectd ;-)

Marc

_______________________________________________
collectd mailing list
[email protected]
https://mailman.verplant.org/listinfo/collectd

Reply via email to