Send load average to Graphite


#!/bin/bash
LOAD=`cat /proc/loadavg | awk '{print $1}'`
DATETIME=`date +%s`
echo "some.system.metric.name $LOAD $DATETIME" | nc graphite.somedomain.com 2003

Leave a Reply

%d bloggers like this: