In this section we’ll walk through the steps to configure health rules and widgets on a custom dashboard within AppDynamics so they pull their data from your specific TeaStore application instance.
You’ll use an existing health rules template and apply it to your own TeaStore application.
You will also customize the widgets in your AppDynamics custom dashboard listed below.
Use the credentials used previously to login to the AppDynamics controller if you’ve been logged out.
Navigate to the Health Rule template you’ll use for your TeaStore application using the steps below.
Select the Health Rule template to apply to your TeaStore application using the steps below.
Select your TeaStore application using the steps below.
Use the steps below to finish applying the Health Rule template.
Click on the Replace button when the confirmation window appears.
Open your custom dashboard using the steps below.
Update the Health Widget for Business Transactions on your custom dashboard to point to your TeaStore application using the steps below.
Use the steps below change the settings on the widget to point to your TeaStore application.
Update the Events Widget for Critical Events on your custom dashboard to point to your TeaStore application using the steps below.
Use the steps below change the settings on the widget to point to your TeaStore application.
Now click on the ‘Save’ button to save your changes to the dashboard.
The IWO Action Integration is a simple NodeJS application that is meant to show the art of the possible by adding the pending recommended actions from IWO into your AppDynamics dashboard to provide a more holistic view of the state of your application.
Two prerequisites have already been done for you but are documented below.
You do not need to do these steps in the lab, they are for reference only.
You can find the instructions for these prerequisites in the GitHub repository for the IWO Action Integration.
Let’s proceed to the next steps you’ll need to perform. Open a new terminal window in your Cloud9 IDE
Update the dependencies for the IWO Action Integration application using the commands below.
cd /home/ec2-user/iwo-action-integration
npm install
The output should look like the image below.
Start the IWO Action Integration application using the commands below in the same Cloud9 terminal used in the last step.
cd /home/ec2-user/iwo-action-integration
npm start
The output should look like the image below. Leave the appplication running in the terminal window. If it stops for any reason simply restart it using the same commands above.
Use the steps below to obtain the URL for the IWO Action Integration application.
The copied URL should look similar to the one seen below.
https://96be7a22af41443f915d23039a1cc8c6.vfs.cloud9.us-west-1.amazonaws.com/
Use the credentials for Cisco Intersight provided by your instructor to login to Intersight if you’ve been logged out.
Use the steps below to obtain the Business App Id for your application in IWO.
Once you’ve opened your business application, copy the value for the viewKey parameter in the URL.
Copy only the characters to the right after viewKey= and save the value for the next step.
Open a new tab in your browser and go to the URL seen below.
https://www.base64decode.org
Use the steps below to decode your Business App Id.
Now use the steps below to construct the final URL you will use in the next exercise.
{IWO Action Integration URL}views/examples/cwom.html?businessAppID={Decoded Business App ID}
Your completed URL should look similar to the example seen below.
https://96be7a22af41443f915d23039a1cc8c6.vfs.cloud9.us-west-1.amazonaws.com/views/examples/cwom.html?businessAppID=74350291672641
Ensure you are using the same browser window where you have your Cloud9 IDE opened in when you open a new browser tab for the next step.
Open your custom dashboard in the AppDynamics controller using the first steps you used in the Update BT Widget exercise.
Update the IFrame Widget for IWO Actions on your custom dashboard to point to the IWO Action Integration application URL using the steps below.
Use the steps below to update the IFrame Widget URL.
Now click on the Save button to save your changes to the dashboard.
We’ll look at the results of your configuration with specific observability scenarios.