Chatee ahora con Soporte
Chat con el soporte

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

Using Foglight Hybrid Cloud Manager for Azure Monitoring Tab Tags Tab Reports Tab Rule Configuration Tab Usage & Quotas Tab Global Services Tab Administration Tab Optimizer Tab Cost Tab

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 registration.
The Register an application view opens.
Name: type the name of the application.
Supported account types: select who can use this application or access this API.
Redirect URL (optional): type the URL address where users can sign in and use the application.
The Register an application 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 Manage > Certificates & secrets. The Certificates & secrets view opens on the right.
8
In the Certificates & secrets view, click + New client secret.
The Add a client secret view opens.
9
In the Add a client secret view, specify the values of DESCRIPTION and EXPIRES, and then click Add.
11
Click Microsoft Azure on the top left 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 and select Add role assignment. The Add role assignment view opens.
16
In the Add role assignment 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:

Documentos relacionados

The document was helpful.

Seleccionar calificación

I easily found the information I needed.

Seleccionar calificación