graphite-dev team mailing list archive
-
graphite-dev team
-
Mailing list archive
-
Message #04423
[Question #237565]: libstatgrab for system stats
New question #237565 on Graphite:
https://answers.launchpad.net/graphite/+question/237565
My apologies if this is not the correct place to post this. I was looking for a lightweight zero config client to send system stats to graphite and came across libstatgrab. I didn't see it in the "Tools that work with Graphite" page. so, figured i'd share. :)
http://www.i-scream.org/libstatgrab/
Here's an example one-liner (tested on BSD) to send system stats to graphite.
statgrab -b | sed -re "s/^/`hostname`./" -e "s/://" | awk -v "date=`date +%s`" '{print $0, date}' | nc <graphite server ip> <LINE_RECEIVER_PORT>
--
You received this question notification because you are a member of
graphite-dev, which is an answer contact for Graphite.