AppD Archive

.NET agent not able to connect to controller

CommunityUser
Splunk Employee
Splunk Employee

Hi Experts,

We have few .NET agents which are not able to connect to the controller and are reported down on the dashboard. I am getting below error in the agent logs:

2016-04-01 04:30:29.4546 11844 w3wp 2 9 Warn MetricHandler Metric Reporter Queue full. Dropping metrics.
2016-04-01 04:30:31.8447 21492 w3wp 2 12 Warn ConfigurationChannel Could not connect to the controller/invalid response from controller, cannot get initialization information, controller host [controller02.abc.def.com], port[80], exception [System.Net.WebException: The operation has timed out
   at System.Net.HttpWebRequest.GetRequestStream(TransportContext& context)

Belo is the Agent configuration :

<?xml version="1.0" encoding="UTF-8"?>

-<appdynamics-agent xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">


-<controller ssl="false" port="80" host="controller02.abc.def.com">

<application name="APPNAME"/>

<account name="customer1" password="faade46a-6cca-4861-ade1-9c6d01725fa8"/>

</controller>

<machine-agent/>


-<app-agents>


-<IIS>

<automatic/>

<applications/>

</IIS>

</app-agents>

</appdynamics-agent>

I need help in resolving this issue. Thanks

0 Karma
1 Solution

CommunityUser
Splunk Employee
Splunk Employee

Agent tries to send the metric to controller every minute, and if there happens any network issue, it keeps the matrics in cache for 3 minutes. In case agent is not able to connect to controller for 3 minutes, it flushed the metric and that is how you get the "dropping metrics" warning.

Regards,

View solution in original post

0 Karma

CommunityUser
Splunk Employee
Splunk Employee

Hi Rohit,

Mertics are dropping means you are overshooting the metrics limit. Please try to reduce the business transaction under 50 per agent and that should help you.

Regards,

Ashutosh

0 Karma

CommunityUser
Splunk Employee
Splunk Employee

Agent tries to send the metric to controller every minute, and if there happens any network issue, it keeps the matrics in cache for 3 minutes. In case agent is not able to connect to controller for 3 minutes, it flushed the metric and that is how you get the "dropping metrics" warning.

Regards,

0 Karma
Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.
Get Updates on the Splunk Community!

Tech Talk Recap | Mastering Threat Hunting

Mastering Threat HuntingDive into the world of threat hunting, exploring the key differences between ...

Observability for AI Applications: Troubleshooting Latency

If you’re working with proprietary company data, you’re probably going to have a locally hosted LLM or many ...

Splunk AI Assistant for SPL vs. ChatGPT: Which One is Better?

In the age of AI, every tool promises to make our lives easier. From summarizing content to writing code, ...