⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 readme

📁 ldap服务器源码
💻
字号:
MONITOR BACKEND	NAME: 	back-monitor	Backend for monitoring the server's activity.COMPILE AND CONFIGURATION OPTIONSIt must be explicitly enabled by configuring with 	--enable-monitorset; then it must be activated by placing in slapd.conf the databaseconfigure directive	database	monitorThe suffix "cn=Monitor" is implicitly activated (it cannot be givenas a suffix of the database as usually done for conventional backends).Note that the "cn=Monitor" naming context appears in the rootDSEin the attribute monitorContextA bind operation is provided; at present it allows to bind as thebackend rootdn.  As a result, the backend supports the rootdn/rootpw directives (only simple bind at present).NAMING CONTEXT AND TREE STRUCTUREThe backend naming context is "cn=Monitor"; the first level entries represent the monitored subsystems.  It is implemented in a modular way,to ease the addition of new subsystems.SCHEMAAll the subsystems get a default "cn" attribute, represented by thesubsystem's name, and they all have "top", "monitor" and "extensibleObject"objectclasses."extensibleObject" is used, and the "description" attribute is used to hold the monitor information of each entry.FUNCTIONALITYMost of the sybsystems contain an additional depth level, representedby detailed item monitoring.All the entries undergo an update operation, if a related method isdefined, prior to being returned.  Moreover, there's a mechanism toallow volatile entries to be defined, and generated on the fly whenrequested.  As an instance, the connection statistics are updatedat each request, while each active connection data is created on thefly.One nice feature of this solution is that granular ACLs can be applied to each entry.OPERATIONSThe backend currently supports:	bind	compare	modify	searchSUBSYSTEMSCurrently some subsystems are partially supported.  "Partially"means their entries are correctly generated, but sometimes only partially useful information is provided.The subsystems are:	Backends	Connections	Databases	Listener	Log	Operations	Overlays	SASL	Statistics	Threads	Time	TLS	Read/Write WaitersBACKENDS SUBSYSTEMSThe main entry contains the type of backends enabled at compile time;the subentries, for each backend, contain the type of the backend.It should also contain the modules that have been loaded if dynamic backends are enabled.CONNECTIONSThe main entry is empty; it should contain some statistics on the number of connections.Dynamic subentries are created for each open connection, with stats onthe activity on that connection (the format will be detailed later).There are two special subentries that show the number of total andcurrent connections respectively.DATABASES SUBSYSTEMThe main entry contains the naming context of each configured database; the subentries contain, for each database, the type and the namingcontext.LISTENER SUBSYSTEMIt contains the description of the devices the server is currently listening onLOG SUBSYSTEMIt contains the currently active log items.  The "Log" subsystem allows user modify operations on the "description" attribute, whose values MUST be in the list of admittable log switches:	Trace	Packets	Args	Conns	BER	Filter	Config		(useless)	ACL	Stats	Stats2	Shell	Parse	Cache		(deprecated)	IndexThese values can be added, replaced or deleted; they affect what messages are sent to the syslog device.OPERATIONS SUBSYSTEMIt shows some statistics on the operations performed by the server:	Initiated	Completedand for each operation type, i.e.:	Bind        Unbind        Add        Delete        Modrdn        Modify        Compare        Search        Abandon        ExtendedOVERLAYS SUBSYSTEMThe main entry contains the type of overlays available at run-time;the subentries, for each overlay, contain the type of the overlay.It should also contain the modules that have been loaded if dynamic overlays are enabled.SASLCurrently empty.STATISTICS SUBSYSTEMIt shows some statistics on the data sent by the server:	Bytes	PDU	Entries	ReferralsTHREADS SUBSYSTEMIt contains the maximum number of threads enabled at startup and the current backload.TIME SUBSYSTEMIt contains two subentries with the start time and the current time of the server.TLSCurrently empty.READ/WRITE WAITERS SUBSYSTEMIt contains the number of current read waiters.NOTESThis 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>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -