Controller (SaaS, On Premise)

cancel
Showing results for 
Search instead for 
Did you mean: 

importing health rules via REST WAPI

Wanderer

importing health rules via REST WAPI

Taken from here: 

https://docs.appdynamics.com/display/PRO41/Import+and+Export+Health+Rule+Configurations

 

 

trying to import health rules and get this window, which does not accept any known credentials.

2017-05-31_15-50-50.png

 

 

Any idea why it wont accept credentials?

importing health rules via REST WAPI
2 REPLIES 2
Highlighted
AppDynamics Team

Re: importing health rules via REST WAPI

Hi, Can you use Poster plugin or such tool where you can send POST HTTP Type requests? 
sample link https://addons.mozilla.org/en-us/firefox/addon/poster/

 

Please be sure when user hit at browser as it looks from your screenshots, it makes GET request not POST, hope that clarifies.
Format of credentials for info for popup you have referred:

user name: <username>@<accountname>
password: <password>

example:
user name: user1@customer1
password: welcome



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

Re: importing health rules via REST WAPI

Hi,

 

It might not be accepting credetials because account name might not have been specified.

 

If it is a single tenant controller, then for example, username needs to be specified as user@customer1. This is because customer1 is default account name in single tenant controller.

 

If it is multi tenant on premise controller, to know the account names:

 

<controller_home>/bin/controller.sh login-db

select id,name from account \G

 

 

PS: If this answer helped you or solved your issue, please click Accept Solution below.

 

Regards,
Saradhi