Copying restrictions apply. See COPYRIGHT/LICENSE.
$OpenLDAP$
To inspect all monitor information, issue a subtree search with base cn=Monitor, requesting that attributes "+" and "*" are returned. The monitor backend produces mostly operational attributes, and LDAP only returns operational attributes that are explicitly requested. Requesting attribute "+" is an extension which requests all operational attributes.
As opposed to most databases, the monitor database can be instantiated only once, i.e. only one occurrence of "database monitor" can occur in the slapd.conf (5) file. Moreover, the suffix of the database cannot be explicitly set by means of the suffix directive. The suffix is automatically set to "cn=Monitor".
The
monitor database honors the
rootdn and the
rootpw directives, and the usual ACL directives, e.g. the
access directive.
.LP
The following directives can be used:
.TP
.BI l <locality>
The additional argument <locality>,
a string, is added to the "cn=Monitor" entry as value of the
.B l
attribute (Note: this may be subjected to changes).
Other database options are described in the slapd.conf (5) manual page.
1) enable the monitor backend at configure:
configure --enable-monitor
2) activate the monitor database in the slapd.conf(5) file:
database monitor
3) add ACLs as detailed in slapd.access(5) to control access to the database, e.g.:
access to dn.subtree="cn=Monitor" by dn.exact="uid=Admin,dc=my,dc=org" write by users read by * none
4) ensure that the core.schema file is loaded. The monitor backend relies on some standard track attributeTypes that must be already defined when the backend is started.
ETCDIR/slapd.conf default slapd configuration file