Chapter 13.

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.

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.

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:

431

Page 451
Image 451
HP UX Red Hat Direry Server Software manual Viewing and Configuring Log Files, Defining a Log File Rotation Policy