add support for more directives in checkmk. (tests included)