Skip to content
/ dogell Public

Run commands on multiple servers in your Datadog Infrastructure

License

Notifications You must be signed in to change notification settings

catks/dogell

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

  1. Separate concerns
  2. 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.

About

Run commands on multiple servers in your Datadog Infrastructure

Topics

Resources

License

Stars

Watchers

Forks

Packages