def METHOD_NAME(self):
    self.host = self.get_opt('host')
    self.port = self.get_opt('port')
    self.user = self.get_opt('user')
    self.password = self.get_opt('password')
    validate_host(self.host)
    validate_port(self.port)
    validate_user(self.user)
    validate_password(self.password)
    ssl = self.get_opt('ssl')
    log_option('ssl', ssl)
    if ssl:
        self.protocol = 'https'
    self.validate_thresholds(simple='lower', optional=True)