Skip to content

Instantly share code, notes, and snippets.

#!/bin/bash
# Parse the Checkmy Website API JSON output and feed it into Graphite
# Expect a Check my Website ID as argument
# echo "foo 1 timestamp" | nc -u -w 1 127.0.0.1 2003
# url https://api.checkmy.ws/api/status/ea726685-9b45...
# Dependencies
# Jq version 1.4 mininum : http://stedolan.github.io/jq/
# Netcat