apache: add Munin configuration for Apache server-status URL
This commit is contained in:
parent
6fadd4edb1
commit
41c1ed5a70
|
@ -11,6 +11,7 @@ The **patch** part changes incrementally at each release.
|
|||
## [Unreleased]
|
||||
|
||||
### Added
|
||||
* apache: add Munin configuration for Apache server-status URL
|
||||
* evomaintenance: database variables must be set or the task fails
|
||||
* redis: Configure munin when working in instance mode
|
||||
* redis: add a variable to disable the restart handler
|
||||
|
@ -22,7 +23,7 @@ The **patch** part changes incrementally at each release.
|
|||
### Fixed
|
||||
* nginx: Munin url config is now a template to insert the server-status prefix
|
||||
* redis: In instance mode, ensure to replace the nrpe check_redis with the instance check script
|
||||
* redis: Don't set the owner of /var/{lib,log}/redis to a redis instance account
|
||||
* redis: Don't set the owner of /var/{lib,log}/redis to a redis instance account
|
||||
* nagios-nrpe: check_process now return the error code (making the check more usefull than /bin/true)
|
||||
|
||||
### Security
|
||||
|
|
|
@ -39,3 +39,17 @@
|
|||
dest: /var/www/index.html
|
||||
regexp: '__SERVERSTATUS_SUFFIX__'
|
||||
replace: "{{ apache_serverstatus_suffix }}"
|
||||
|
||||
- name: Munin configuration has a section for apache
|
||||
lineinfile:
|
||||
dest: /etc/munin/plugin-conf.d/munin-node
|
||||
line: "[apache_*]"
|
||||
create: no
|
||||
|
||||
- name: apache-status URL is configured for Munin
|
||||
lineinfile:
|
||||
dest: /etc/munin/plugin-conf.d/munin-node
|
||||
line: "env.url http://127.0.0.1/server-status-{{ apache_serverstatus_suffix }}?auto"
|
||||
regexp: "env.url http://127.0.0.1/server-status"
|
||||
insertafter: "[apache_*]"
|
||||
create: no
|
||||
|
|
Loading…
Reference in New Issue