summaryrefslogtreecommitdiffstats
path: root/util
diff options
context:
space:
mode:
authormakefu <github@syntax-fehler.de>2013-04-24 20:44:30 +0200
committermakefu <github@syntax-fehler.de>2013-04-24 20:44:30 +0200
commit7fdb1fca9089f400a7938573cb4398db78c6628d (patch)
tree248d2626a379d931a7b52c30a81384fc11b7dfc7 /util
parent9f38a2b96abb3fdc4cce5ef23c791728268b7b6f (diff)
parent57fb05c0512f9c12ff56924cdc0d835f1999754a (diff)
Merge branch 'master' of github.com:krebscode/painload
Diffstat (limited to 'util')
-rwxr-xr-xutil/bin/graphitec5
1 files changed, 5 insertions, 0 deletions
diff --git a/util/bin/graphitec b/util/bin/graphitec
new file mode 100755
index 00000000..52aa9834
--- /dev/null
+++ b/util/bin/graphitec
@@ -0,0 +1,5 @@
+#!/bin/sh
+H=${GRAPHITE_HOST:-localhost}
+P=${GRAPHITE_PORT:-2003}
+curr=$(date '+%s')
+printf "%s %s %s\n" $1 $2 $curr | nc -q0 $H $P