Problems Adding Systems Or Rescanning Configuration

by Dec 12, 2014

I recently applied the 7.1 update to our environment, and everything seemed to be fine. Monitoring resumed, notifications and etc are functioning as expected. It wasn’t until I went to add a new host that I ran into a problem. The message from the GUI is as follows:


Could not add system: Failed to get configuration from agent: null

Unfortunately, it does not generate any other messages that I could find from the logs other than this:


2014-12-11 13:07:34,031 ERROR [Webserver-11841 - /command] (AddSystemCommand:33) - Could not add system: Failed to get configuration from agent: null

This error repeats from all other system adds I’ve tried, regardless of host or network destination, and the agent is definitely up and running (I can telnet to it, run ‘ver’ and get the expected output).

 

Then I found a similar problem trying to rescan a configuration on an existing host (but not all of them), and got an exception from java that seems like it may be related but I wanted to check and make sure. What can I do about this? We’ve had a fairly stable/static environment to monitor but there will be times I need to update or add systems and this definitely presents a problem.


2014-12-11 12:48:58,496 ERROR [Webserver-24 - /command] (StackLogger:103) - [q5dt5t] Error while scanning configuration for: nwstnode01 (374)
java.lang.IllegalArgumentException: duplicate key: inet
        at com.google.common.base.Preconditions.checkArgument(Preconditions.java:119)
        at com.google.common.collect.RegularImmutableMap.(RegularImmutableMap.java:70)
        at com.google.common.collect.ImmutableMap$Builder.fromEntryList(ImmutableMap.java:250)
        at com.google.common.collect.ImmutableMap$Builder.build(ImmutableMap.java:236)
        at com.google.common.collect.Maps.uniqueIndex(Maps.java:638)
        at com.google.common.collect.Maps.uniqueIndex(Maps.java:612)
        at com.uptimesoftware.uptime.base.entity.configuration.ConfigurationChangeDetector.logNetworkInterfaceChanges(ConfigurationChangeDetector.java:122)
        at com.uptimesoftware.uptime.base.entity.configuration.ConfigurationChangeDetector.detectChanges(ConfigurationChangeDetector.java:45)
        at com.uptimesoftware.uptime.base.entity.configuration.SystemConfigurationUpdatingSaver.save(SystemConfigurationUpdatingSaver.java:26)
        at com.uptimesoftware.uptime.base.entity.configuration.SystemConfiguration.update(SystemConfiguration.java:366)
        at com.uptimesoftware.uptime.erdc.helper.ConfigurationErdcResult.saveResult(ConfigurationErdcResult.java:30)
        at com.uptimesoftware.uptime.base.command.ErdcConfigurationRunner.runConfigurationErdc(ErdcConfigurationRunner.java:28)
        at com.uptimesoftware.uptime.base.command.ErdcConfigurationRunner.runConfigurationErdc(ErdcConfigurationRunner.java:41)
        at com.uptimesoftware.uptime.base.command.RescanConfigCommand.execute(RescanConfigCommand.java:14)
        at com.uptimesoftware.uptime.base.command.CommandServlet.doGet(CommandServlet.java:32)
        at com.uptimesoftware.uptime.base.command.CommandServlet.doPost(CommandServlet.java:44)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:616)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
        at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:547)
        at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1359)
        at com.uptimesoftware.uptime.base.WebRequestsLoggingFilter.doFilter(WebRequestsLoggingFilter.java:35)
        at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1330)
        at com.uptimesoftware.uptime.base.ThreadNameChanger.doFilter(ThreadNameChanger.java:25)
        at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1330)
        at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:478)
        at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:225)
        at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:941)
        at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:409)
        at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:186)
        at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:875)
        at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:117)
        at org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:250)
        at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:110)
        at org.eclipse.jetty.server.Server.handle(Server.java:349)
        at org.eclipse.jetty.server.HttpConnection.handleRequest(HttpConnection.java:441)
        at org.eclipse.jetty.server.HttpConnection$RequestHandler.content(HttpConnection.java:936)
        at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:801)
        at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:224)
        at org.eclipse.jetty.server.BlockingHttpConnection.handle(BlockingHttpConnection.java:50)
        at org.eclipse.jetty.server.bio.SocketConnector$ConnectorEndPoint.run(SocketConnector.java:245)
        at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:598)
        at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:533)
        at java.lang.Thread.run(Thread.java:722)