modify collectd with counter and gauge types