I would like to see how many connections openldap is serving on a given momment. I am trying this:
sioux@gustav$ ldapsearch -LLL -W -D cn=oldap,dc=ufv,dc=br -b cn=current,cn=connections,cn=monitor -H ldap://gustav.cpd.ufv.br/ objectclass=* Enter LDAP Password: dn: cn=Current,cn=Connections,cn=Monitor objectClass: monitorCounterObject cn: Current
sioux@gustav$
I cannot see the number of connections. Where is my mistake ?
Thanks a lot.
--On Wednesday, June 29, 2011 5:05 PM -0300 Friedrich Locke friedrich.locke@gmail.com wrote:
I would like to see how many connections openldap is serving on a given momment. I am trying this:
sioux@gustav$ ldapsearch -LLL -W -D cn=oldap,dc=ufv,dc=br -b cn=current,cn=connections,cn=monitor -H ldap://gustav.cpd.ufv.br/ objectclass=* Enter LDAP Password: dn: cn=Current,cn=Connections,cn=Monitor objectClass: monitorCounterObject cn: Current
sioux@gustav$
I cannot see the number of connections. Where is my mistake ?
You didn't request the operational attributes back. Try adding "+" to your search.
--Quanah
--
Quanah Gibson-Mount Sr. Member of Technical Staff Zimbra, Inc A Division of VMware, Inc. -------------------- Zimbra :: the leader in open source messaging and collaboration
Am Wed, 29 Jun 2011 17:05:15 -0300 schrieb Friedrich Locke friedrich.locke@gmail.com:
I would like to see how many connections openldap is serving on a given momment. I am trying this:
sioux@gustav$ ldapsearch -LLL -W -D cn=oldap,dc=ufv,dc=br -b cn=current,cn=connections,cn=monitor -H ldap://gustav.cpd.ufv.br/ objectclass=* Enter LDAP Password: dn: cn=Current,cn=Connections,cn=Monitor objectClass: monitorCounterObject cn: Current
sioux@gustav$
I cannot see the number of connections. Where is my mistake ?
Most of monitor attribute types are operational, the attribute type that stores information on connections is monitorCounter.
-Dieter
openldap-technical@openldap.org