build ping and memory plugin for collectd

Any objections?