Skip to content

Instantly share code, notes, and snippets.

@damilarelana
damilarelana / graphite.bash
Created December 8, 2015 20:09 — forked from coderofsalvation/graphite.bash
feed metrics to graphite using bash
#!/bin/bash
# Set this hostname
HOSTNAME=`hostname --short`
# Set Graphite host
GRAPHITE=my.graphite.host
GRAPHITE_PORT=2003
# Loop forever