summaryrefslogtreecommitdiffstats
path: root/files/httpd
diff options
context:
space:
mode:
authorSeth Vidal <skvidal@fedoraproject.org>2013-06-10 18:37:08 +0000
committerSeth Vidal <skvidal@fedoraproject.org>2013-06-10 18:37:08 +0000
commit84e0086aca342da961178d4ce2d3c650f2824779 (patch)
tree3664c695e398d1f3412889226045124d628aff88 /files/httpd
parentac6bbf9f7677753c777e562cb5f98d8fb740f237 (diff)
downloadansible-84e0086aca342da961178d4ce2d3c650f2824779.tar.gz
ansible-84e0086aca342da961178d4ce2d3c650f2824779.tar.xz
ansible-84e0086aca342da961178d4ce2d3c650f2824779.zip
add apache_status for collectd to apache
add appserver header to all apache instances - just b/c
Diffstat (limited to 'files/httpd')
-rw-r--r--files/httpd/apachestatus.conf5
-rw-r--r--files/httpd/headers.conf.j25
2 files changed, 10 insertions, 0 deletions
diff --git a/files/httpd/apachestatus.conf b/files/httpd/apachestatus.conf
new file mode 100644
index 000000000..747fb1a32
--- /dev/null
+++ b/files/httpd/apachestatus.conf
@@ -0,0 +1,5 @@
+ExtendedStatus on
+
+<Location /apache-status>
+ SetHandler server-status
+</Location>
diff --git a/files/httpd/headers.conf.j2 b/files/httpd/headers.conf.j2
new file mode 100644
index 000000000..a1525c20c
--- /dev/null
+++ b/files/httpd/headers.conf.j2
@@ -0,0 +1,5 @@
+Header set AppTime "%D"
+PassEnv HOSTNAME
+Header set AppServer "{{ inventory_hostname }}"
+
+