summaryrefslogtreecommitdiffstats
path: root/util/bin/graphitec
blob: 52aa9834fc71b828b2a5a01576281c83c0dbe4ee (plain)
1
2
3
4
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