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

Re: Monitor configuration... also for the manual



Arno Lehmann wrote:
> Hi all,
> 
> I'm currently in the process of migrating LDAP data from a really outdated system to something a bit fresher. So, I started with the OpenLDAP as provided by
> Debian, and learned that a good part of the system management knowledge I had is outdated. So, I stared reading TFM.
> 
> ... and stumbled over the section where I wanted to learn how to set up monitoring with the cn=config configuration scheme.
> 
> 
> Naturally, that was exactly the incentive I needed to actually start giving back something to the community. So, I ended up playing around a bit and googling a
> bit and scratching my head a lot, taking notes, and came up with something you might want to add into the manual -- see below.
> 
> Unfortunately, the whole thing did not exactly work out as I intended, because the crucial step insists on failing. Namely, trying to create a monitor database
> fails, indicating there already is one in existence. However, I can't find any such beast:
> 
> root@host:~/ldap# ldapsearch -Q -LLL -H ldapi:/// -Y EXTERNAL -b 'cn=config' '(|(olcDatabase=monitor)(objectClass=olcMonitorConfig))'
> root@host:~/ldap#

Did you try searching to see if cn=monitor is actually there?

-- 
  -- Howard Chu
  CTO, Symas Corp.           http://www.symas.com
  Director, Highland Sun     http://highlandsun.com/hyc/
  Chief Architect, OpenLDAP  http://www.openldap.org/project/