Project

dogell

0.0
No commit activity in last 3 years
No release in over 3 years
Run commands on multiple servers in your Datadog Infrastructure
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 1.16
~> 10.0
~> 3.0

Runtime

 Project Readme

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.