fix trailing whitespace
add check_mk compatible output

closes #1