From 01d5388b9a9e84f7c5ac4ebc0ef6669ebdcd6801 Mon Sep 17 00:00:00 2001
From: Ludovic Poitou <ludovic.poitou@forgerock.com>
Date: Fri, 21 Dec 2012 13:49:32 +0000
Subject: [PATCH] Additional fix for OPENDJ-554. Stats from SSL connections were not showing up due to the inclusion of an invalid connection handler monitor. Also tidy up some typos.
---
opends/src/snmp/src/org/opends/server/snmp/DsMIBImpl.java | 15 +++++++++++----
1 files changed, 11 insertions(+), 4 deletions(-)
diff --git a/opends/src/snmp/src/org/opends/server/snmp/DsMIBImpl.java b/opends/src/snmp/src/org/opends/server/snmp/DsMIBImpl.java
index 970f6b6..ee13482 100644
--- a/opends/src/snmp/src/org/opends/server/snmp/DsMIBImpl.java
+++ b/opends/src/snmp/src/org/opends/server/snmp/DsMIBImpl.java
@@ -23,6 +23,7 @@
*
*
* Copyright 2008-2009 Sun Microsystems, Inc.
+ * Portions Copyright 2012 ForgeRock Inc.
*/
package org.opends.server.snmp;
@@ -43,7 +44,7 @@
/**
- * The class reprents the "DsMIB" group implementation.
+ * The class represents the "DsMIB" group implementation.
* The group is defined with the following oid: 1.3.6.1.2.1.66.
*/
public class DsMIBImpl extends DsMIB implements NotificationListener {
@@ -73,18 +74,24 @@
/**
* List of DsTableEntries.
+ * SNMP dsTable contains the list of Directory Servers
*/
private Hashtable<ObjectName, DsEntry> dsTableEntries =
new Hashtable<ObjectName, DsEntry>();
/**
- * List of DsIntTableEntries.
+ * List of DsApplIfOpsTableEntries.
+ * SNMP dsAppIfOpsTable provides summary statistics on the accesses
+ * operations and errors for each application protocol interface
+ * of a Directory Server
*/
private Hashtable<ObjectName, DsEntry> dsApplIfOpsTableEntries =
new Hashtable<ObjectName, DsEntry>();
- /**
+ /**
* List of DsIntTableEntries.
+ * SNMP dsIntTable provides some useful information on the
+ * interactions of the monitored DS with peer DS
*/
private Hashtable<ObjectName, DsEntry> dsIntTableEntries =
new Hashtable<ObjectName, DsEntry>();
@@ -246,7 +253,7 @@
DsTableEntryImpl entry = new DsTableEntryImpl(
this.mib, this.server, this.applIndex);
- // if the entry alreday exists nothing to do
+ // if the entry already exists nothing to do
if ((this.dsTableEntries.containsKey(entry.getObjectName())) ||
(entry == null)) {
return true;
--
Gitblit v1.10.0