           results.push(resource + " : " + d.used + "/" + d.total)
         msg.send results.join("\n")
 
+  robot.respond /luigi blockers(\s*)/i, (msg) ->
+    callLuigiBlockers msg, (res) ->
+      results = []
+      for w in res
+        results.push(w.blocked + " " + w.display_name)
+      msg.send results.join("\n")
+
 sendLimitedResult = (msg, results, n=0) ->
   if results.length > 0
     if n > 0


callLuigiWorkers= (msg, cb) ->
  msg.http(luigiApiEndpoint + "worker_list")
    .get() (err, res, body) ->
      try
        ret = JSON.parse body

#   hubot luigi refresh resources - Luigi refresh resources from disk
#   hubot luigi workers - Luigi worker summary
#   hubot luigi worker <salt> - Show worker details
#   hubot luigi blockers - Show worker details
#   
# Configuration:
#   HUBOT_LUIGI_ENDPOINT - luigi scheduler api endpoint, like 'http://localhost:8082/api/'
