[Date Prev][Date Next] [Chronological] [Thread] [Top]

(ITS#9164) back-monitor returning non-requested attributes



Full_Name: Quanah Gibson-Mount
Version: 2.4.49
OS: N/A
URL: ftp://ftp.openldap.org/incoming/
Submission from: (NULL) (47.208.128.236)


The new additions to back-monitor to expose more data from back-mdb are
returning unrequested attributes.  For example:

ldapsearch -x -LLL -H ldap:/// -s base -b "cn=database
1,cn=databases,cn=monitor"
"(|(objectClass=monitorCounterObject)(objectClass=monitorOperation)(objectClass=monitoredObject))"
monitorCounter monitorOpInitiated monitorOpCompleted monitoredInfo
olmMDBPagesMax olmMDBPagesUsed olmMDBPagesFree olmMDBReadersMax
olmMDBReadersUsed olmMDBEntries


Will return:

dn: cn=Database 1,cn=Databases,cn=Monitor
monitoredInfo: mdb
monitorOverlay: dynlist
olmMDBPagesMax: 262144
olmMDBPagesUsed: 629
olmMDBPagesFree: 58
olmMDBReadersMax: 126
olmMDBReadersUsed: 2
olmMDBEntries: 1005
olmDbDirectory: /var/symas/openldap-data/example/


Note that I did not request monitorOverlay nor did I request olmDbDirectory

This appears to be because they (IMHO) incorrectly SUP monitoredInfo or
monitorCounter