def url
      url_params = { :host => @host, :port => @port, :path => "/_status", :query => "format=xml" }
      @ssl ? URI::HTTPS.build(url_params) : URI::HTTP.build(url_params)
    end
def url
      url_params = { :host => @host, :port => @port, :path => "/_status", :query => "format=xml" }
      @ssl ? URI::HTTPS.build(url_params) : URI::HTTP.build(url_params)
    end
Create a new instance of the status class with the given options

 <b>Options:</b>
 * +host+ - the host for monit, defaults to +localhost+
 * +port+ - the Monit port, defaults to +2812+
 * +ssl+ - should we use SSL for the connection to Monit (default: false)
 * +auth+ - should authentication be used, defaults to false
 * +username+ - username for authentication
 * +password+ - password for authentication
 Construct the URL