openldap/servers/slapd/back-monitor
Pierangelo Masarati 5fdba27288 This is the skeleton of back-monitor, the slapd monitoring backend.
The old monitoring stuff has been removed; the new backend is
enabled by using --enable-monitor at configure time and requires

	database monitor

in slapd.conf to be activated.  At present it implements a subset
of the old monitoring options, and it should be extendable to
a number of different subsystems.  The search operation has been
implementd; it does not honor abandon or size/time limits, though.
The compare and the abandon operations are planned.

Copyright Pierangelo Masarati <ando@sys-net.it>; the code is provided
AS IS with NO GUARANTEE.  It can be used and distributed under the
conditions stated by the OpenLDAP Public License.
2001-07-14 17:34:24 +00:00
..
abandon.c This is the skeleton of back-monitor, the slapd monitoring backend. 2001-07-14 17:34:24 +00:00
back-monitor.h This is the skeleton of back-monitor, the slapd monitoring backend. 2001-07-14 17:34:24 +00:00
backend.c This is the skeleton of back-monitor, the slapd monitoring backend. 2001-07-14 17:34:24 +00:00
cache.c This is the skeleton of back-monitor, the slapd monitoring backend. 2001-07-14 17:34:24 +00:00
compare.c This is the skeleton of back-monitor, the slapd monitoring backend. 2001-07-14 17:34:24 +00:00
conn.c This is the skeleton of back-monitor, the slapd monitoring backend. 2001-07-14 17:34:24 +00:00
Copyright This is the skeleton of back-monitor, the slapd monitoring backend. 2001-07-14 17:34:24 +00:00
database.c This is the skeleton of back-monitor, the slapd monitoring backend. 2001-07-14 17:34:24 +00:00
dummy.c This is the skeleton of back-monitor, the slapd monitoring backend. 2001-07-14 17:34:24 +00:00
entry.c This is the skeleton of back-monitor, the slapd monitoring backend. 2001-07-14 17:34:24 +00:00
external.h This is the skeleton of back-monitor, the slapd monitoring backend. 2001-07-14 17:34:24 +00:00
init.c This is the skeleton of back-monitor, the slapd monitoring backend. 2001-07-14 17:34:24 +00:00
Makefile.in This is the skeleton of back-monitor, the slapd monitoring backend. 2001-07-14 17:34:24 +00:00
proto-back-monitor.h This is the skeleton of back-monitor, the slapd monitoring backend. 2001-07-14 17:34:24 +00:00
README This is the skeleton of back-monitor, the slapd monitoring backend. 2001-07-14 17:34:24 +00:00
rww.c This is the skeleton of back-monitor, the slapd monitoring backend. 2001-07-14 17:34:24 +00:00
search.c This is the skeleton of back-monitor, the slapd monitoring backend. 2001-07-14 17:34:24 +00:00
thread.c This is the skeleton of back-monitor, the slapd monitoring backend. 2001-07-14 17:34:24 +00:00

back-monitor

Backend for monitoring the server's activity.  It must be explicitly
enabled by configuring with `--enable-monitor' set; then it must be
activated by placing in slapd.conf the configure directive

database	monitor

The suffix "cn=Monitor" is implicitly activated (it cannot be given
as a suffix of the database as usually done for conventional backends).

The backend root is "cn=Monitor"; the first level entries represent
the monitored subsystems.  It is being implemented in a modular way,
to ease the addition of new subsystems.
All the subsystems get a default "cn" attribute, represented by the
subsystem's name, and they all have "top", "LDAPsubEntry" and
"monitorSubEntry" objectclasses (the latter has not been defined yet,
pending the design of the monitor schema and its registration under
OpenLDAP's OID).
Most of the sybsystems contain an additional depth level, represented
by detailed item monitoring.
All the entries undergo an update operation, if a related method is
defined, prior to being returned.  Moreover, there's a mechanism to
allow volatile entries to be defined, and generated on the fly when
requested.  As an instance, the connection statistics are updated
at each request, while each active connection data is created on the
fly.

This document is in a very early stage of maturity and will probably 
be rewritten many times before the monitor backend is released.

Author:	Pierangelo Masarati <ando@OpenLDAP.org>