From b33dd6fed4cd9da07e715666de9766e071381996 Mon Sep 17 00:00:00 2001 From: makefu Date: Fri, 22 Mar 2013 08:19:42 -0400 Subject: add graphite client --- util/bin/graphitec | 4 ++++ 1 file changed, 4 insertions(+) create mode 100755 util/bin/graphitec diff --git a/util/bin/graphitec b/util/bin/graphitec new file mode 100755 index 00000000..b9f09e3d --- /dev/null +++ b/util/bin/graphitec @@ -0,0 +1,4 @@ +#!/bin/sh +H=${GRAPHITE_HOST:-localhost} +P=${GRAPHITE_PORT:-2003} +printf "%s %s\r\n" $1 $2 | nc -u $H $P -- cgit v1.2.3