nginx: Munin url config is now a template to insert the server-status prefix

This commit is contained in:
Ludovic Poujol 2018-12-05 16:25:48 +01:00
parent 69d9b949e2
commit c9ba37614c
4 changed files with 4 additions and 3 deletions

View file

@ -15,6 +15,7 @@ The **patch** part changes incrementally at each release.
### Changed
### Fixed
* nginx: Munin url config is now a template to insert the server-status prefix
### Security

View file

@ -1,2 +0,0 @@
[nginx_*]
env.url http://munin/nginx_status

View file

@ -1,7 +1,7 @@
---
- name: Copy Munin config for Nginx
copy:
template:
src: munin/evolinux.nginx
dest: /etc/munin/plugin-conf.d/
mode: "0644"

View file

@ -0,0 +1,2 @@
[nginx_*]
env.url http://munin/nginx_status-{{ nginx_serverstatus_suffix }}