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.
- Log in to the Azure portal with your account and password at https://portal.azure.com.
- On the homepage, select Azure Active Directory from the menu.
- 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.
- Click on your new application to view its details.
- The values that you’ll need for OmniCenter are your Application (client) ID and Directory (tenant) ID.
- 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.
- 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.
- 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.
- 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).
- From the subscription menu, select Access Control (IAM) and click the Add button in the Add a role assignment card.
- 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.
- Click Save.
Your Azure subscription is now properly configured to work with OmniCenter. The next step is to add Azure to OmniCenter.
- Log in to OmniCenter as a SuperAdmin and open the Cloud Monitoring Administration page (Administration → Modules → Cloud Monitoring).
- On the Cloud Monitoring Administration page, in the Azure section, click the Add Azure button.
- In the dialog that appears, fill out the required fields using the information you recorded from your Azure subscription.
This field is used for labeling within OmniCenter. The value is arbitrary and may be anything you decide.
Enter the Application (client) ID from your subscription.
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.
- 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.