summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xutil/bin/graphitec4
1 files changed, 4 insertions, 0 deletions
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