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

Re: Back-monitor usage - no attribute data

On Thu, Mar 17, 2005 at 10:05:47AM -0600, Fortin, John {PBG} wrote:
> I'm stumped...  We want to use back-monitor to get some usage data for
> OpenLDAP 2.2.23 (with transaction patches).  The monitor backend seems to be
> working except that I get no useful data.  I get entries like the following:
> ldapsearch -x -D "cn=XXXXXXX,dc=pbg,dc-com" -b "cn=monitor" -s sub  -H
> ldap:/// -W

Add a '+' (quoted as necessary for your shell) to retrieve the
operational attributes:

dh3@acheron:~$ ldapsearch -x -b "cn=monitor" -s sub -H ldap://ldap/ '+'
# PDU, Statistics, Monitor
dn: cn=PDU,cn=Statistics,cn=Monitor
structuralObjectClass: monitorCounterObject
createTimestamp: 20050311164136Z
modifyTimestamp: 20050311164136Z
monitorCounter: 346916
subschemaSubentry: cn=Subschema
hasSubordinates: FALSE

** Dave Holland ** Systems Support -- Special Projects Team **
** 01223 494965 ** Sanger Institute, Hinxton, Cambridge, UK **
"Where's your sense of adventure?"  "It's out there, roaming the countryside."