1. Home
  2. Tutorials and How Tos
  3. How to Monitor Microsoft Azure VM Resources

How to Monitor Microsoft Azure VM Resources

In order for OmniCenter to monitor VM resources in Microsoft Azure, your Azure subscription must be configured to allow OmniCenter read-only access to its API. Then, you must add your Azure subscription information to OmniCenter (only users with SuperAdmin privileges can do this). This will allow OmniCenter to discover, add and monitor Azure resources as they are created.

Configuring Azure

  1. Log in to the Azure portal with your account and password at https://portal.azure.com.
  2. On the homepage, select Azure Active Directory from the menu.
  3. From the directory page menu, select App Registrations (Preview) (not App Registrations) and then click Register an application. Complete the form to create a new application that can be associated with OmniCenter.

    • Be sure to name your application something that makes sense in the context of its association with OmniCenter.
  4. Click on your new application to view its details.
  5. The values that you’ll need for OmniCenter are your Application (client) ID and Directory (tenant) ID.
  6. From the application menu, select Certificates & secrets to generate a key for your application. This will act as the password you give OmniCenter to access your Azure subscription.
  7. Give your new key a description, select an expiration date for the key, and click Add. Once generated the key cannot be seen/found again, so be sure to document it somewhere.
  8. Now that you’ve registered a new application with Azure and created a client access key for it, return to the main Azure homepage. We now need to assign your application a role so that it can access resources within your subscription. Select All Services from the menu, and then select Subscriptions from the list displayed.
  9. Select your subscription by clicking on it. (You will need your subscription ID later in OmniCenter, along with your Application (client) ID and Directory (tenant) ID).
  10. From the subscription menu, select Access Control (IAM) and click the Add button in the Add a role assignment card.
  11. For “Role” select “Reader” from the drop-down.

    • By default, Azure AD applications aren’t displayed in the available options. To find your application, search for its name and select it.
  12. Click Save.

Your Azure subscription is now properly configured to work with OmniCenter. The next step is to add Azure to OmniCenter.

Configuring OmniCenter

  1. Log in to OmniCenter as a SuperAdmin and open the Cloud Monitoring Administration page (Administration → Modules → Cloud Monitoring).
  2. On the Cloud Monitoring Administration page, in the Azure section, click the Add Azure button.
  3. In the dialog that appears, fill out the required fields using the information you recorded from your Azure subscription.

    • NAME
      This field is used for labeling within OmniCenter. The value is arbitrary and may be anything you decide.
    • USERNAME
      Enter the Application (client) ID from your subscription.
    • PASSWORD
      Enter the access key you created in the Certificates & secrets screen in your Azure subscription.
    • TENANT ID
      Enter the Directory (tenant) ID from your subscription.
    • SUBSCRIPTION ID
      Enter your subscription ID.
  4. Click Save.

OmniCenter is now configured to monitor your Azure subscription for new resources, which it will do roughly every five minutes. When a new resource is detected (if the device is pingable and responds to the credentials configured in OmniCenter) it will be automatically added and reported on as would any other device in your infrastructure.

Updated on September 20, 2019

Was this article helpful?

Need Support?
Can’t find the answer you’re looking for? Don’t worry we’re here to help!
Contact Support

Leave a Reply