Skip to content

Instantly share code, notes, and snippets.

@derpston
Created March 8, 2012 00:04
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save derpston/1997441 to your computer and use it in GitHub Desktop.
Save derpston/1997441 to your computer and use it in GitHub Desktop.
Quick and dirty implementation of a smokeping-like tool on top of Metricfire
* * * * * curl -s https://your-api-key@api.metricfire.com/v1/metric/smokecheap/tog-dot-ie --data-binary "[$(ping -c 20 tog.ie | awk '/bytes from/{print $8}' | cut -b6-10 | xargs | tr ' ' ',')]"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment