Commit f06e5dc4 authored by Wágner Ferenc's avatar Wágner Ferenc
Browse files

Activate Munin plugins for Apache measurements

parent 3575ca66
......@@ -20,7 +20,13 @@
- nss_cn:
- list_domain:
- munin_extra_packages:
- munin-plugins-apache
- munin_custom_plugins:
apache_accesses: apache_accesses
apache_volume: apache_volume
apache_process_detail: apache_process_detail
entropy: entropy
exim_mailstats: exim_mailstats
exim_mailqueue: exim_mailqueue
......@@ -61,3 +61,13 @@
owner: root
group: root
mode: 0644
- name: Configure Munin plugins
become: yes
src: apache.ansible
dest: /etc/munin/plugin-conf.d/apache.ansible
owner: root
group: root
mode: 0644
notify: Restart munin-node
env.url https://{{ list_domain }}:%d/server-status?auto
env.ports 443
env.url https://{{ list_domain }}/server-status?auto
......@@ -53,6 +53,14 @@ LoadModule dir_module /usr/lib/apache2/modules/
LoadModule headers_module /usr/lib/apache2/modules/
Header always set Strict-Transport-Security "max-age=63072000; includeSubDomains"
# Munin plugins
LoadModule status_module /usr/lib/apache2/modules/
LoadModule authz_host_module /usr/lib/apache2/modules/
<Location /server-status>
SetHandler server-status
Require local
## ports.conf:
Listen 443
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment