Splunk AppDynamics

Kubernetes cluster agent can not connect - 404

Daniel_Oliver
New Member

I have this in the logs for the K8s cluster agent.

[INFO]: 2021-03-09 15:23:14 - agentregistrationmodule.go:119 - Initial Agent registration
[ERROR]: 2021-03-09 15:23:14 - agentregistrationmodule.go:131 - Failed to send agent registration request: Status: 404 Not Found, Body: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><title>AppDynamics - Error report</title><style type="text/css"><!--H1 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:22px;} H2 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:16px;} H3 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:14px;} BODY {font-family:Tahoma,Arial,sans-serif;color:black;background-color:white;} B {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;} P {font-family:Tahoma,Arial,sans-serif;background:white;color:black;font-size:12px;}A {color : black;}HR {color : #525D76;}--></style> </head><body><h1>HTTP Status 404 - Not Found</h1><hr/><p><b>type</b> Status report</p><p><b>message</b>Not Found</p><p><b>description</b>The requested resource is not available.</p><hr/><h3>AppDynamics</h3></body></html>
[ERROR]: 2021-03-09 15:23:14 - agentregistrationmodule.go:132 - clusterId: -1
[ERROR]: 2021-03-09 15:23:14 - agentregistrationmodule.go:134 - Registration properties: {}

Labels (1)
0 Karma

Nawaz_Ali_Moha1
Contributor

Hello Daniel,

Can you confirm the steps at https://docs.appdynamics.com/display/PRO45/Deploy+the+AppDynamics+Operator+on+Kubernetes were followed? 

If pod securities are in place then follow "Cluster Agent Pods Are Not Created When Security Policy Is Enabled" at https://docs.appdynamics.com/display/PRO21/Troubleshoot+the+Cluster+Agent

For cluster agent pod ensure the steps as listed at https://docs.appdynamics.com/display/PRO45/Deploy+the+Cluster+Agent+on+Kubernetes is followed.

Get Updates on the Splunk Community!

Splunk Observability Cloud's AI Assistant in Action Series: Auditing Compliance and ...

This is the third post in the Splunk Observability Cloud’s AI Assistant in Action series that digs into how to ...

Splunk Community Badges!

  Hey everyone! Ready to earn some serious bragging rights in the community? Along with our existing badges ...

What You Read The Most: Splunk Lantern’s Most Popular Articles!

Splunk Lantern is a Splunk customer success center that provides advice from Splunk experts on valuable data ...