AppDynamics Knowledge Base

How do I modify the deep link URL in alert emails?

How do I modify the deep link URL in alert emails?

Older Controllers (prior to version 4.2.15) follow these instructions:
  •  Modify the following element located in the controller_home>/appserver/glassfish/domains/domain1/config/domain.xml file:
  <jvm-options>-Dappdynamics.controller.ui.deeplink.url=<<new_deeplink_url>></jvm-options>
  • Restart the Controller App Server.
  • This will change the deeplink URL for all accounts in the Controller.

Newer Controllers (versions 4.2.15+) follow these instructions: 

  • As of Controller version 4.2.15, there is an option to change the deeplink URL for each account and runtime. 
  • Use the following command:
curl -k --basic --user root@system --header "Content-Type: application/json" 
--data '{ "controllerURL": "http://<controller>:<port>" }'
http://<controller>:<port>/controller/rest/accounts/<ACCOUNT-NAME>/update-controller-url
  • Verify the change by querying the Controller database: 
select id, name, controller_url from account where name like '%<ACCOUNT-NAME>%';
Tags (1)
Comments

This is great and worked for me!

Version history
Last update:
‎07-20-2017 02:25 PM
Updated by: