| 224 | The following apache configuration was carried across from the old live server, in the default VirtualHost in /usr/local/etc/apache22/httpd.conf: |
| 225 | |
| 226 | {{{ |
| 227 | <Location /server-status> |
| 228 | SetHandler server-status |
| 229 | Order deny,allow |
| 230 | Deny from all |
| 231 | Allow from transitiontowns.gaiahost.coop localhost 127.0.0.1 67.217.100.68 67.217.100.83 |
| 232 | </Location> |
| 233 | |
| 234 | ExtendedStatus On |
| 235 | }}} |
| 236 | |
| 237 | And this was tested using wget: |
| 238 | |
| 239 | {{{ |
| 240 | wget http://127.0.0.1:80/server-status?auto -O server-status.txt |
| 241 | }}} |
| 242 | |
| 243 | The p5-libwww was installed so munin could access the server-status and the following was added to /usr/local/etc/munin/plugin-conf.d/plugins.conf: |
| 244 | |
| 245 | {{{ |
| 246 | [apache_*] |
| 247 | env.url http://127.0.0.1:%d/server-status?auto |
| 248 | env.ports 80 |
| 249 | }}} |
| 250 | |