Logic fixed, missing CMD_ENABLED when reading from the Nagios configuration file