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

Re: Setting up Monitor Backend



Nevermind I was forgetting the "+" to my search.

Thanks
Len



On Thu, Jul 31, 2014 at 3:52 PM, Leonard Smith <lrsmith@umich.edu> wrote:
To all,

I'm trying to setup the monitoring backend so I can get metrics in OpenLDAP 2.4.23 on Centos 6. I have it setup and I can query but I don't seem to be getting any metrics/values. I check the olcAccess rules and it should be allowing access so I"m not sure why I cannot see any values for any of the monitoring points.


sh-4.1# ldapsearch -Y EXTERNAL -H ldapi:/// -b 'cn=Total,cn=Connections,cn=Monitor'
SASL/EXTERNAL authentication started
SASL username: gidNumber=0+uidNumber=0,cn=peercred,cn=external,cn=auth
SASL SSF: 0
# extended LDIF
#
# LDAPv3
# base <cn=Total,cn=Connections,cn=Monitor> with scope subtree
# filter: (objectclass=*)
# requesting: ALL
#

# Total, Connections, Monitor
dn: cn=Total,cn=Connections,cn=Monitor
objectClass: monitorCounterObject
cn: Total

# search result
search: 2
result: 0 Success

# numResponses: 2
# numEntries: 1

dn: olcDatabase={1}monitor
objectClass: olcDatabaseConfig
olcDatabase: {1}monitor
olcAddContentAcl: FALSE
olcLastMod: TRUE
olcMaxDerefDepth: 15
olcReadOnly: FALSE
olcSyncUseSubentry: FALSE
olcMonitoring: FALSE
structuralObjectClass: olcDatabaseConfig
entryUUID: 4313fd2c-b0ec-1032-8c14-c907d74f027d
creatorsName: cn=config
createTimestamp: 20130913181549Z
olcAccess: {0}to * by dn.base="gidNumber=0+uidNumber=0,cn=peercred,cn=external,cn=auth" read by dn.base="cn=manager
,dc=foo,dc=com" read by dn.base="cn=monitor,dc=foo,dc=com" read by * none