| | |
| | | import static org.opends.server.util.StaticUtils.stackTraceToSingleLineString; |
| | | |
| | | import java.io.IOException; |
| | | import java.net.InetAddress; |
| | | import java.util.ArrayList; |
| | | import java.util.Collection; |
| | | import java.util.Iterator; |
| | |
| | | @Override |
| | | public String getMonitorInstanceName() |
| | | { |
| | | String hostname = "unknown"; |
| | | try |
| | | { |
| | | hostname = InetAddress.getLocalHost().getHostName(); |
| | | } |
| | | catch (Exception e) {} |
| | | return "Replication Server " |
| | | + replicationServer.getReplicationPort() + " " |
| | | + hostname |
| | | + " " + replicationServer.getServerId() |
| | | + ",cn=" + baseDn.replace(',', '_').replace('=', '_') |
| | | + ",cn=replication"; |