Monitoring Server And Database Activity; Viewing And Configuring Log Files; Defining A Log File Rotation Policy - Red Hat DIRECTORY SERVER 8.0 - ADMINISTRATION Administration Manual

Hide thumbs Also See for DIRECTORY SERVER 8.0 - ADMINISTRATION:
Table of Contents

Advertisement

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
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
Chapter 14, Monitoring Directory Server Using
373

Advertisement

Table of Contents
loading

Table of Contents