PingDirectory

New monitor entries

Two new monitor entries are present for a backend monitor entry.

Administrators see the following additional monitor entries on cn=userRoot Backend,cn=monitor:

ds-soft-delete-entry-operations-count

Displays the number of soft deletes performed on the backend since server startup.

ds-undelete-operations-count

Displays the number of undeletes performed on the backend since server startup.

ds-backend-soft-deleted-entry-count

Displays the current number of soft-deleted entries in the database.

ds-auto-purged-soft-deleted-entry-count

Displays the current number of soft-deleted entries purged since the backend or server was restarted.

Monitoring soft deletes

Monitor soft deletes using the ldapsearch command.

Steps

  • Run ldapsearch on the cn=userRoot Backend,cn=monitor branch using a search criteria targeting the ds-backend-monitor-entry object class.

    Example:

    $ bin/ldapsearch --baseDN "cn=userRoot Backend,cn=monitor" \
      --searchScope sub "(objectclass=ds-backend-monitor-entry)"

    Result:

    dn: cn=userRoot Backend,cn=monitor
    objectClass: top
    objectClass: ds-monitor-entry
    objectClass: ds-backend-monitor-entry
    objectClass: extensibleObject
    cn: userRoot Backend
    ds-backend-id: userRoot
    ds-backend-base-dn: dc=example,dc=com
    ds-backend-is-private: FALSE
    ds-backend-entry-count: 200001
    ds-backend-soft-deleted-entry-count: 1000
    ds-soft-delete-operations-count: 40
    ds-undelete-operations-count: 20
    ds-auto-purged-soft-deleted-entry-count: 0
    ds-base-dn-entry-count: 200001 dc=example,dc=com
    ds-backend-writability-mode: enabled