Splunk AppDynamics

Remediation Action if Machine Agent is down

Vishnu_Kumar_D_
Explorer

Hi All,

We have implemented AppD Server Monitoring with Linux Monitoring Extension in hopes to replace our Nagios Monitoring setup.

Ref: https://docs.appdynamics.com/display/PRO43/Remediation+Actions

Am aware that for a remediation action to run, machine agent should be running.

So in case we have a MachineAgent itself down, how do we enable it back using a script?

Note: Would prefer if no third-party tools are used for this solution.

Labels (3)
0 Karma

Arun_Dasetty
Super Champion

Hi,

We have feature to monitor other JVM crashes and will report as event (jvm crash guard event) but this reported by machine agent itself, for the scenario you have listed we do not see an option apart from defining HR alert on machine agent availability metric to get UI level alert.

However i do not see any option to enable(restart machine agent) machine agent java process if down as of now, given that we are running only one machine agent java process on that machine.

I have below suggestion: (just basic shell script)- create a bat/shell script to monitor machine agent java process (example: ps -ef | grep machine-agent.jar) and the script will run machine agent startup command (example: java -jar machineagent_dir/machineagent.jar) if the script found in shell logic sh file that machine agent jvm process is down to enable(restart jvm) back agent, see if that will help.

Vishnu_Kumar_D_
Explorer

Thanks for the reply.

But that will be the traditional approach, we take care of processes right...

Is there any way we can implement with AppD using a Custom Metric or any other method?

0 Karma

Arun_Dasetty
Super Champion

Hi,

I do not see other option as of now for scenario where machine agent itself is down, however can you go through below feature doc https://docs.appdynamics.com/display/PRO43/Add+Tasks+for+Workflow+Steps

0 Karma

Vishnu_Kumar_D_
Explorer

Hi,

This sounds good, but ours is a On-Premise deployment.

Can Cloud Auto-Scaling be enabled in our setup?

0 Karma
Get Updates on the Splunk Community!

Fueling your curiosity with new Splunk ILT and eLearning courses

At Splunk Education, we’re driven by curiosity—both ours and yours! That’s why we’re committed to delivering ...

Splunk AI Assistant for SPL 1.1.0 | Now Personalized to Your Environment for Greater ...

Splunk AI Assistant for SPL has transformed how users interact with Splunk, making it easier than ever to ...

Unleash Unified Security and Observability with Splunk Cloud Platform

     Now Available on Microsoft AzureOn Demand Now Step boldly into the AI revolution with enhanced security ...