What Anypoint Monitoring is and how to set it up on-premises
Anypoint Monitoring is one of the components of the Anypoint Platform. It gives you feedback and provides visibility into integrations across your app network. With the Monitoring tool, you can diagnose issues, it provides aggregate metrics across dependent systems in real time. Anypoint Monitoring allows you to create custom alerts and custom dashboards with desired data and metrics displayed.
Implementing Anypoint Monitoring on-premises
Follow the next steps to implement monitoring on-premises:
- Go on Anypoint Platform and click on Monitoring in the menu
2. On the left side select Settings
3. In the setting menu select the desired environment and server
4. Download am.zip
5. Copy am.zip to the Home directory on the server
scp am-v.zip user@server: ~
6. Unzip am.zip in the Home directory
unzip am-v.zip
7. Copy unzipped am directory to Mule Standalone Runtime directory
sudo cp -R am /opt/mule-enterprise-standalone-4.x.x/
8. Change the user to root if you need higher lever permission
sudo su –
9. Go to the directory where you copied am directory and run the install command — if you are asked to monitor as a service, type in N
cd /opt/mule-enterprise-standalone-4.x.x/am
./bin/install
10. Restart Mule Standalone Runtime
systemctl restart mule_ee
11. Check if the Mule Standalone Runtime is running again
systemctl status mule_ee
12. Go to the am directory again and start the Anypoint Monitoring
cd /opt/mule-enterprise-standalone-4.x.x/am
./bin/setup
./bin/am start
13. Open the Anypoint Platform and select Monitoring once more. Wait until Environment and Resource name selection appears.
14. Now you are able to select Environment and Resource name
15. Select View and you will be on the Overview dashboard with different graphs and metrics
16. Filter reports by minutes, hours, days, or months
17. Navigate over Inbound and Outbound dashboards to check inbound and outbound requests or over other offered dashboards in order to verify different metrics
Conclusion
Anypoint Monitoring is a powerful tool for having deep insight into what is happening in specific APIs. If you have permission to set up Monitoring, then use Monitoring — its benefits can save you valuable time. With the guidance above, it should be a straightforward process.