New syntax for collectd plugins

Newer versions of collectd throws warning when using the old
syntax for plugin. This syntax seem to work better.