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

Re: Monitor Backend



> Dieter Kluenter wrote:
>> I don't know wether 2.0.25 supports the Monitor Backend but to try,
>> just add a new database directive to your slapd.conf
>> database monitor
>> and try ldapsearch -b "cn=monitor"
>>
>>
>> -Dieter
>>
>
> this works for me with openldap 2.1.11, but I don't see any valuable
> information about monitoring in there !?
> could you give an example of a ldapseach query with interesting value
> returned .

The interesting thing is that by reading with
-b "<some valid rdn>,cn=monitor" -s base
you do not incur in the overhead of the earlier
"cn=monitor" implementation, and you have a finer
grain monitoring of slapd's subsystems: you can
see, for instance, what listeners are active,
what databases of what backend type serve what
naming contexts and so.  Feel free to suggest
improvements (e.g. more significant info in a
more practical form or with a better defined schema).
One nice feature is that you can write (yes!)
to the "cn=Log" subsystem via ldapmodify to change
the loglevel runtime.
To this extent back-monitor should be considered
experimental, that is it will evolve based on user
needs (and consensus).  At present it simply does
a bit more than the earlier implementation in
a more versatile way.

P.M.

-- 
Pierangelo Masarati
mailto:pierangelo.masarati@sys-net.it