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

Re: (ITS#5051) Translucent overlay and back-monitor



<quote who="Pierangelo Masarati">
> Gavin Henry wrote:
>
>> OK, thanks. Do you have any reference for custom monitoring examples?
>
> Not sure what you mean.  By "custom monitoring" I mean that pieces of
> code may register callbacks in back-monitor to enrich the monitor
> entries with dynamically generated data.  Right now, the only code that
> exploits this functionality is back-bdb/back-hdb, but it's something we
> use intensively for custom modules we develop (the monitor database can
> be proficiently used as an interface for non-persistent interaction with
> the DSA).

Ah, right. Sorry, I misunderstood custom as something done via
configuration in the front end, not via callbacks.

>
> With reference to code, see servers/slapd/back-bdb/monitor.c (the API is
> implemented in servers/slapd-back-monitor/init.c).

Will do, sounds very useful indeed.

>
> What back-bdb/hdb publishes by means of this API is not documented,
> AFAIK; it might be worth mentioning somewhere in the docs, as this
> monitoring could be quite useful for tuning.  Nothing that cannot be
> accessed thru db_stat, the advantage is access via LDAP protocol.

Exactly, sounds very useful and one that I can investigate and document in
the Monitoring section, with implementation examples (not code) in the
Tuning and Maintenance sections of our guide.

>
> A recent addition was the capability to monitor what unindexed
> attributes were used in searches.

Yeah, I commented on that previously. Nice.

Gavin.

>
> p.
>
>
>
> Ing. Pierangelo Masarati
> OpenLDAP Core Team
>
> SysNet s.r.l.
> via Dossi, 8 - 27100 Pavia - ITALIA
> http://www.sys-net.it
> ---------------------------------------
> Office:  +39 02 23998309
> Mobile:  +39 333 4963172
> Email:   pierangelo.masarati@sys-net.it
> ---------------------------------------
>
>
>