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
04-13-2018 06:17 AM - last edited on 11-15-2019 09:28 AM by Ryan.Paredez
Hi ,
Can anybody help me with configuring database alerts to insert certain values into the database when the health rule violation occurs? Should I use custom action for that or remediation? Please help.
Regards,
NAzish Sayyed
04-15-2018 09:05 PM
Hi NAzish,
As per your query, we understand you are trying to update the controller database when the health rule violates. Please confirm. We do not recommend to use insert/update query in the database. Could you please let us know the use case or let us know if there is any disconnect.
You can use any of the actions as per your requirement to trigger alerts.
For more information-
https://docs.appdynamics.com/display/PRO44/Custom+Actions
https://docs.appdynamics.com/display/PRO44/Remediation+Scripts
Thanks,
Yogesh
04-16-2018 08:27 AM
04-17-2018 09:01 AM
Hi,
Can you please confirm if you are referring to the controller database here. If yes, we do not recommend to update controller database as mentioned. If not, please write the custom scripts.
To build custom actions, please go through the below documentation.
https://docs.appdynamics.com/display/PRO44/Build+a+Custom+Action
Thanks,
Yogesh
04-19-2018 12:58 AM
Hi Yogesh,
I want to update my application's database with the number of times a particular service is down.So for that i've created a bat file in windows and trying to run it with custom script but it shows failed excecution in event section of application dashboard.Can you please guide me where to see custom action's log and how to update a particular column in oracle database on health rule violation.
Please see the attachment .
04-19-2018 09:57 PM - last edited on 11-15-2019 09:30 AM by Ryan.Paredez
Hi,
To update the column in oracle db, please take a look into below docs
https://docs.oracle.com/javadb/10.8.3.0/ref/rrefsqlj26498.html
Thanks,
Yogesh
^ Edited by @Ryan.Paredez Removed reference of sharing Log files. Please do not share or copy and paste your log files into the community for security reasons.
User | Count |
---|---|
2 | |
1 | |
1 | |
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