You are running an aws ssm command. You receive a message about an error when parsing amazon-cloudwatch-agent.toml that also says '"/usr/share/collectd/types.db" no such file or directory'. What do you do?
Install collectd. If you are using a RedHat derivative of Linux (e.g., Fedora or CentOS), run this:
sudo yum -y install collectd