Splunk AppDynamics

Need help on installation of agent

CommunityUser
Splunk Employee
Splunk Employee

hi team,

we habe insatlled agent on a server which one MS CRM on prem application and two .net applications it was working fien while deployement and after some time it stopped working we cannot see the data generation on SAAS. this is second time, we are not sure whats the issue . we have below logs. please go through and advcie what can be done....

Warn MachineAgentManager Metrics Problem registering metrics: System.Exception: Connection back off limitation in effect:


Warn MachineAgentManager Metrics Error sending metric data to controller:System.Net.WebException: The remote server returned an error: (407) Proxy Authentication Required.


Error MachineAgentManager Metrics Error sending metrics - will requeue for later transmissionException: com.appdynamics.ee.agent.commonservices.metricgeneration.metrics.MetricSendException: System.Exception: Connection back off limitation in effect: https://xxxxxxxxxxxxxxxxxx:443/controller/instance/4233/metrics_PB


Warn ConfigurationChannel Could not connect to the controller/invalid response from controller, cannot get initialization information, controller host [xxxxxx.appdynamics.com], port[443], exception [System.Net.WebException: The remote server returned an error: (407) Proxy Authentication Required.

Labels (1)
0 Karma

Satyam_Jaitely
Explorer

Hi Sasidhar,

  • From the shared error "The remote server returned an error: (407) Proxy Authentication Required", looks like there is any proxy configured on the Machine level or instrumented application level or network level and your proxy needs credentials.
    Could you please verify and configure proxy in the config.xml  for the communication between Agent and controller. You can find more information related to this in Proxy Element section link below 
    https://docs.appdynamics.com/display/PRO45/.NET+Agent+Configuration+Properties
    For example - 
    <controller host="mycontroller.example.com">
    <application name="MyDotNetApplicaition"/>
    <proxy host="myproxy.example.com"port="3128"enabled="true">
    <authentication enabled="true"user_name="MyProxyUser"password="password"domain="mydomain.com"/>
    </proxy>

    </controller>
    After configuring the proxy configuration. You would need to restart the Agent coordinator service and then restart the IIS/instrumented application services. After that apply the load and then check the behavior.

Thanks

Satyam

0 Karma

CommunityUser
Splunk Employee
Splunk Employee
Below is config file that we are using .. please let us know if any changes needed to be made.
















0 Karma

Raunak_Mohanty
Builder

Please do not share the config file here as this community platform. As Satyam suggested please modify the config.xml to include

<proxy host="myproxy.example.com"port="3128"enabled="true">
<authentication enabled="true"user_name="MyProxyUser"password="password"domain="mydomain.com"/>
</proxy>

Thanks,

Raunak 

0 Karma

CommunityUser
Splunk Employee
Splunk Employee

we have already added those line in config for the previous installation istelf.

but , we are not able to see the data getting generated.

0 Karma

Raunak_Mohanty
Builder

The error in the logs suggests that you have not provided proxy authentication information or the provided info is not correct. Can you please double check with your Network Team?

If you have access to the support system, please create a ticket directly.  Otherwise, let us know so that we can share a SFTP location to get the logs from you.

Thanks,

Raunak

0 Karma

CommunityUser
Splunk Employee
Splunk Employee
Hi Raunak,
Please share the SFTP so that I can share the logs.
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 ...