Chapter 13.
373
Monitoring Server and Database
Activity
This chapter describes monitoring database and Red Hat Directory Server logs. For information on
using SNMP to monitor the Directory Server, see
Chapter 14, Monitoring Directory Server Using
SNMP
.
13.1. Viewing and Configuring Log Files
Directory Server provides three types of logs to help better manage the directory and tune
performance. There are three types of logs:
• Access
• Errors
• Audit
For all types of logs, the log
creation
and log
deletion
policies have to be configured. The log creation
policy sets when a new log file is started, and the log deletion policy sets when an old log file is
deleted. The following sections describe how to define the log file creation and deletion policy and how
to view and configure each type of log.
NOTE
When the server is not running, the log files cannot be viewed in the Directory Server
Console, but they can be viewed in the Admin Express. Open the Administration Server
URL in a browser:
http://hostname:admin_server_port
Then log in with the admin login ID and password, and click the link for
Administration
Express
.
13.1.1. Defining a Log File Rotation Policy
For the directory to archive the current log periodically and start a new one, define a log file rotation
policy in the Directory Server Console. The log file rotation policy has the following configuration
parameters:
•
The access mode or file permissions with which log files are to be created.
The default value is
600
.
The valid values are any combination of
000
to
777
, as they mirror
numbered
or
absolute
UNIX file
permissions. This value must be a combination of a 3-digit number, the digits varying from
0
through
7
:
0
— None
1
— Execute only
2
— Write only
Summary of Contents for DIRECTORY SERVER 8.0
Page 18: ...xviii ...
Page 29: ...Configuring the Directory Manager 11 6 Enter the new password and confirm it 7 Click Save ...
Page 30: ...12 ...
Page 112: ...94 ...
Page 128: ...110 ...
Page 190: ...Chapter 6 Managing Access Control 172 4 Click New to open the Access Control Editor ...
Page 224: ...206 ...
Page 324: ...306 ...
Page 334: ...316 ...
Page 358: ...340 ...
Page 410: ...392 ...
Page 420: ...402 ...
Page 444: ...426 ...
Page 454: ...436 ...
Page 464: ...446 ...
Page 484: ...466 ...
Page 512: ...494 ...
Page 522: ...504 ...