     name: 'load'
     source: '15:' + node_id
     value: loadavg[2]
+
+  # CPU usage
+  cpu_usage = get_cpu_usage()
+  print "CPU usage: " + cpu_usage
+  cpu_total =
+    name: 'cpu'
+    source: node_id
+    value: cpu_usage
 
   # Available memory
   mem_total = os.totalmem() / (1024 * 1024)

    ]
  print ""
  stats

# Pushes stats to Librato
push = (stats) ->

# Collect data from Mongo in every <interval>/2 seconds
setInterval ->
  collect_mongo()
, (interval / 2)

# Post to Librato in every <interval> seconds
setInterval ->
  post_to_librato()
, interval