rackspace-monitoring.js is a node module that uses Virgo.js agents to connect to Rackspace monitoring endpoints.
Clone rackspace-monitoring.js to obtain a local copy (you could also use the ssh url here).
$ git clone https://github.com/virgo-agent-toolkit/rackspace-monitoring.js.git rackspace-monitoring.js
Navigate to your new directory and install dependencies
$ cd rackspace-monitoring.js
$ npm install
Copy the example config file (config.json.example), and replace the example credentials (account, username and API key) with your own. To obtain your API key, log into your cloud account and go to your account settings.
$ cp config.json.example config.json
$ vi config.json
To run the example, you will need to build virgo.js locally.
$ (cd node_modules/virgo.js/ && make)
$ node index.js
Dev Note: You may run into an error, 'UNABLE_TO_VERIFY_LEAF_SIGNATURE'. If so, try running like so:
$ NODE_TLS_REJECT_UNAUTHORIZED=0 node index.js
Copy the example config file, and replace the example credentials (username and API key) with your own. To obtain your API key, log into your cloud account and go to your account settings. Keep your creds in config.example
$ docker build -t your_tag .
$ docker run [hash_from_build_stage] nodejs index.js
rackspace-monitoring.js is distributed under the Apache License 2.0.