make wrapper independent from where it's called from, add collectd config example