12-7
User Guide for Cisco Security MARS Local Controller
78-17020-01
Chapter 12 Configuring Web Server Devices
Apache Web Server on Solaris or RedHat Linux
Apache Web Server on Solaris or RedHat Linux
Sun Java System Web Server on Solaris
Note
The Sun Java System Web Sever was formerly known by the following product names: Netscape
Enterprise Server, iPlanet Web Server, and Sun ONE Web Server,
Generic Web Server Generic
You can add computers running Solaris or Linux to MARS as reporting devices. The computer needs to
run an opensource agent that sends web log data to MARS.
Solaris or Linux-side Configuration
Cisco provides an opensource logging agent and an associated configuration file for you to use. This
agent can be downloaded from the software download center at the following URL:
http://www.cisco.com/cgi-bin/tablebuild.pl/cs-mars-misc
Note
Synchronize clocks of the UNIX or Linux system and the MARS to ensure times match between them.
Install and Configure the Web Agent on UNIX or Linux
For MARS to recieve logs from a webserver, you must install the Web agent, (agent.pl version 1.1) on
the target webserv and direct the agent to publish logs to the MARS Appliance.
Note
Before you install the agent, you must have
perl
and
curl
installed on your system.
To install the agent on a UNIX or Linux hosts, follow these steps:
Step 1
Log into the host as the root user.
Step 2
Create a directory called
/opt/webagent
.
Step 3
Copy the files
agent.pl
and
webagent.conf
to the
/opt/webagent
directory.
Step 4
Set the protection of the agent script (
agent.pl
) so it can be read and executed by all:
cd /opt/webagent
chmod 755 agent.pl
Step 5
Edit the configuration file (
weblogagent.conf
):
logfile_location =
access_log_path
MARS_ip_port =
MARS_ip_address
username = a