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.

Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

[Puzzles] Solve, Learn, Repeat: Matching cron expressions

This puzzle (first published here) is based on matching timestamps to cron expressions.All the timestamps ...

Design, Compete, Win: Submit Your Best Splunk Dashboards for a .conf26 Pass

Hello Splunkers,  We’re excited to kick off a Splunk Dashboard contest! We know that dashboards are a primary ...

May 2026 Splunk Expert Sessions: Security & Observability

Level Up Your Operations: May 2026 Splunk Expert Sessions Whether you are refining your security posture or ...