Skip Navigation Links | |
Exit Print View | |
Oracle Directory Server Enterprise Edition Administration Guide 11g Release 1 (11.1.1.5.0) |
Part I Directory Server Administration
2. Directory Server Instances and Suffixes
3. Directory Server Configuration
6. Directory Server Access Control
7. Directory Server Password Policy
8. Directory Server Backup and Restore
9. Directory Server Groups, Roles, and CoS
10. Directory Server Replication
13. Directory Server Attribute Value Uniqueness
15. Directory Server Monitoring
Part II Directory Proxy Server Administration
16. Directory Proxy Server Tools
17. Directory Proxy Server Instances
19. Directory Proxy Server Certificates
20. Directory Proxy Server Load Balancing and Client Affinity
21. Directory Proxy Server Distribution
22. Directory Proxy Server Virtualization
23. Virtual Data Transformations
24. Connections Between Directory Proxy Server and Back-End LDAP Servers
25. Connections Between Clients and Directory Proxy Server
26. Directory Proxy Server Client Authentication
27. Directory Proxy Server Logging
Viewing Directory Proxy Server Logs
Configuring Directory Proxy Server Logs
To Configure Directory Proxy Server Logs
To Configure Directory Proxy Server Access Log etimes Units
Configuring Directory Proxy Server Log Rotation
To Configure Periodic Log Rotation
Example Configurations for Log Rotation
Rotating the Log Based on Log Size
Rotating the Log Based on Time
Rotating the Log Based on Time and Log Size
Compressing Log Files After Rotation
Deleting Directory Proxy Server Logs
To Configure Log Deletion Based on Time
To Configure Log Deletion Based on File Size
To Configure Log Deletion Based on Free Disk Space
Logging Alerts to the syslogd Daemon
To Configure Directory Proxy Server to Log Alerts to the syslogd Daemon
Configuring the Operating System to Accept syslog Alerts
To Configure the Solaris OS to Accept syslog alerts
Tracking Client Requests Through Directory Proxy Server and Directory Server Access Logs
To Track Operations From Directory Server Through Directory Proxy Server to the Client Application
28. Directory Proxy Server Monitoring and Alerts
Part III Directory Service Control Center Administration
This section describes how to configure the logging of alert messages to the syslogd daemon and how to configure the operating system to accept syslog alerts.
You can use DSCC to perform this task. For information, see Directory Service Control Center Interface and the DSCC online help.
$ dpconf get-server-prop -h host -p port syslog-alerts-enabled \ syslog-alerts-facility syslog-alerts-host
The default properties for the system log alerts are as follows:
syslog-alerts-enabled : false syslog-alerts-facility : USER syslog-alerts-host : localhost
The syslog-alerts-host property defines the host name of the syslogd daemon to which the messages are sent. The syslog-alerts-facility property is read-only and causes messages to be sent to the user category in the system log.
$ dpconf set-server-prop -h host -p port syslog-alerts-enabled:true
$ dpconf set-server-prop -h host -p port syslog-alerts-host:hostname
This section provides instructions on configuring the Solaris, Linux, and HP-UX operating systems to accept syslog alerts.
For example, to store all alerts using the USER facility, add the following line to /etc/syslog.conf:
user.info /var/adm/info
Here /var/adm/info is an example local directory in which messages will be stored. Ensure that /var/adm/info exists before continuing.
$ /etc/init.d/syslog stop | start
$ svcadm restart system/system-log
$ logger -p user.info "Test message" $ cat /var/adm/info Jun 19 17:18:38 host user: [ID 12345 user.info] Test message
For example, to store all alerts using the USER facility, add the following line to /etc/syslog.conf:
user.info /var/adm/info
Here /var/adm/info is an example local directory in which messages will be stored. Ensure that /var/adm/info exists before continuing.
This option allows syslogd to accept connections from the network. By default, the -r option is not set.
To set the -r option, add the following line to /etc/sysconfig/syslog:
SYSLOGD_OPTIONS="-m 0 -r"
If /etc/sysconfig/syslog does not exist, add the same line to /etc/init.d/syslog.
$ /etc/init.d/syslog stop | start
$ logger -p user.info "Test message" $ cat /var/adm/info Jun 19 17:18:38 host user: [ID 12345 user.info] Test message
For example, to store all alerts using the USER facility, add the following line to /etc/syslog.conf:
user.info /var/adm/info
Here /var/adm/info is an example local directory in which messages will be stored. Ensure that /var/adm/info exists before continuing.
$ /sbin/init.d/syslogd stop | start
$ logger -p user.info "Test message" $ cat /var/adm/info Jun 19 17:18:38 host user: [ID 12345 user.info] Test message