Skip to content

Instantly share code, notes, and snippets.

@bixu
Created July 9, 2014 13:34
Show Gist options
  • Select an option

  • Save bixu/b41402943f5e6a3f79d3 to your computer and use it in GitHub Desktop.

Select an option

Save bixu/b41402943f5e6a3f79d3 to your computer and use it in GitHub Desktop.
How to get your circonus broker ID if you are using public circonus brokers
# this assumes that you have the latest node.js
sudo npm install -g json
curl -s \
-H 'X-Circonus-App-Name: nad' \
-H 'X-Circonus-Auth-Token: <your_auth_token>' \
-H 'Accept: application/json' 'https://api.circonus.com/broker' \
| json \
| grep "cid\|name"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment