   robot.respond /rabbit queues/i, (msg) ->
     results = []
     msg
-      .http("#{scheme}://#{host}/api/queues")
+      .http("#{url}/api/queues")
       .query(sort_reverse: 'messages')
       .headers(Authorization: auth, Accept: 'application/json')
       .get() (err, res, body) ->


# get_queues = (msg) ->
#   msg
#     .http("#{scheme}://#{host}/api/queues")
#     .query(sort_reverse: 'messages')
#     .headers(Authorization: auth, Accept: 'application/json')
#     .get() (err, res, body) ->

#   None
#
# Configuration:
#   HUBOT_RABBITMQ_ROOT_URL
#   HUBOT_RABBITMQ_USER (default is 'guest')
#   HUBOT_RABBITMQ_PWD (default is 'guest')
#   HUBOT_RABBITMQ_VIRT_HOST (defaults to '/')
#
# Commands:
#   hubot rabbit nodes - display list of cluster nodes (name, uptime)
