Skip to content

Instantly share code, notes, and snippets.

@simondean
Created August 3, 2014 12:19
Show Gist options
  • Save simondean/352b4ce6ed98518e38bf to your computer and use it in GitHub Desktop.
Save simondean/352b4ce6ed98518e38bf to your computer and use it in GitHub Desktop.
echo '{
"handlers": ["email"],
"name": "it_is_cornbread_time",
"output": "Yummy!",
"status": 2,
"source": "server.example.org"
}' | nc -w1 127.0.0.1 3030
echo '{
"type": "metric",
"handlers": ["metrics"],
"name": "it_is_metrics_time",
"output": "example.metric 123",
"status": 0
}' | nc -w1 127.0.0.1 3030
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment