LDAP Proxy monitors the various LDAP operations performed by the listeners and back-end servers, including the number of Bind requests received by listeners, the number of Bind requests received by back-end servers, and the number of Search requests encountered by back-end servers.
To obtain this monitored events data, LDAP Proxy enables you to configure the monitor policy that defines log files.
The <proxy-stat-log-config> node in the configuration file specifies the monitoring policy, such as the file-size limit of the log file being created and also the time interval for updating log files. However, this is an optional configuration.
The following is a sample <proxy-stat-log-config> node configuration:
<proxy-stat-log-config> <logfile-size-limit>102400</logfile-size-limit> <log-interval>120</log-interval> </proxy-stat-log-config>
To configure the stat log:
Open the nlpconf.xml file from the /etc/opt/novell/ldapproxy/conf directory in any XML editor.
Create an instance similar to the sample configuration. This <proxy-stat-log-config> node must be defined after the <proxy-audit-config> node in the configuration file.
Specify the following:
<logfile-size-limit>: The maximum size of the log file in kilobytes (KB). The default file size is 102400.
<log-interval>: The time interval, in seconds, to log monitoring information. The default value is 60, which is also the minimum value that you can set.
Save the nlpconf.xml file.