diff options
author | Your Name <you@example.com> | 2013-04-03 10:05:58 -0400 |
---|---|---|
committer | Your Name <you@example.com> | 2013-04-03 10:05:58 -0400 |
commit | 2b74acb096d971a680914cf284c2f9b0c99d7ff3 (patch) | |
tree | e54bece94eae5f5bb1b6b11f78b001f720d027e7 /util/bin | |
parent | 419f05617c9de676b0960435464ed6bcb5ed257f (diff) | |
parent | c57300f04afe66c596b6ea658457aae260ab323e (diff) |
Merge branch 'master' of https://github.com/krebscode/painload
Diffstat (limited to 'util/bin')
-rwxr-xr-x | util/bin/graphitec | 5 |
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 |