Chat now with support
Chat mit Support

Foglight Hybrid Cloud Manager 1.4 - User Guide (for Azure environments)

API used to collect Cost metrics

Foglight Hybrid Cloud Manager for Azure offers the following two methods to collect Cost metrics, you need to select either of following based upon your environment:

Enterprise Agreement Billing API: This approach is used to collect metrics from Enterprise Agreement subscriptions.
Usage API and Rate Card API: This approach is used to collect metrics from Pay As You Go subscriptions and Azure In-Open subscriptions.

If you use Enterprise Agreement API to collect Cost Metrics, You need the Enrollment Number and API access key associated with your Azure Enterprise account. You can locate these credentials in your Azure Enterprise account. The Enrollment Number and API access key are available only to your account's enterprise administrator, the top-level administrator of your Azure Enterprise.:

Enrollment Number: Indicates the master account used for Enterprise billing.
Usage API Access Key: Allows access to the Azure Billing API.
a
Click the Enrollment tab, then click Manage.
a
Under the Enrollment tab, click Reports.
b
Click Download Usage.
c
Click API Access Key.
d
Click the key icon in the Primary Key text box to generate the API access key.
2
Click All services, and then input “Subscriptions” in the All services text box, and then click Subscriptions.
3
On the Subscriptions dashboard, select your subscription, and then record the following information:
Offer: This value indicates the subscription type, for example, Pay As You Go.
Current billing period: This value is used to set the Billing Cycle Day in Editing agent properties. For example, your Current billing period is “6/21/2018-7/20/2018”, then the Billing Cycle Day will be “21”.

Azure monitoring setup

To fully enable the monitoring of Azure environment, Foglight Hybrid Cloud Manager for Azure requires to create an Azure Performance Agent that is to be authenticated using Azure Active Directory ID (Tenant ID), Application ID, and Access Key.

A complete setup includes the following three steps:

Getting authentication information through Azure portal

2
The Azure Active Directory view that belongs to your account opens.
3
In the Azure Active Directory view, select MANAGE > Properties, and then click to copy the Directory ID that is also known as Tenant ID.
4
In the Azure Active Directory view, select MANAGE > App registrations, and then click New application registration.
The App registrations > Create view opens.
Name: type the name of the application.
Application type: select Web app / API.
Sign-on URL: type the URL address where users can sign in and use the application.
The App registrations > Create view closes and the App registrations list is refreshed automatically.
6
In the App registrations list, select the application created in Step 5.
Keep the Application ID displayed in the Application details view somewhere safe.
7
In the Application details view, click All settings. The Settings view opens on the right view.
8
In the Settings view, click Keys.
The Keys view opens.
9
In the Keys view, specify the values of DESCRIPTION and EXPIRES, and then click Save.
11
Click Microsoft Azure on the top right corner, to return the default dashboard that appears once logged into the Azure portal.
The Subscriptions view opens.
13
In the Subscriptions view, click the subscription that you want to monitor, then the Subscriptions details view opens.
14
In the Subscription details view, click Access control (IAM), then Access control (IAM) view opens on the right.
15
Click Add. The Add Permissions view opens.
16
In the Add Permissions view, select Reader from the Role drop-down list, search for the application created in Step 5, and then click Save.
17
Repeat Step 11 to Step 16, to assign the Storage Account Key Operator Service Role to the application created in Step 5.
NOTE: Diagnostics settings must be enabled to collect metrics for both ARM-deployed virtual machines and standard Storage Account. For more information, visit How to enable metrics using the Azure portal.

Configuring firewall settings

If your Azure Performance Agent is installed behind the firewall, ensure the following URL addresses and ports are open:

Verwandte Dokumente

The document was helpful.

Bewertung auswählen

I easily found the information I needed.

Bewertung auswählen