Splunk AppDynamics

De-registering java agent from AppConsole

CommunityUser
Splunk Employee
Splunk Employee

I have a AWS Load Balancer that points to a web application front-end series of servers that are Auto Balnced, so they spin-up (or down) depending on load. Each of these servers have AppAgent and Machine Agents running on them as nodes to a common tier shoiwng in the AppDynamics console.

My question is, how can I get agents to "de-register" themselves to the AppConsole when they shutdown so when I look at the console I only see running servers? Right now, as they are shut-down they are still showing in the console and I have to manually "delete" nodes that have been shut down.

Or maybe a better way to say it is, can I send a message from a shutting down server to the console to delete a particular node?

Labels (1)
0 Karma
1 Solution

Peter_Holditch
Builder

Brad,

You need to mark the nodes as historical when they shutdown, using the agent property, or alternatively, there is a controller API you can call to mark nodes as historical.

Once marked as historical, nodes are automatically purged

Warm regards,

Peter

View solution in original post

0 Karma

Peter_Holditch
Builder

Brad,

You need to mark the nodes as historical when they shutdown, using the agent property, or alternatively, there is a controller API you can call to mark nodes as historical.

Once marked as historical, nodes are automatically purged

Warm regards,

Peter

0 Karma
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: Character substitutions with Regular Expressions

This challenge was first posted on Slack #puzzles channelFor BORE at .conf23, we had a puzzle question which ...

Splunk Community Badges!

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

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

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