What version of your check_mk_agent do you use? There where changes over the time for the output encoding.