Skip to content

Instantly share code, notes, and snippets.

@octplane
Created December 19, 2011 13:25
Show Gist options
  • Save octplane/1497220 to your computer and use it in GitHub Desktop.
Save octplane/1497220 to your computer and use it in GitHub Desktop.
One liner feeder from script outputting a value to graphite
while [ 1 ]; do DAT=$(./varnish_elapsed_undirected); echo $DAT; echo "transient.fast.f04.varnish.$DAT `date +'%s'`" | socat - TCP4:graphite_server:2003; done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment