Checking SSM Agent status and starting the agent - AWS Systems Manager

Check whether SSM Agent is running on each supported operating system, and use the correct command to start the agent if it isn't running.