Skip to content

virgo-agent-toolkit/rackspace-monitoring.js

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

rackspace-monitoring.js

rackspace-monitoring.js is a node module that uses Virgo.js agents to connect to Rackspace monitoring endpoints.

Instructions

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

Running Virgo.js Example

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

Docker Instructions

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

License

rackspace-monitoring.js is distributed under the Apache License 2.0.

About

Node module for connecting to Rackspace agent endpoints with Virgo.js

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published