Validating Graphite Metrics With Bash!

At my dayjob I get to work with Graphite and power meters. It is cool: To make it easy for my clients to get power information, I’ve written a command line tool called “power” that they can run to get the power usage for a server when running their program. Here is an example: power METER-NAME sleep 10s Pretty handy. The “METER-NAME” is pretty important, as it lets the script know which system’s power you are interested in.