diff options
author | makefu <root@pigstarter.de> | 2013-03-22 08:19:42 -0400 |
---|---|---|
committer | makefu <root@pigstarter.de> | 2013-03-22 08:19:42 -0400 |
commit | b33dd6fed4cd9da07e715666de9766e071381996 (patch) | |
tree | b9a18534a03b59b2646f221ea76ac6fa603f8298 /util/bin | |
parent | f73ab0673e3b4a065e4172e0db56f2402a3030a5 (diff) |
add graphite client
Diffstat (limited to 'util/bin')
-rwxr-xr-x | util/bin/graphitec | 4 |
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 |