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

Comments

Leave a Reply

Discover more from Rich Collier

Subscribe now to keep reading and get access to the full archive.

Continue reading