[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Re: Is the monitor backend writable?
- To: openldap-technical@openldap.org
- Subject: Re: Is the monitor backend writable?
- From: Ferenc Wagner <wferi@niif.hu>
- Date: Fri, 13 Feb 2015 10:13:20 +0100
- In-reply-to: <54DDCCB4020000A1000192BB@gwsmtp1.uni-regensburg.de> (Ulrich Windl's message of "Fri, 13 Feb 2015 10:06:44 +0100")
- References: <874mqqte84.fsf@lant.ki.iif.hu> <54DDCCB4020000A1000192BB@gwsmtp1.uni-regensburg.de>
- User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.4 (gnu/linux)
"Ulrich Windl" <Ulrich.Windl@rz.uni-regensburg.de> writes:
> Ferenc Wagner <wferi@niif.hu> schrieb am 13.02.2015 um 09:20 in Nachricht <874mqqte84.fsf@lant.ki.iif.hu>:
>
>> From http://www.openldap.org/faq/data/cache/358.html:
>>
>> dn: cn=Log,cn=Monitor
>> changetype: modify
>> add: managedInfo
>> managedInfo: stats
>> managedInfo: stats2
>>
>> I'm running 2.4.40 with cn=config, olcLoglevel: stats (thus I can change
>> the log level anyway), but cn=Log,cn=Monitor does not contain any
>> managedInfo attributes (at least
>>
>> $ ldapsearch -x -H ldapi:/// -D cn=monitor -W -b cn=Log,cn=Monitor managedInfo
>
> If the default isn't "-s sub", I'd add it, and did you try "monitoredInfo" instead?
Neither makes a difference. Not even -s base. Also consider this:
$ ldapsearch -LLL -x -H ldapi:/// -D cn=monitor -W -b cn=Log,cn=Monitor -s sub '*' '+'
Enter LDAP Password:
dn: cn=Log,cn=Monitor
objectClass: monitorContainer
structuralObjectClass: monitorContainer
cn: Log
creatorsName: cn=monitor
modifiersName: cn=monitor
createTimestamp: 20150128093559Z
modifyTimestamp: 20150128093559Z
description: This subsystem contains information about logging.
description: Set the attribute "managedInfo" to the desired log levels.
entryDN: cn=Log,cn=Monitor
subschemaSubentry: cn=Subschema
hasSubordinates: FALSE
--
Feri.