Created
July 9, 2014 13:34
-
-
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 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
| # 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