1 Reply Latest reply on Mar 23, 2016 1:19 AM by karthik raj

    Unable to collect metrics

    karthik raj Novice

      Guys, I am using Jboss operation network 3.3.0.GA to monitor my jboss application servers.
      My server is able to discover the agent but the real problem is that it could not able to load the metrics it giving message as "Cannot load metrics".


      Below is the error message displayed in Dashboard

       

       

       

      Message :

      Cannot load metrics

      Severity :

      Error

      Time :

      Tuesday, March 22, 2016 10:13:06 AM UTC+5:30

      Root Cause :

      org.rhq.enterprise.communications.command.server.AuthenticationException:Command failed to be authenticated! This command will be ignored and not processed: Command: type=[remotepojo]; cmd-in-response=[false]; config=[{rhq.security-token=LhyUlSjPpGu7zUIdVggAH9Tt5LTMxin2HleNgUA5TygEO6qzmL8XyYfPeG+ZRIBqa20=, rhq.send-throttle=true}]; params=[{invocation=NameBasedInvocation[getRealTimeMeasurementValue], targetInterfaceName=org.rhq.core.clientapi.agent.measurement.MeasurementAgentService}]

      Detail :
      java.lang.RuntimeException:[1458621698698] javax.ejb.EJBException:org.rhq.enterprise.communications.command.server.AuthenticationException: Command failed to be authenticated!  This command will be ignored and not processed: Command: type=[remotepojo]; cmd-in-response=[false]; config=[{rhq.security-token=LhyUlSjPpGu7zUIdVggAH9Tt5LTMxin2HleNgUA5TygEO6qzmL8XyYfPeG+ZRIBqa20=, rhq.send-throttle=true}]; params=[{invocation=NameBasedInvocation[getRealTimeMeasurementValue], targetInterfaceName=org.rhq.core.clientapi.agent.measurement.MeasurementAgentService}] -> org.rhq.enterprise.communications.command.server.AuthenticationException:Command failed to be authenticated!  This command will be ignored and not processed: Command: type=[remotepojo]; cmd-in-response=[false]; config=[{rhq.security-token=LhyUlSjPpGu7zUIdVggAH9Tt5LTMxin2HleNgUA5TygEO6qzmL8XyYfPeG+ZRIBqa20=, rhq.send-throttle=true}]; params=[{invocation=NameBasedInvocation[getRealTimeMeasurementValue], targetInterfaceName=org.rhq.core.clientapi.agent.measurement.MeasurementAgentService}]
      --- STACK TRACE FOLLOWS ---
      [1458621698698] javax.ejb.EJBException:org.rhq.enterprise.communications.command.server.AuthenticationException: Command failed to be authenticated!  This command will be ignored and not processed: Command: type=[remotepojo]; cmd-in-response=[false]; config=[{rhq.security-token=LhyUlSjPpGu7zUIdVggAH9Tt5LTMxin2HleNgUA5TygEO6qzmL8XyYfPeG+ZRIBqa20=, rhq.send-throttle=true}]; params=[{invocation=NameBasedInvocation[getRealTimeMeasurementValue], targetInterfaceName=org.rhq.core.clientapi.agent.measurement.MeasurementAgentService}] -> org.rhq.enterprise.communications.command.server.AuthenticationException:Command failed to be authenticated!  This command will be ignored and not processed: Command: type=[remotepojo]; cmd-in-response=[false]; config=[{rhq.security-token=LhyUlSjPpGu7zUIdVggAH9Tt5LTMxin2HleNgUA5TygEO6qzmL8XyYfPeG+ZRIBqa20=, rhq.send-throttle=true}]; params=[{invocation=NameBasedInvocation[getRealTimeMeasurementValue], targetInterfaceName=org.rhq.core.clientapi.agent.measurement.MeasurementAgentService}]
         at Unknown.RuntimeException_0(Unknown Source)
         at Unknown.instantiate_32(Unknown Source)
         at Unknown.$instantiate_0(Unknown Source)
         at Unknown.$instantiate(Unknown Source)
         at Unknown.$readObject(Unknown Source)
         at Unknown.$onResponseReceived(Unknown Source)
         at Unknown.onResponseReceived_4(Unknown Source)
         at Unknown.$fireOnResponseReceived(Unknown Source)
         at Unknown.onReadyStateChange_0(Unknown Source)
         at Unknown.$setOnReadyStateChange/this$static.onreadystatechange<(Unknown Source)
         at Unknown.apply(Unknown Source)
         at Unknown.entry0(Unknown Source)
         at Unknown.entry_0/<(Unknown Source)
         at Unknown.anonymous(Unknown Source)

       


      While checking the logs

      2016-03-22 10:33:48,867 WARN  [RHQ Agent Registration Thread] (org.rhq.enterprise.agent.AgentMain)- {AgentMain.failover-list-unreachable-host}Failover list has an unreachable host [xx.xx.xx.xx] (tested ports [7080] and [7443]). Cause: java.net.SocketTimeoutException:connect timed out

       


      Could someone help on this

        • 1. Re: Unable to collect metrics
          karthik raj Novice

          I changed the IP of server in connecting settings,

           

          by default dashboard took private IP of my VM (where jon server installed ) and i changed it to public IP of my VM in the Administration - servers - connection settings.

           

          Now the tool is able to collect the values at regular intervals without any errors