cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

De-registering java agent from AppConsole

Brad.Bauer
New Member

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?

1 REPLY 1

Peter.Holditch
Moderator
Moderator

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



Found something helpful? Click the Accept as Solution button to help others find answers faster.
Liked something? Click the Thumbs Up button.