mirror of
https://github.com/KevinMidboe/playbooks-retailor.git
synced 2026-02-15 05:49:16 +00:00
adds mysql exporter. Installs on database host
This commit is contained in:
11
roles/exporter-mysql/README.md
Normal file
11
roles/exporter-mysql/README.md
Normal file
@@ -0,0 +1,11 @@
|
||||
# mysqld exporter
|
||||
|
||||
(https://github.com/prometheus/mysqld_exporter)[https://github.com/prometheus/mysqld_exporter]
|
||||
|
||||
## Required Grants
|
||||
|
||||
```mysql
|
||||
CREATE USER 'exporter'@'localhost' IDENTIFIED BY 'XXXXXXXX' WITH MAX_USER_CONNECTIONS 3;
|
||||
GRANT PROCESS, REPLICATION CLIENT, SELECT ON *.* TO 'exporter'@'localhost';
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user