Infrastructure (Server, Network, Database)

cancel
Showing results for 
Search instead for 
Did you mean: 

Machine Agent Not Reporting

Highlighted
New Poster

Machine Agent Not Reporting

We observed the below error in machine agent logs. and it is reporting in controller. 

please help us on this.

 

 

 

[AD Thread-Metric Reporter1] 17 Apr 2018 15:23:01,264 INFO SystemAgent - Minimal certificate chain validation performed
[AD Thread-Metric Reporter0] 17 Apr 2018 15:24:00,981 ERROR ManagedMonitorDelegate - Fatal transport error while connecting to URL [/controller/instance/5467171/metricregistration]: java.net.SocketException: Connection reset
[AD Thread-Metric Reporter0] 17 Apr 2018 15:24:00,982 WARN ManagedMonitorDelegate - Problem registering metrics: Fatal transport error while connecting to URL [/controller/instance/5467171/metricregistration]
[AD Thread-Metric Reporter0] 17 Apr 2018 15:24:00,982 WARN ManagedMonitorDelegate - Invalid metric registration response from Controller
[AD Thread-Metric Reporter0] 17 Apr 2018 15:24:00,982 WARN ManagedMonitorDelegate - Problem registering metrics with controller :
java.lang.NullPointerException
[AD Thread-Metric Reporter0] 17 Apr 2018 15:24:00,982 ERROR ManagedMonitorDelegate - Error registering metrics
com.singularity.ee.agent.commonservices.metricgeneration.metrics.MetricRegistrationException: Error registering metrics with controller. Response:null
at com.singularity.ee.agent.commonservices.metricgeneration.AMetricSubscriber.registerMetrics(AMetricSubscriber.java:276)
at com.singularity.ee.agent.commonservices.metricgeneration.MetricGenerationService.registerMetrics(MetricGenerationService.java:314)
at com.singularity.ee.agent.commonservices.metricgeneration.MetricReporter.run(MetricReporter.java:101)
at com.singularity.ee.util.javaspecific.scheduler.AgentScheduledExecutorServiceImpl$SafeRunnable.run(AgentScheduledExecutorServiceImpl.java:122)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at com.singularity.ee.util.javaspecific.scheduler.ADFutureTask$Sync.innerRunAndReset(ADFutureTask.java:335)
at com.singularity.ee.util.javaspecific.scheduler.ADFutureTask.runAndReset(ADFutureTask.java:152)
at com.singularity.ee.util.javaspecific.scheduler.ADScheduledThreadPoolExecutor$ADScheduledFutureTask.access$101(ADScheduledThreadPoolExecutor.java:119)
at com.singularity.ee.util.javaspecific.scheduler.ADScheduledThreadPoolExecutor$ADScheduledFutureTask.runPeriodic(ADScheduledThreadPoolExecutor.java:206)
at com.singularity.ee.util.javaspecific.scheduler.ADScheduledThreadPoolExecutor$ADScheduledFutureTask.run(ADScheduledThreadPoolExecutor.java:236)
at com.singularity.ee.util.javaspecific.scheduler.ADThreadPoolExecutor$Worker.runTask(ADThreadPoolExecutor.java:694)
at com.singularity.ee.util.javaspecific.scheduler.ADThreadPoolExecutor$Worker.run(ADThreadPoolExecutor.java:726)
at java.lang.Thread.run(Thread.java:745)
Caused by: java.lang.NullPointerException

 

 

Machine Agent Not Reporting
4 REPLIES 4
AppDynamics Team

Re: Machine Agent Not Reporting

Hi,

 

We could see connectivity issue between agent and controller. Could you please run curl command to check the connectivity. please share the output of the below

 

curl -v <controller_host>:<controller_port>

 

If issue still persists please share the zip file of the agent log.

 

Thanks,

Atyuha



Found something helpful? Click the Accept as Solution button to help others find answers faster.
Liked something? Click the Thumbs Up button.
New Poster

Re: Machine Agent Not Reporting

Hi Atyuha,

We are using the proxy host and when i tried curl -v proxyhost:port . it is working
New Poster

Re: Machine Agent Not Reporting

output of curl -v proxyhost:port :

 

* Trying 10.160.1.224... connected
* Connected to 10.160.1.224 (10.160.1.224) port 443
> GET / HTTP/1.1
> User-Agent: curl/7.15.5 (x86_64-redhat-linux-gnu) libcurl/7.15.5 OpenSSL/0.9.8b zlib/1.2.3 libidn/0.6.5
> Host: XXXX.XXX.XXX:XXX
> Accept: */*
>
< HTTP/1.1 200 OK
< Date: Tue, 24 Apr 2018 14:19:22 GMT
< Server: AppDynamics
< cache-control: no-cache, no-store, max-age=0, must-revalidate
< Pragma: no-cache
< Expires: Thu, 01 Jan 1970 00:00:00 GMT
< X-FRAME-OPTIONS: SAMEORIGIN
< X-Powered-By: JSP/2.3
< Content-Type: text/html;charset=ISO-8859-1
< X-Varnish: 378518727
< Age: 0
< Via: 1.1 varnish
< X-Iinfo: 10-5674309-5674346 NNNN CT(87 177 0) RT(1524579561311 293) q(0 0 2 0) r(3 3) U2
< X-CDN: Incapsula
< Set-Cookie: visid_incap_989108=HFEV77hkTLOq2GMPtwmVEOk831oAAAAAQUIPAAAAAAA8Ruo2xUUwhsMl9iTEHTG9; expires=Wed, 24 Apr 2019 09:28:45 GMT; path=/; Domain=.saas.appdynamics.com
< Set-Cookie: nlbi_989108=h2TRNgLs80LnRNB5psARNAAAAAB6Gex0tAFFaGIxNzj3RAEC; path=/; Domain=.saas.appdynamics.com
< Set-Cookie: incap_ses_869_989108=9+qEfC1RvRuM6krcKE8PDOk831oAAAAAoOEnO1XF4xyTSrxrRPUccQ==; path=/; Domain=.saas.appdynamics.com
< Via: 1.1 bvpr-proxy01:443
< Transfer-Encoding: chunked
<!DOCTYPE html>

<html lang="en">

 

<head>


<script>
window["adrum-start-time"] = new Date().getTime();
window["adrum-config"] = {spa: {angular: {disable: true}},appKey: "AD-AAB-AAB-XTE"};
</script>
<script src="lib/adrum/adrum.js"></script>

 

<title>AppDynamics </title>

<!-- Request the best possible renderer in IE -->
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta charset="utf-8" />

 


<!-- TODO: Move font-awesome to build.xml after fixing font-location relative path -->
<link rel="stylesheet" type="text/css" href="lib/gridstack/gridstack.css?20180328-231119" />
<link rel="stylesheet" type="text/css" href="lib/font-awesome/css/font-awesome.min.css?20180328-231119" />
<link rel="stylesheet" type="text/css" href="css/css-lib-head-concat.css?20180328-231119" />
<link rel="stylesheet" type="text/css" href="css/ext-theme-neptune-all.css?20180328-231119" /> <!-- Keep Ext has issues in concatenated files cause of paths -->
<link rel="stylesheet" type="text/css" href="css/libs.css?20180328-231119" />
<link rel="stylesheet" type="text/css" href="css/ui.css?20180328-231119" />
<link rel="stylesheet" type="text/css" href="css/shared.css?20180328-231119" />
<link rel="stylesheet" type="text/css" href="css/ui-pages.css?20180328-231119" />
<link rel="stylesheet" type="text/css" href="css/apm.css?20180328-231119" />
<link rel="stylesheet" type="text/css" href="css/analytics.css?20180328-231119" />
<link rel="stylesheet" type="text/css" href="css/customDashboard.css?20180328-231119" />
<link rel="stylesheet" type="text/css" href="css/dbmon.css?20180328-231119" />
<link rel="stylesheet" type="text/css" href="css/eum.css?20180328-231119" />
<link rel="stylesheet" type="text/css" href="css/sim.css?20180328-231119" />
<link rel="stylesheet" type="text/css" href="css/npm.css?20180328-231119" />
<link rel="icon" href="favicon.ico" type="image/png"/>

<!-- JS files go here, after CSS (chrome suggests that optimization) -->
<script type="text/javascript" src="js-lib-head-concat.js?20180328-231119"></script>
<script type="text/javascript" src="singularity.js?20180328-231119"></script>


</head>


<body class="appFrame appBackgroundColor" ng-controller="RouteController">

<script type="text/javascript" src="js-lib-body-concat.js?20180328-231119" charset="utf-8"></script>
<script type="text/javascript" src="node_modules/systemjs/dist/system.js?20180328-231119"></script>
<script type="text/javascript" src="system.config.js?20180328-231119"></script>

<script type="text/javascript">
"use strict";
Singularity.controllerRedirectProcessor();
Singularity.jspName = "main.jsp";

SystemJS.import("AppDynamics.js?20180328-231119").then(function(module) {
module.launch("20180328-231119");
});
</script>

<!-- This ng-switch will prevent the app from being $compiled until logged in. -->
<div ng-show="visibleItems.appVisible" class="appBackgroundColor appContainer">

<div class="appContainer" id="appContainer">

<div class="appFrame appBackgroundColor">

<!-- ---------------- top menu bar on top of everything: main nav, eval toolbar, etc. ---------------- -->
<div class="ads-top-menu-bar-container-row ng-cloak" id="topMenuBarContainerDivId">
<ad-top-menu-bar class="titleBarDiv"></ad-top-menu-bar>
</div>

<div class="ng-cloak ads-main-container-under-top-menu-bar">


<!-- ---------------- LEFT NAV ---------------- -->
<!-- adding position: absolute; z-index: 2; to make drop shadow "on top of" right side content in 4.1 -->
<div id="leftNavComp" class="leftListDiv leftNavPanel" style="height: 100%; width: 256px; display: inline-block; position: absolute; z-index: 2;">
<!-- keep in sync with NAV_PANEL_WIDTH -->
<ad-left-menu-bar class="absoluteExpanded"></ad-left-menu-bar>
</div>

<!-- ---------------- RIGHT SIDE ---------------- -->

<div class="ads-right-side-content-container">

<!-- ---------------- Page Title / Location Bar / Refresh / Time Range ---------------- -->
<div id="mainTitleBarContainerId" class="titleBarDiv">
<ad-main-title-bar ></ad-main-title-bar>
</div>

<div class="ads-right-side-under-location-bar-container" style="overflow: hidden" ng-switch="loadingContent">

<!-- ---------------- Main View Stack / Page Content ---------------- -->
<ad-view-stack ad-current-route="currentRoute" ng-switch-when="false">
</ad-view-stack>

<!--- loading content -->
<div class="ads-absolute-expanded" ng-switch-when="true">
<div class="ads-display-table ads-height-100percent ads-width-100percent">
<div class="ads-display-table-row">
<div class="ads-display-table-cell ads-vertical-align ads-height-100percent ads-width-100percent"
style="text-align: center;">
<i class="fa fa-2x fa-spinner fa-spin"></i>
</div>
</div>
</div>
</div>

</div>

</div>

</div>

</div>

</div>

<ad-notification-center ad-is-eval="showEvalToolbar"></ad-notification-center>

</div>

<div ng-show="visibleItems.loginVisible" ng-cloak class="sty-login-view">
<loginview></loginview>
</div>

<div id="flashDiv" ng-show="visibleItems.appVisible" class="flashDiv" swf="Main_20180328-231119.swf"></div>

<!-- blank screen / loader while app is bootstrapping -->
<div ng-if="visibleItems.loaderVisible" class="ads-absolute-expanded">
<div class="ads-display-table ads-height-100percent ads-width-100percent">
<div class="ads-display-table-row">
<div class="ads-display-table-cell ads-vertical-align ads-height-100percent ads-width-100percent ads-dark-bg-color ads-login-view-background"
style="text-align: center;">
<!-- Still playing with logo vs spinner for loader screen -->
<!--<img src="images/logo/AppDynamicsLogo_white.svg" style="width: 141px; height: 22px; ">-->
<i class="fa fa-2x fa-spinner fa-spin" style="color: #f5f5f5"></i>
</div>
</div>
</div>
</div>

<noscript>
<span><strong>Javascript Required.</strong> Enable Javascript in your browser settings to use AppDynamics</span>
</noscript>

<div style="display:none">
<iframe id="vc" width="1" height="0" frameborder="0" src=""></iframe>
</div>

<script type="text/javascript">
//<![CDATA[
(function() {
var _analytics_scr = document.createElement('script');
_analytics_scr.type = 'text/javascript'; _analytics_scr.async = true; _analytics_scr.src='/_Incapsula_Resource?SWJIYLWA=719d34d31c8e3a6e6fffd425f7e032f3&ns=1&cb=138782808';
var _analytics_elem = document.getElementsByTagName('script')[0]; _analytics_elem.parentNode.insertBefore(_analytics_scr, _analytics_elem);
})();
// ]]>
</script></body>


</html>

AppDynamics Team

Re: Machine Agent Not Reporting

Hi,

 

Could you please attach the complete agent log to debug the issue further.

 

Thanks,

Atyuha



Found something helpful? Click the Accept as Solution button to help others find answers faster.
Liked something? Click the Thumbs Up button.