diff options
| author | Seth Vidal <skvidal@fedoraproject.org> | 2013-06-10 18:37:08 +0000 |
|---|---|---|
| committer | Seth Vidal <skvidal@fedoraproject.org> | 2013-06-10 18:37:08 +0000 |
| commit | 84e0086aca342da961178d4ce2d3c650f2824779 (patch) | |
| tree | 3664c695e398d1f3412889226045124d628aff88 /files/httpd | |
| parent | ac6bbf9f7677753c777e562cb5f98d8fb740f237 (diff) | |
| download | ansible-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.conf | 5 | ||||
| -rw-r--r-- | files/httpd/headers.conf.j2 | 5 |
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 }}" + + |
