Dogell
Dogell let's you run commands on multiple servers querying by your host tags in your Datadog Infrastructure
Installation
To run this script you must have a ruby installed in your machine.
After that, you can install from RubyGems
gem install dogell
Usage
To start using dogell you need a Datadog API_KEY
and APP_KEY
, after that you can set the keys as environment variables:
export DATADOG_APP_KEY=my_secret_app_key
export DATADOG_API_KEY=my_secret_api_key
Or set with the dogell options in each command:
dogell -t name:some-app -u my_user -c 'hostname' --api-key my_secret_api_key --app-key my_secret_app_key
Dogell use Datadog host tags to query the servers with the -t
/ --tag
flags, to know more just type dogell -h
TODO
- Separate concerns
- Add specs
Contributing
Bug reports and pull requests are welcome on GitHub at https://github.com/catks/dogell
License
The gem is available as open source under the terms of the MIT License.