Configuring the Directory Server
Configuring Security in the Directory Server
Monitoring the Directory Server
Viewing Monitoring Information Using the cn=monitor Entry
To View the Available Monitoring Information
To Monitor General-Purpose Server Information
To Monitor Version Information
To Monitor the User Root Back End
To Monitor the Backup Back End
To Monitor the monitor Back End
To Monitor the Schema Back End
To Monitor the adminRoot Back End
To Monitor the ads-truststore Back End
To Monitor the LDAP Connection Handler
To Monitor LDAP Connection Handler Statistics
To Monitor Connections on the LDAP Connection Handler
To Monitor the Administration Connector
To Monitor Administration Connector Statistics
To Monitor Connections on the Administration Connector
To Monitor the LDIF Connection Handler
To Monitor the userRoot Database Environment
To Monitor JVM Stack Trace Information
To Monitor the JVM Memory Usage
Monitoring Using Managed Tasks
Configuring Alert Notifications and Account Status Notification Handlers
To View the Replication Repair Logs
General Purpose Enterprise Monitoring Solutions
Monitoring the Directory Server With JConsole
To Configure JMX on a Directory Server Instance
Accessing a Directory Server Instance From JConsole
Viewing Directory Monitoring Information With JConsole
Monitoring the Directory Server With SNMP
Configuring SNMP in the Directory Server
To Configure SNMP in the Directory Server
To View the SNMP Connection Handler Properties
To Access SNMP on a Directory Server Instance
Monitoring the Directory Server With the Control Panel
To View Monitoring Information With the Control Panel
Configuring Logs With dsconfig
Overview of Directory Server Logs
To Configure Log Retention Policies
To Configure Log Rotation Policies
Logging Access Control Information
Differences Between Logging in Sun OpenDS Standard Edition and Sun Java System Directory Server
Configuring Alerts and Account Status Notification Handlers
To View All Configured Alert Handlers
Managing Account Status Notification Handlers
To View the Configured Account Status Notification Handlers
To Enable Account Status Notification Handlers
To Create a New Account Status Notification Handler
To Delete an Account Status Notification Handler
Monitoring a Replicated Topology
Monitoring Replication Status With dsreplication
Monitor providers are enabled by default and are responsible for publishing information about the server that can be useful for monitoring or troubleshooting purposes. The cn=monitor entry contains the monitoring information that is published by the monitor providers.
Monitor providers can be configured by using the dsconfig command. For more information, see Configuring the Directory Server With dsconfig.
$ dsconfig -D "cn=directory manager" -w password -n list-monitor-providers Monitor Provider : Type : enabled -------------------:-------------------:-------- Client Connections : client-connection : true Entry Caches : entry-cache : true JVM Memory Usage : memory-usage : true JVM Stack Trace : stack-trace : true System Info : system-info : true Version : version : true
$ dsconfig -D "cn=directory manager" -w password -n set-monitor-provider-prop \ --provider-name "Version Monitor Provider" --set enabled:false
This example creates and enables a new entry cache monitor provider, named “File System Entry Cache”.
$ dsconfig -D "cn=directory manager" -w password -n create-monitor-provider \ --provider-name "File System Entry Cache" --type entry-cache --set enabled:true
$ dsconfig -D "cn=directory manager" -w password -n list-monitor-providers Monitor Provider : Type : enabled ------------------------:-------------------:-------- Client Connections : client-connection : true Entry Caches : entry-cache : true File System Entry Cache : entry-cache : true JVM Memory Usage : memory-usage : true JVM Stack Trace : stack-trace : true System Info : system-info : true Version : version : true
This example deletes the entry cache monitor provider that was created in the previous example.
$ dsconfig -D "cn=directory manager" -w password -n delete-monitor-provider \ --provider-name "File System Entry Cache"
$ ./dsconfig -h VDPhost -p 4444 -D "cn=Directory Manager" -w password -X -n \ list-monitor-providers \
Monitor Provider : Type : enabled -------------------:-------------------:-------- Client Connections : client-connection : true Entry Caches : entry-cache : true JVM Memory Usage : memory-usage : true JVM Stack Trace : stack-trace : false System Info : system-info : true Version : version : true
$ dsconfig -D "cn=directory manager" -w password -n list-monitor-providers Monitor Provider : Type : enabled ------------------------:-------------------:-------- Client Connections : client-connection : true Entry Caches : entry-cache : true JVM Memory Usage : memory-usage : true JVM Stack Trace : stack-trace : true System Info : system-info : true Version : version : true