12-8
User Guide for Cisco Security MARS Local Controller
78-17020-01
Chapter 12 Configuring Web Server Devices
Generic Web Server Generic
password = b
Where the following values are provided:
•
access_log_path
identifies the absolute path name to the web server’s access log
•
MARS_ip_address
is the IP address of the MARS Appliance
You do not need to edit the username or password in the file.
Note
You need a separate
weblogagent.conf
file for each access log you want to pull. We recommend
naming them
weblogagent1.conf
,
weblogagent2.conf
, and so forth. Put these in the
/opt/webagent
directory also.
To run the agent using a configuration file other than
weblogagent.conf
, use the command:
agent.pl
other_config_file
replacing
other_config_file
with the name of the web agent configuration file.
Step 6
Edit the crontab file to push the logs to the MARS at regular intervals. The following example gets new
entries from the access log and pushes them to MARS every five minutes:
crontab -e
5,10,15,20,25,30,35,40,45,50,55,0 * * * *
(cd /opt/webagent;./agent.pl weblogagent1.conf)
5,10,15,20,25,30,35,40,45,50,55,0 * * * *
(cd /opt/webagent;./agent.pl weblogagent2.conf)
Web Server Configuration
To configure the Apache web server for the agent
Step 1
In the file
httpd.conf
, make sure the LogFormat is either common or combined
and
matches the
format set on the MARS.
Step 2
Stop and restart the Apache server for your changes to take effect.
To configure the iPlanet web server for the agent
Step 1
In the iPlanet server administration tool, click the
Preferences tab
.
Step 2
In the left menu, click the
Logging Options
link.
Step 3
Make sure the
Log File
matches the log file name set on the MARS.
Step 4
Make sure the
Format
radio button
Use Common Logfile Format
is checked.
Step 5
If you have made any changes, click
OK
.
Step 6
If necessary, shut down and restart the iPlanet web server.
Содержание CS-MARS-20-K9 - Security MARS 20
Страница 20: ...Contents xx User Guide for Cisco Security MARS Local Controller 78 17020 01 ...
Страница 356: ...17 16 User Guide for Cisco Security MARS Local Controller 78 17020 01 Chapter 17 Network Summary Summary Page ...
Страница 420: ...20 28 User Guide for Cisco Security MARS Local Controller 78 17020 01 Chapter 20 Queries and Reports Reports ...
Страница 580: ...Glossary GL 4 User Guide for Cisco Security MARS Local Controller 78 17020 01 ...