Auto-Integration with Azure Monitor (Azure CLI Access required)
This document provides an automated approach to integrating Azure Monitor with KloudMate using the OpenTelemetry Receiver. The Azure Monitor OpenTelemetry Receiver allows you to scrape telemetry data from Azure Monitor resources and send them to KloudMate for centralized monitoring and analysis.
Ensure the following prerequisites are met before proceeding:
- Azure CLI installed on your Linux system.
- An Azure User with the following roles:
- User Access Administrator
- Contributor
This process will create a small Azure Virtual Machine (VM) and integrate OpenTelemetry for monitoring. Before proceeding, ensure that you have the necessary permissions and resources available.
During this process, the following resources will be provisioned:
- Azure AD Application:
- A Microsoft Entra ID App with a service principal assigned the Reader role for the specified subscription.
- Virtual Machine Configuration:
- VM Type: Standard_B2s
- OS Image: Ubuntu 22.04
- Disk Size: 30 GB
- Location: East US
Login to your Azure account using the Azure CLI:
1. Create a file named azure-kloudmate.sh and paste the following content inside it:
2. Paste the following script into the file:
3. Make the script executable and run it:
4. Execute the script with the required parameters:
5. Follow the on-screen instructions to complete the setup.
After completing the setup, follow these steps to confirm that KloudMate is receiving Azure metrics:
- Log into your KloudMate account.
- Navigate to Explorer or Dashboards.
- Filter for Azure-specific metrics.
- If data is flowing correctly, you should see the metrics appearing in real-time.
- Troubleshoot if no data appears:
- Recheck your Azure Monitor configuration.
- Ensure the required permissions are set correctly.