- 09 Sep 2024
- 3 Minutes to read
- Print
- DarkLight
- PDF
Microsoft Azure Cloud Services and VM Monitoring
- Updated on 09 Sep 2024
- 3 Minutes to read
- Print
- DarkLight
- PDF
In order for Netreo to discover VMs (virtual machines) and/or services from your Azure account, some configuration must be done in Azure before configuring Netreo. Follow the instructions in the Azure Configuration section first, then follow the instructions in the Netreo Configuration section. When both sections are complete, Netreo will begin scanning for and automatically adding your Azure VMs and/or services for monitoring.
Azure Configuration
The instructions below use Microsoft's latest official documentation, which can be found here: https://docs.microsoft.com/en-us/azure/active-directory/develop/howto-create-service-principal-portal
To make things as easy as possible, each step below includes a direct link to the exact section of the Microsoft instructions you will need to follow, along with any Netreo-specific instructions for configuration. Each link opens in a new tab for convenience.
While performing the steps below, you will need to record several values (to be entered into Netreo later). Be prepared to make note of them as they come up.
Follow these steps to configure your Azure account for Netreo monitoring.
- Create and register a new application with Azure AD by following the instructions under Register an application with Azure AD and create a service principal, then return here and continue to step 2.
- It is recommended to name the application something like "Netreo Azure Monitoring" so it is clear what the application is for.
- Use single tenant for the supported account types selection.
- No redirect URI is necessary.
- Assign a role to the application by following the instructions under Assign a role to the application, then return here and continue to step 3.
- Assign the role of Contributor.
- Configure authentication for the application by following the instructions under Authentication: Two options, then return here and continue to step 4.
- Use Option 2: Create a new application secret.
- Record the value for your application secret so it may be entered into Netreo later.
- Retrieve the application and directory ID values by following the instructions under Get tenant and app ID values for signing in, then return here and continue to step 5.
- Record the values for the Application (client) ID and Directory (tenant) ID so they may be entered into Netreo later.
- Retrieve the subscription ID by following the instructions in the document linked below, then return here and continue to step 6.
- https://docs.microsoft.com/en-us/azure/media-services/latest/setup-azure-subscription-how-to?tabs=portal
- Record the value for your Subscription ID so it may be entered into Netreo later.
- Continue to the Netreo configuration instructions below.
Netreo Configuration
As a reminder, you will need the following information from the steps above:
- Your Azure AD application name.
- Your application secret.
- Your Application (client) ID.
- Your Directory (tenant) ID.
- Your Subscription ID.
After you have completed the steps in the Azure configuration instructions above and registered an application in Azure AD, you must log in to Netreo to configure it to communicate with your application.
- Log in to Netreo as a user with the SuperAdmin access level.
- Navigate to the Cloud Monitoring Administration page by selecting Administration > Modules > Cloud Monitoring from the main menu.
- In the Azure section, select Add Azure.
- In the dialog that appears:
- In the NAME field, enter the name of your Azure AD application.
- In the APPLICATION ID field, enter your Application (client) ID.
- In the APPLICATION KEY field, enter your application secret.
- In the TENANT ID field, enter your Directory (tenant) ID.
- In the SUBSCRIPTION ID field, enter your Subscription ID.
- If you want Netreo to poll discovered VMs (virtual machines) for availability and performance monitoring, select the checkbox for the AUTOMATIC GUESTS POLLING & MONITORING field.
- If you uncheck this option, Netreo will discover and add Azure VMs as managed devices but will not monitor them for availability or performance.
- Select Save.
Once the configuration is complete, Netreo begins its scheduled polling of your Azure account (approximately every hour) to detect any supported VMs and/or services. It may take some time for the polling process to complete so please be patient.