       hours = nconf.get("HUBOT_INFLUXALERTS_HOURS_BEFORE_ACK_REPOST")
       interval = nconf.get("ONE_HOUR_MS")*hours
       if cur_ts - ack_ts > interval
-
         new_alert(robot, msg, query_name, data, columns)
                     
     else

  else
    query = query_config[query_db][query_name].query
    influx_clients[query_db].query(query, (e, return_series) ->
      msg.send format_query_result(return_series)
    )

format_query_result = (query_json) ->
  for result in query_json
    columns = result.columns
    data = result.points

  )


check_for_alerts = (robot, msg, verbose) ->
  connect()
  for database in Object.keys(nconf.get("queries"))
    for query_name in Object.keys(nconf.get("queries")[database])
