Enable monitoring in ldap.
It is a prerequisite that the OpenLDAP monitoring module is enabled and configured.
Check if your monitoring module is enabled in your OpenLDAP installation:
ldapsearch -Y EXTERNAL -H ldapi:/// -b "cn=module{0},cn=config"
IfolcModuleLoad: {1}back_monitor is included in the response, the monitoring module is enabled. You can skip to step 3.
To enable the monitoring module, create an module_monitoring.ldif file