Commit Graph

42 Commits

Author SHA1 Message Date
Kurt Zeilenga
c890c96d13 Happy New Year (belated) 2008-01-08 00:19:56 +00:00
Pierangelo Masarati
06e6e6c053 apply Howard's cleanup of database monitoring registration 2007-09-15 15:34:49 +00:00
Pierangelo Masarati
226133ea38 don't add databases twice; but try as hard as possible... 2007-03-21 23:22:49 +00:00
Pierangelo Masarati
d0fe3b0890 allow adding of back-bdb with monitoring on (ITS#4789) 2007-03-21 22:35:37 +00:00
Kurt Zeilenga
da6d9eb046 happy new year 2007-01-02 20:00:42 +00:00
Pierangelo Masarati
4bbffd1d98 more cleanup; add the frontend to the set of monitored databases; handle exceptional cases a bit more smoothly 2006-09-09 02:35:58 +00:00
Pierangelo Masarati
0e385af975 - need to be able to set new subsystems when appending entire entries;
- in case we appended an entry to a yet unknown parent, we don't know
  the full DN, so unregistering needs to be possible based on the
  available data;
- complete unregister calls so that not-yet-registered stuff can be
  removed from limbo
2006-09-08 22:02:32 +00:00
Pierangelo Masarati
127ac65c44 implement support for unregistering registered stuff 2006-09-06 12:06:42 +00:00
Pierangelo Masarati
55f24ce8f6 - setup framework for monitoring of back-bdb/back-hdb stuff in their
database entry in cn=monitor
- improve support for custom attribute/callback registration
  in back-monitor
- design API for registered antry/attr/callback removal in back-monitor

HEADS UP: now back-bdb requires back-monitor to be present, either static
or dynamically loaded __before__ back-bdb/back-hdb is initialized.
This works for sure if both back-bdb & back-monitor are static or dynamic
(provided back-monitor.la is loaded before back_bdb.la); it is not clear
what happens if back-bdb is static and back-monitor is dynamic.  In case,
either make back-bdb monitoring conditional, or hardwire back-monitor
much like back-config and back-ldif.
2006-09-06 01:54:54 +00:00
Howard Chu
797cffb9b3 Add monitor_entry_stub() for creating entries. Fix conn peer/local mismatch. 2006-01-12 08:40:09 +00:00
Kurt Zeilenga
acbb5cf689 Happy new year! 2006-01-03 23:11:52 +00:00
Pierangelo Masarati
5f20374de1 reject registrations when back-monitor is not configured 2005-09-08 14:23:35 +00:00
Pierangelo Masarati
c984c229d6 plug more one-time leaks; rearrange subsystems setup 2005-08-08 20:45:10 +00:00
Pierangelo Masarati
3df83d7089 destroy cache on exit 2005-07-20 14:59:56 +00:00
Pierangelo Masarati
ea85bcadfc remove #defines moved to frontend 2005-06-05 22:58:18 +00:00
Pierangelo Masarati
cb291bb940 refactor ABI for arbitrary attribute/entry/callback registration; propagate pointers to Operation and SlapReply structures to entry create/update/modify callbacks; cleanup 2005-04-27 21:30:35 +00:00
Kurt Zeilenga
dc0eacd40b Happy New Year! 2005-01-01 20:49:32 +00:00
Pierangelo Masarati
b29bf83e7e remove back-*/external.h 2004-11-15 19:45:49 +00:00
Pierangelo Masarati
34478b3ca6 more on monitor customization 2004-11-12 12:54:42 +00:00
Pierangelo Masarati
79f744f30b rework static backend initialization 2004-11-11 00:39:19 +00:00
Pierangelo Masarati
70884b8860 allow to register entries and entry callbacks; radical namespace cleanup 2004-11-08 18:52:27 +00:00
Pierangelo Masarati
3743579870 fix typo in rww; general cleanup 2004-11-08 10:55:33 +00:00
Pierangelo Masarati
b3ec75d032 rework subsystem initialization (can be added dynamically...) 2004-11-08 10:10:15 +00:00
Pierangelo Masarati
761f287943 multiple precision with BIGNUM/gmp/ulong 2004-09-26 22:58:47 +00:00
Pierangelo Masarati
55e251e6e8 lots of cleanup; few improvements; fix RDN selection bug when creating connection dynamic entries; rework entries ordering - now it's more intuitive and regular; optimize counters update 2004-09-12 22:12:58 +00:00
Howard Chu
9644d6d820 Added readOnly attribute, can be toggled on individual databases. 2004-04-27 01:56:38 +00:00
Pierangelo Masarati
c76427d8db add overlay subsystem and connect it to databases 2004-03-16 21:58:29 +00:00
Kurt Zeilenga
3c598e89fb Happy new year 2004-01-01 19:15:16 +00:00
Kurt Zeilenga
fbba83b20f notices and acknowledgements 2003-12-08 17:41:40 +00:00
Kurt Zeilenga
674e71710f Notice and acknowledgements
"this is an altered version" statement
2003-11-27 02:35:20 +00:00
Kurt Zeilenga
cde0999b52 Rename header macro 2003-04-13 04:51:12 +00:00
Pierangelo Masarati
be8820d660 HEADS-UP: complete reworking of back-monitor 2003-04-12 17:41:49 +00:00
Pierangelo Masarati
ab47effcfd more cleanup and api rewriting (too tired to do anything better) 2003-04-12 01:17:05 +00:00
Pierangelo Masarati
29c2594fe4 pass Operation instead of private info 2003-04-11 23:08:16 +00:00
Kurt Zeilenga
6939c53170 Happy new year 2003-01-03 20:20:47 +00:00
Pierangelo Masarati
8cd8053d5e add Time subsystem 2002-01-29 12:15:13 +00:00
Pierangelo Masarati
619f772459 listener monitor 2002-01-11 11:43:35 +00:00
Kurt Zeilenga
0e2af54a3f Update copyright statements 2002-01-04 21:17:25 +00:00
Pierangelo Masarati
0bff9e6eb7 struct bervals for DN; fix in send children 2001-12-27 15:16:12 +00:00
Pierangelo Masarati
de903b65c9 added operations and sent stats to back-monitor; minor cleanup 2001-12-22 19:14:10 +00:00
Pierangelo Masarati
95f1740aa6 improvements to monitor backend: added a log entry that lists the current log level and can be modified via protocol at runtime, to change the log level; minor improvements; fixed a problem in dealing with dn normalization 2001-12-10 09:50:06 +00:00
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