Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/dmichel1/ansible-statsd
Use Ansible to install and configure statsd
https://github.com/dmichel1/ansible-statsd
Last synced: 2 days ago
JSON representation
Use Ansible to install and configure statsd
- Host: GitHub
- URL: https://github.com/dmichel1/ansible-statsd
- Owner: dmichel1
- License: mit
- Created: 2014-03-16T23:29:32.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2015-10-25T02:31:16.000Z (about 9 years ago)
- Last Synced: 2024-08-02T03:02:04.474Z (3 months ago)
- Language: Shell
- Size: 183 KB
- Stars: 12
- Watchers: 2
- Forks: 4
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
- awesome-ansible-roles - dmichel1.statsd - se Ansible to install and configure statsd (Security / Logging and Monitoring)
README
Ansible - statsd
================Simple daemon for easy stats aggregation
[https://github.com/etsy/statsd](https://github.com/etsy/statsd)
Requirements
------------Role Variables
--------------`statsd_debug: 'false'`
`statsd_version: v0.7.1`
`statsd_port: 8125`
`graphite_port: 2003`
`graphite_host: localhost`
`delete_idle_stats: 'false'`
`librato_email: [email protected]`
`librato_token: <...>`
`librato_source: hostname` (default: ansible_hostname)
Dependencies
------------A list of other roles hosted on Galaxy should go here, plus any details in regards to parameters that may need to be set for other roles, or variables that are used from other roles.
Example Playbook
-------------------------Assumes the Graphite is running on the same host as statsd
```yaml
---
- hosts: statsd
roles:
- { role: dmichel1.statsd }
```Overide the Graphite host
```yaml
---- name: Stats role
hosts: statsd
user: '{{ ssh_user }}'
sudo: no
vars:
ssh_user: root
roles:
- { role: dmichel1.statsd,
graphite_host: 192.168.1.1 }```
Librato backend (graphite disabled)
```yaml
---- name: Stats role
hosts: statsd
user: '{{ ssh_user }}'
sudo: no
vars:
ssh_user: root
roles:
- { role: dmichel1.statsd,
graphite_host: '',
librato_email: '[email protected]',
librato_token: '00112233445566778899AABBCCDDEEFF',
librato_source: 'backends cluster', # optional
}
```License
-------MIT
Author Information
------------------Drew Michel. drewl.org