[OPENDJ-554] Operation stats do not all get updated Created: 27/Jul/12  Updated: 08/Nov/19  Resolved: 30/Jul/12

Status: Done
Project: OpenDJ
Component/s: core server
Affects Version/s: 2.6.0, 2.4.6
Fix Version/s: 2.6.0

Type: Bug Priority: Minor
Reporter: Chris Ridd Assignee: Chris Ridd
Resolution: Fixed Votes: 0
Labels: None
Environment:

opendmk-1.0-b02-bin-dual-01-Oct-2007_19-17-46.jar


Dev Assignee: Chris Ridd

 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


 Comments   
Comment by Matthew Swift [ 07/Nov/19 ]

Moved to closed state because the fixVersion has already been released.

Generated at Mon Oct 26 19:31:46 UTC 2020 using Jira 7.13.12#713012-sha1:6e07c38070d5191bbf7353952ed38f111754533a.