Uploaded image for project: 'OpenDJ'
  1. OpenDJ
  2. OPENDJ-554

Operation stats do not all get updated

    Details

    • Type: Bug
    • Status: Done
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.6.0, 2.4.6
    • Fix Version/s: 2.6.0
    • Component/s: core server
    • Labels:
      None
    • Environment:
      opendmk-1.0-b02-bin-dual-01-Oct-2007_19-17-46.jar

      Description

      LDAP searches cause the SNMP dsApplIfReadOps and dsApplIfSearchOps counters to be incremented. This is a bit too crude - searches should be subdivided into dsApplIfOneLevelSearchOps and dsApplIfWholeSubtreeSearchOps; I'm not sure if updating ReadOps ever makes sense for LDAP.

      This matches what we report in our LDAP connection handler statistics.

      But our network groups monitoring stats are richer:

      bin/ldapsearch --port 4444 -D "cn=Directory Manager" -w secret -b "cn=default,cn=Network Groups,cn=monitor" -X -Z "(objectclass=*)" | egrep 'dn|ds-mon.*total-count'
      dn: cn=default,cn=Network Groups,cn=monitor
      ds-mon-moddn-operations-total-count: 0
      ds-mon-add-operations-total-count: 0
      ds-mon-forwarded-referrals-total-count: Not implemented
      ds-mon-failed-referrals-total-count: Not implemented
      ds-mon-followed-referrals-total-count: Not implemented
      ds-mon-violations-schema-total-count: Not implemented
      ds-mon-abandon-operations-total-count: 0
      ds-mon-mod-operations-total-count: 0
      ds-mon-searchonelevel-operations-total-count: 2
      ds-mon-unbind-operations-total-count: 3
      ds-mon-bind-operations-total-count: 3
      ds-mon-searchsubtree-operations-total-count: 1
      ds-mon-delete-operations-total-count: 0
      ds-mon-compare-operations-total-count: 0
      ds-mon-discarded-referrals-total-count: Not implemented
      ds-mon-extended-operations-total-count: 0
      

        Attachments

          Activity

            People

            • Assignee:
              cjr Chris Ridd
              Reporter:
              cjr Chris Ridd
              Dev Assignee:
              Chris Ridd
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: