User Tools

Site Tools


apache_graphs_-_configuration

Apache graphs - configuration

Apache workers - last 48 hours:

Apache scoreboard - last 48 hours:

Bijk - Apache settings

For Debian:

1) Open the following file: /etc/apache2/apache2.conf

2) Find the line containing: <Location /server-status>

3) Uncomment the whole section until you reach the following line: </Location>

4) Domain: raplace “.example.com” with the following IP address: “127.0.0.1”

5) Restart your apache server

/etc/init.d/apache2 restart

For Ubuntu:

1) Open the following file: /etc/apache2/apache2.conf

2) Find the line containing: <Location /server-status> (If you don't find this line, try it in /etc/apache2/mods-enabled/status.conf)

3) Uncomment whole section until you reach the following line: </Location>

4) On the line which begins with “Allow from”, add the following IP address: “127.0.0.1”

5) Restart your apache server

/etc/init.d/apache2 restart

You need to have the module mod_status.c installed.

This module is included with Apache2 in Debian and Ubuntu by default.

You can check your previous changes with:

links http://127.0.0.1/server-status?auto

or:

lynx http://127.0.0.1/server-status?auto

If your Apache2 does not listen to the localhost IP on a standard port (127.0.0.1:80 or 0.0.0.0:80 - you can check with command “netstat -tlpn | grep apache”), you will have to do the following:

1) Edit /etc/bijk/plugins.yml, and add/change the following node (other and default are simply instance names):

apache:
    default: http://YOUR_IP:YOUR_PORT/server-status?auto

2) Restart Bijk-node:

/etc/init.d/bijk-node restart

3) Add the primary IP address of your server to the “<Location /server-status>” section of your Apache configuration file and restart the Apache server.

apache_graphs_-_configuration.txt · Last modified: 2012/02/07 15:45 by woky