 |
Snare Agent for Apache Web Servers
Snare for Apache provides a remote distribution facility for Apache web server logs, and is known to run on most Unix variations, including Linux, Solaris, AIX, Tru64, and Irix.
Snare for Apache can be used to send data to either a remote or local SYSLOG server, or the Snare Server for centralised collection, analysis, and archival.
Snare for Apache is available under the terms of the GNU Public Licence.
|
|

Snare for Apache Running, with Snare Server in the background
|
|
|
Install the snaretext binary in the directory /usr/bin
- tar czf snaretext-1.1.tar.gz;cd snaretext-1.1;make install, or
- rpm -Uvh http://www.intersectalliance.com/projects/SnareApache/Downloads/snaretext-1.1-1.i386.rpm
Add a 'CustomLog' directive to your httpd.conf file as follows:
CustomLog "|/usr/bin/snaretext 10.0.0.3 ApacheLog" combined
(Substitute '10.0.0.3' for your target server name or IP address)
If you wish to send the data to a syslog server, use the '-s' flag as follows:
CustomLog "|/usr/bin/snaretext -s local1.info 10.0.0.3 ApacheLog" combined
(Substitute local1.info for your target syslog facility/priority combination)
|
|
|
|
Like to keep up to date with Snare releases? Sourceforge offer an email notification service that will send you an email each time we release a new version of Snare. Click here to set this up.
|