Splunk AppDynamics

App Agent load not showing in UI

CommunityUser
Splunk Employee
Splunk Employee

Hi,

My java agent is running but the metrics are not flowing to the Sas controller (via proxy). All the config's seems to be correct but when I check the logs, I see the below errors ("Metric reporter queue full")

image.pngAny suggestions?

Labels (1)
0 Karma

Peter_Holditch
Builder

Arun,

The read timeouts that you highlighted in the log extract you posted indicate there is some issue preventing the agent communicating with the controller.

There may be more specific messages earlier in the agent log, when the agent made the initial connection that should help you diagnose what is wrong.

Can you successfully access the controller login page via your proxy using curl from the box where the agent is running?  Have you double-checked your proxy configuration, both at the proxy and on the agent side?

Warm regards,

Peter.

0 Karma

CommunityUser
Splunk Employee
Splunk Employee

Thanks Peter for the input. 

I tried curl from the server where my agent is running to the controller via the proxy and it went through, so the connectivity is there!

But while checking the agent logs further I can see the below errors:

1. "Metric reporter queue full, dropping metrics"

2. Fatal transport error while connecting to URL, ConnectTimeoutException" (Via proxy)

3. "Error sending metrics to Controller"

Can it be due to the session timeout value lesser than that what is required for agent? 

Regards,

Arun Koul

0 Karma

CommunityUser
Splunk Employee
Splunk Employee

Has anyone come across this error?

0 Karma

Peter_Holditch
Builder

Arun,

It's good you have established that the basic proxy configuration works.

What kind of proxy is it?  Does it simply allow access to any resource on the proxied host:port combination, or does it filter based on URL? 

What do you see in the agent log if you  simply run

java -javaagent:/<path-to-agent>/javaagent.jar -Dappdynamics.controller.hostName=<controller-host> -Dappdynamics.controller.port=<controller-port> -Dappdynamics.agent.applicationName=Test -Dappdynamics.agent.tierName=Test -Dappdynamics.agent.nodeName=Test   –Dappdynamics.http.proxyHost=<proxy-host>  –Dappdynamics.http.proxyPort=<proxy-port> -version

Warm regards,

Peter

0 Karma
Get Updates on the Splunk Community!

Splunk AI Assistant for SPL | Key Use Cases to Unlock the Power of SPL

Splunk AI Assistant for SPL | Key Use Cases to Unlock the Power of SPL  The Splunk AI Assistant for SPL ...

Buttercup Games: Further Dashboarding Techniques (Part 5)

This series of blogs assumes you have already completed the Splunk Enterprise Search Tutorial as it uses the ...

Customers Increasingly Choose Splunk for Observability

For the second year in a row, Splunk was recognized as a Leader in the 2024 Gartner® Magic Quadrant™ for ...