Not a customer? Click the 'Start a free trial' link to begin a 30-day SaaS trial of our product and to join our community.
Existing Cisco AppDynamics customers should click the 'Sign In' button to authenticate to access the community
11-19-2019 09:00 AM
Hi,
I need to execute a script using AppDynamics. While executing the script, I need to pass a command line argument. Could you please let me know if this is possible? If yes, could you please let me know how to achieve this?
Like, in below example, I need to execute the script AppdDiagnosticDisk.sh passing the argument "/opt".
Solved! Go to Solution.
11-20-2019 08:53 AM
Yep, should be possible depending on what you're doing, this document may help: https://docs.appdynamics.com/display/PRO45/Remediation+Actions#RemediationActions-Configuration
12-09-2019 05:24 AM
Hi,
I tried to pass a command line variable, the remediation action is failing with below error. Could you please suggest further.
02-02-2021 08:52 PM
I don't think its feasible to pass command command line argument in the remediation action. If AppDynamics team can share that it we would be more than happy to use this functionality.
06-10-2022 02:03 PM
Second that. We have multiple use case scenario where passing custom command argument would greatly enhance the remediation action capability for us. Utilizing the ENV variables exported to the script are great, but not sufficient for us.
If this can be consider for upcoming releases of controller and machine agent, that'd be really great.
06-13-2022 09:12 AM
Hi @Juraj.Kutes,
Feel free to Search the Idea Exchange to see if this Idea already exists, if not, go ahead and submit this as a feature request within the Idea Exchange.
The Idea Exchange can be found here.
I also recommend reading the
Note: Idea Exchange is accessible to contractual customers (Trial/Lite users currently do not have access to the Idea Exchange at this time).
Thanks,
Ryan, Cisco AppDynamics Community Manager
Found something helpful? Click the Accept as Solution button to help others find answers faster.
Liked something? Click the Thumbs Up button.
Check out Observabiity in Action
new deep dive videos weekly in the Knowledge Base.
06-13-2022 10:22 AM - last edited on 06-14-2022 09:05 AM by Ryan.Paredez
I just posted this as a new idea in the Idea Exchange.
So please vote for it.
User | Count |
---|---|
4 | |
4 | |
3 | |
1 | |
1 | |
1 |
Thank you! Your submission has been received!
Thank you! Your submission has been received!
Oops! Something went wrong while submitting the form