https://github.com/catks/dogell
Run commands on multiple servers in your Datadog Infrastructure
https://github.com/catks/dogell
datadog parallel-processing ssh
Last synced: 10 months ago
JSON representation
Run commands on multiple servers in your Datadog Infrastructure
- Host: GitHub
- URL: https://github.com/catks/dogell
- Owner: catks
- License: mit
- Created: 2018-07-18T12:27:32.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2020-02-29T12:19:29.000Z (almost 6 years ago)
- Last Synced: 2025-01-14T00:17:14.126Z (12 months ago)
- Topics: datadog, parallel-processing, ssh
- Language: Ruby
- Size: 13.7 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this 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
```bash
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:
```bash
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:
```bash
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](https://opensource.org/licenses/MIT).