I have worked on looked for help to configure and use slapd monitor abilities under redhat 6 with no success.
Here is my monitor section :
cat /etc/openldap/slapd.d/cn=config/olcDatabase={2}monitor.ldif
dn: olcDatabase={2}monitor,cn=config objectclass: olcDatabaseConfig olcaccess: {0}to * by dn.exact=”cn=Manager,dc=exemple,dc=fr” by * none olcaddcontentacl: FALSE olcdatabase: {2}monitor olclastmod: TRUE olcmaxderefdepth: 15 olcmonitoring: FALSE olcreadonly: FALSE olcsyncusesubentry: FALSE ….
slapd runs and respond : # ldapsearch -x -D ‘cn=Manager,dc=exemple,dc=fr’ -W -b ‘olcDatabase={2}monitor,cn=config’ -s base 1.1
# {2}monitor, config dn: olcDatabase={2}monitor,cn=config
# search result search: 2 result: 0 Success
However I can’t get any monitoring information :
$ ldapsearch -x -D ‘cn=Manager,dc=exemple,dc=fr’ -W -b ‘cn=Monitor’ -s base 1.1
# search result search: 2 result: 32 No such object
Would you have any advice to use openldap monitoring abilities ?
# cat /etc/issue Red Hat Enterprise Linux Server release 6.2 (Santiago)
# rpm -qa | grep openldap-servers openldap-servers-2.4.23-20.el6.x86_64
# slapd -VVV @(#) $OpenLDAP: slapd 2.4.23 (Oct 4 2011 07:43:22) $ mockbuild@x86-010.build.bos.redhat.com:/builddir/build/BUILD/openldap-2.4.23/openldap-2.4.23/build-servers/servers/slapd
Thanks for any help one could provide !
--- Olivier