From 0f942fb22a49820dacbc16bd9769fbb479e0e4f2 Mon Sep 17 00:00:00 2001
From: coulbeck <coulbeck@localhost>
Date: Fri, 02 Feb 2007 21:50:10 +0000
Subject: [PATCH] These changes are for issue 787: LDAP server need to detect failure of changelog servers
---
opends/src/server/org/opends/server/synchronization/plugin/SynchronizationMonitor.java | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/opends/src/server/org/opends/server/synchronization/plugin/SynchronizationMonitor.java b/opends/src/server/org/opends/server/synchronization/plugin/SynchronizationMonitor.java
index 1b8ae4b..5a1dc30 100644
--- a/opends/src/server/org/opends/server/synchronization/plugin/SynchronizationMonitor.java
+++ b/opends/src/server/org/opends/server/synchronization/plugin/SynchronizationMonitor.java
@@ -97,6 +97,10 @@
attr = new Attribute("connected-to", domain.getChangelogServer());
attributes.add(attr);
+ /* get number of lost connections */
+ addMonitorData(attributes, "lost-connections",
+ domain.getNumLostConnections());
+
/* get number of received updates */
addMonitorData(attributes, "received-updates", domain.getNumRcvdUpdates());
--
Gitblit v1.10.0