-
-
Save katzefudder/8207719c5755400c53dbf3094a786fc2 to your computer and use it in GitHub Desktop.
send to graphite
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
HOST=sub.host.domain | |
PORT=2003 | |
echo "$1 $2 `date +%s`"|nc $HOST $PORT |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment