@classmethod<EOL><INDENT>def validate_config(cls, config):<DEDENT>
if "<STR_LIT>" not in config:<EOL><INDENT>raise ValueError("<STR_LIT>")<EOL><DEDENT>if "<STR_LIT>" not in config:<EOL><INDENT>raise ValueError("<STR_LIT>")<EOL><DEDENT>cls.validate_check_config(config)<EOL>
Validates that required config entries are present.

Each check requires a `host`, `port`, `rise` and `fall` to be
configured.

The rise and fall variables are integers denoting how many times a
check must pass before being considered passing and how many times a
check must fail before being considered failing.