         (cb) ->
             compute_status (err, s) ->
                 status = s
+                current_status = s
                 cb(err)
         (cb) ->
             client.query

    setInterval(test_firewall, interval_ms)
    return

# called inside raw_server
exports.init_health_metrics = (raw_server, project_id) ->
    return if not exports.IN_KUCALC
    # uniquely identifies this instance of the local hub
    session_id = misc.uuid()
    # record when this instance started
    start_ts   = (new Date()).getTime()

    # Setup health and metrics (no url base prefix needed)
    raw_server.use '/health', (req, res) ->

    )

exports.compute_status = compute_status = (cb) ->
    status =
        memory   : {rss: 0}
        disk_MB  : 0
        cpu      : {}
        start_ts : start_ts
    async.parallel([
        (cb) ->
            compute_status_disk(status, cb)
        (cb) ->
            #compute_status_memory(status, cb)
            cgroup_stats(status, cb)
        (cb) ->
            compute_status_tmp(status, cb)
    ], (err) ->
