The new agent for http://cloudstats.me
Get your install code from http://login.cloudstats.me
You can get the latest prerelease version from this repository and use it. But it will need a little more work to install it.
-
You have to install a ruby version on your box. It has been tested on 2.1 and 2.2 on Linux and OS X. You can install it with your package manager or with rvm
-
You clone this repository:
git clone https://github.com/CloudStats/CloudStatsAgent.git && cd CloudStatsAgent
- You install the gems with the command:
bundle install
-
You grab the API key for your account from the top menu: Add New Monitor -> Add New Server -> Windows -> API Key
-
You setup the agent with your API Key
INSTALL_PATH=`pwd` bundle exec ruby lib/cloudstats.rb --setup YOUR_API_KEY
- You can run the agent with
INSTALL_PATH=`pwd` bundle exec ruby lib/cloudstats.rb
- You can modify the existing script in init.d/cloudstats-agent to start the
agent or you can add it as startup into
/etc/rc.local
:
INSTALL_PATH='the path where the agent is installed' bundle exec ruby lib/cloudstats.rb
RabbiqMQ configuration
plugin rabbitmq-auth-backend-http