In Datadog, I received the following error:
initialize check class [ERROR]: ‘while scanning for the next token\nfound character that cannot start any token\n in “<byte string>
sudo /etc/init.d/datadog-agent info
I investigated the unhappy files in /etc/dd-agent/conf.d and found that the yaml indentation was incorrect.
I had used 4 spaces instead of 2 spaces for my jmx.yaml and tomcat.yaml configuration files.
This was an easy fix but not obvious based off of the error message.