Browse Source

mysql: Munin must use the debian-sys-maint user

log2mail-beats
Jérémy Lecour 2 months ago
parent
commit
1e3ac40167
1 changed files with 8 additions and 0 deletions
  1. +8
    -0
      mysql/tasks/munin.yml

+ 8
- 0
mysql/tasks/munin.yml View File

@@ -57,6 +57,14 @@
- tmp_tables
notify: restart munin-node

- name: verify Munin configuration for mysql
replace:
dest: /etc/munin/plugin-conf.d/munin-node
after: '\[mysql\*\]'
regexp: '^env.mysqluser (.+)$'
replace: 'env.mysqluser debian-sys-maint'
notify: restart munin-node

when: munin_node_plugins_config.stat.exists
tags:
- mysql


Loading…
Cancel
Save