Handle the collectd errors for all actions
Fix typo and wrong MIME type specification in curl example
Fix missing elements in sample files + typos
Fix wrong parameters passing + string converting