From fa6e5bb0c17c4d59d8598979feb1a7701bc32679 Mon Sep 17 00:00:00 2001
From: neil_a_wilson <neil_a_wilson@localhost>
Date: Tue, 12 Dec 2006 23:55:39 +0000
Subject: [PATCH] Publish a separate monitor entry for each connection handler, which includes the protocol, listen address/port, number of established connections, and information about each connection.
---
opends/src/server/org/opends/server/util/ServerConstants.java | 53 +++++++++++++++++++++++++++++++++++++++++++++++++++++
1 files changed, 53 insertions(+), 0 deletions(-)
diff --git a/opends/src/server/org/opends/server/util/ServerConstants.java b/opends/src/server/org/opends/server/util/ServerConstants.java
index c103f85..bc74ccc 100644
--- a/opends/src/server/org/opends/server/util/ServerConstants.java
+++ b/opends/src/server/org/opends/server/util/ServerConstants.java
@@ -218,6 +218,42 @@
/**
+ * The name of the monitor attribute that is used to hold the connection
+ * handler connections.
+ */
+ public static final String ATTR_MONITOR_CONNHANDLER_CONNECTION =
+ "ds-connectionhandler-connection";
+
+
+
+ /**
+ * The name of the monitor attribute that is used to hold the connection
+ * handler listeners.
+ */
+ public static final String ATTR_MONITOR_CONNHANDLER_LISTENER =
+ "ds-connectionhandler-listener";
+
+
+
+ /**
+ * The name of the monitor attribute that is used to hold the connection
+ * handler number of established connections.
+ */
+ public static final String ATTR_MONITOR_CONNHANDLER_NUMCONNECTIONS =
+ "ds-connectionhandler-num-connections";
+
+
+
+ /**
+ * The name of the monitor attribute that is used to hold the connection
+ * handler protocol.
+ */
+ public static final String ATTR_MONITOR_CONNHANDLER_PROTOCOL =
+ "ds-connectionhandler-protocol";
+
+
+
+ /**
* The name of the standard attribute that is used to specify the set of
* public naming contexts (suffixes) for the Directory Server, formatted in
* camel case.
@@ -569,6 +605,23 @@
/**
+ * The name of the custom objectclass that will be included in backend monitor
+ * entries.
+ */
+ public static final String OC_MONITOR_BACKEND = "ds-backend-monitor-entry";
+
+
+
+ /**
+ * The name of the custom objectclass that will be included in connection
+ * handler monitor entries.
+ */
+ public static final String OC_MONITOR_CONNHANDLER =
+ "ds-connectionhandler-monitor-entry";
+
+
+
+ /**
* The name of the objectclass that will be used as the structural class for
* monitor entries.
*/
--
Gitblit v1.10.0