PDA

View Full Version : Apache Monitoring


chatwizrd
10-20-2005, 04:21 PM
Is there a way I can monitor apache. My apache has risen in load averages. I want to find out if its a ddos attempt or something else. Is there a way to monitor what is going on?

I want to know the reason that it is raising in usage.

squirrelhost
10-20-2005, 04:55 PM
mrtg, access logs, monitor running processes,...

cyril
10-21-2005, 05:51 AM
The best way of checking what your Apache processes are doing is using server-status:

Edit your httpd.conf and add the following:

<Location /server-status>
SetHandler server-status
Order deny,allow
Deny from all
Allow from <your IP address>
</Location>

Reload apache and access with http://<your IP address>/server-status

Cyril
Prioserve Webhosting (http://www.prioserve.nl)

jerry2005
10-21-2005, 07:40 AM
What cyril is saying is not enhoug , look in this topic:

http://www.directadmin.com/forum/showthread.php?s=&threadid=1650&highlight=apache+monitoring

chatwizrd
10-21-2005, 06:33 PM
Ok I have server-status setup. Is this the best way to keep eye on things. I had about 20 processes running today at 100% cpu with someone attempting to run a ps though perl.

I just want to keep my system as secure as possible.