https://github.com/elan-ev/monitoring_mysqld_exporter
Ansible role to install the mysqld_exporter for prometheus
https://github.com/elan-ev/monitoring_mysqld_exporter
Last synced: 4 months ago
JSON representation
Ansible role to install the mysqld_exporter for prometheus
- Host: GitHub
- URL: https://github.com/elan-ev/monitoring_mysqld_exporter
- Owner: elan-ev
- License: bsd-3-clause
- Created: 2022-05-25T15:52:33.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2024-03-22T09:07:41.000Z (about 1 year ago)
- Last Synced: 2025-02-25T10:46:43.970Z (4 months ago)
- Language: Jinja
- Size: 6.84 KB
- Stars: 0
- Watchers: 5
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Ansible Role for the mysqld_exporter

Install the latest [mysqld_exporter](https://github.com/prometheus/mysqld_exporter) version with [ansible](https://docs.ansible.com/).
## Role Variables
There are only two variables, both are required: `mysqld_exporter_password` for the
exporter user on the database and `mysqld_exporter_db_root_password` to be able to create said user.## Example Playbook
If you do not want to change the defaults, just add the role to your playbook:
```yaml
- hosts: all
become: true
roles:
- role: elan.monitoring_mysqld_exporter
vars:
mysqld_exporter_password: 1234
mysqld_exporter_db_root_password: 5678
```## License
[BSD-3-Clause](LICENSE)
## Author Information
[ELAN e.V](https://elan-ev.de/)