Added support for Red Hat 7 and CentOS 7 to the monotoring agent script.