summaryrefslogtreecommitdiffstats
path: root/util/bin/graphitec
blob: b9f09e3dc0a16b06cf20ae4fa9ed1468e948dc51 (plain)
1
2
3
4
#!/bin/sh
H=${GRAPHITE_HOST:-localhost}
P=${GRAPHITE_PORT:-2003}
printf "%s %s\r\n" $1 $2 | nc -u $H $P