Chat now with support
Chat with Support

Foglight for VMware 6.0.0 - Installation Guide

Enabling VMware Performance Agents to collect data from a Virtual Center

Foglight for VMware uses the VMware Performance Agent to collect information from monitored environments. Each VMware Performance Agent can monitor an entire Virtual Center. To enable the agent to monitor your virtual environment, you must grant the agent privileges for accessing the Virtual Center and collecting data from it.

Configure these privileges on the Virtual Center using the VMware® Virtual Infrastructure Client.

First, you create a role and assign it privileges for browsing datastores, viewing and terminating sessions, and modifying performance intervals. Next, you assign that role to a user account that you want the VMware Performance Agent to use for accessing the Virtual Center. You will associate the selected user account with the VMware Performance Agent instance in a later step, when you configure the VMware Performance Agent properties (see Setting the Configuration properties ).

2
Right-click a role and choose Add from the shortcut menu that appears.
The Add Role dialog box appears.
Figure 12. Add Role dialog box
3
In the Add Role dialog box, in the Enter Name box, type the name of the role you want to add.
5
Important. If you are using Foglight for Resource Optimization, you must include additional privileges to this role. For more information, see the Foglight for Resource Optimization User Guide.
6
The Add Role dialog box closes.
Figure 13. Inventory screen
8
In the left pane, right-click Hosts & Clusters, and choose Assign Permissions from the shortcut menu that appears.
The Assign Permissions dialog box appears.
Figure 14. Assign Permissions dialog box
9
In the Assign Permissions dialog box, in the Assigned Role area, select the role you just created.
10
In the Users and Groups area, click Add.
The Select Users dialog box appears.
Figure 15. Select Users dialog box
12
The Select Users dialog box closes.

Configuring VMware Performance Agents for data collection

Configuring VMware Performance Agents for data collection

Foglight for VMware uses the VMware Performance Agent to collect information from monitored environments. Creating a VMware Performance Agent instance creates the agent process on the Agent Manager host. Activating the VMware Performance Agent starts that agent process, while starting an agent instance’s data collection enables the agent to start collecting data from the monitored Virtual Center and to send it to Foglight for VMware.

When the VMware Performance Agent package is successfully deployed, create one or more agent instances, activate them, and start their data collection. To perform these steps in a single operation for one or more monitored hosts, use the Administration tab of the VMware Environment dashboard.

Each VMware Performance Agent monitors a single Virtual Center. When you create a VMware Performance Agent instance and the Agent Setup wizard determines that the Virtual Center was not previously monitored by this Foglight instance, it starts importing historical data into Foglight. This data is not immediately available as it takes some time to collect it. This process can import data collected over 30 days or less, depending on the amount of data available in the Virtual Center. This allows you to explore VMware metrics as soon as the data is imported, instead for waiting for the agent to collect some data from the Virtual Center. The Metric History column in the Agents table indicates the progress of the historical data import. Historical data is intended for charting, trending, and general presentation purposes. It does not cause any alarms to fire.

To import Virtual Center historical data, the minimum recommended Virtual Center Statistics Levels must be at least 2 in the samples that are collected for one month for the agent to populate 30 days of historic collections. The following table lists the minimum Statistics Levels for all collection frequencies. For more information about Virtual Center Statistics levels, see your VMware® documentation.

1 Day

5 Minutes

1

1 Week

30 Minutes

1

1 Month

2 Hours

2

1 Year

1 Day

1

2
On the navigation panel, under Dashboards, choose VMware > VMware Environment.
Figure 16. Administration tab
4
The Agent Setup Wizard appears with the Select an Agent Host page open.
The Agent Setup Wizard refer shes, showing the Select Virtual Center page.
Figure 18. Select Virtual Center page
a
In the Virtual Center box, type the fully qualified name of the host on which the Virtual Center is running.
b
In the Port box, type the port number of the host running the Virtual Center that will be used by the VMware Performance Agent to connect to the Virtual Center.
c
If you want to enable the VMware Performance Agent to collect the Foglight for Storage Management data, select the Enable Storage Collection check box. Foglight for Storage Management can help you optimize the VMware environment by monitoring virtual storage and its underlying physical storage components. For more information about this product, see the Foglight for Storage Management documentation.
d
If you want to import historical data, select the Enable Historical Metric Data check box. This data is not immediately available as it takes some time to collect it. This process can import data collected over 30 days or less, depending on the amount of data available in the Virtual Center. Selecting this option allows you to explore VMware metrics as soon as the data is imported, instead for waiting for the agent to collect some data from the Virtual Center.
e
Click Next.
The Agent Setup Wizard refreshes, showing the Credential Verification page.
Add vCenter(s) to a new credential: Select this option if you want to create a new credential for the selected vCenter. Click Next and continue to Step 8.
Add vCenter(s) to an existing credential: Select this option if you want to use an existing credential for the selected vCenter. This option is suitable if an existing credential has the information needed to access the vCenter. Click Next and continue to Step 9.
Credential Name: Type a name that uniquely identifies the credential.
User: Type the vCenter user name.
Password: Type the vCenter password.
Confirm Password: Type the vCenter password.
c
Click Next.
The Summary page appears.
Figure 21. Summary
d
Click Finish.
The Agent Setup Wizard closes, and the Agents area refreshes, showing a newly created VMware Performance agent instance.
b
Click Next.
The Summary page appears.
Figure 23. Summary
c
Click Finish.
The Agent Setup Wizard closes, and the Agents area refreshes, showing a newly created VMware Performance agent instance.

Using an alternative method to create and configure VMware Performance Agents

The following procedure describes the process of creating and activating VMware Performance Agent instances and starting their data collection using the Agent Status dashboard. This dashboard is useful for creating agent instances one Agent Manager at a time.

Another way to create agent instances is using the fglcmd command-line interface. For more information about the available fglcmd commands, see the Command-Line Reference Guide.

2
On the navigation panel, under Dashboards, choose Administration > Agents > Agent Status.
The Create Agent wizard appears with the Host Selector page open.
In the Create Agent wizard, on the Host Selector page, select the system on which the Agent Manager is running, and click Next.
The Create Agent wizard refreshes, showing the Agent Type and Instance Name page.
IMPORTANT: If the VMwarePerformance agent type is not listed, you likely need to deploy the VMware Performance Agent package to that host. For more information, see Deploying VMware Performance Agent packages to monitored hosts .
5
On the Agent Type and Instance Name page, select VMwarePerformance.
To use a specific agent name, select Specify Name, and in the Name box that appears, type the agent name.
7
Click Next.
The Create Agent wizard refreshes, showing the Summary page.
Figure 26. Summary page
8
In the Create Agent wizard, on the Summary page, verify that the host name and agent name are correct, and click Finish.
The Create Agent wizard closes, and the Agent Status dashboard refreshes, showing in the Tasks area that the Deploy Agent Package task is in progress. After a few moments, a green icon appears in the Status column, indicating a successful deployment.
c
Click Modify properties for this agent only.
e
When finished, click Save, then click the Back To Agent Status button.
The Activate Agent(s) message box appears, showing the status of the activation process.
The Create Agent wizard closes, and the Agent Status dashboard refreshes, showing in the Tasks area that the Deploy Agent Package task is in progress.
After a few moments, the Activate Agent(s) message box closes, and the Agents area on the Agent Status dashboard refreshes, showing a green icon in the Status column, indicating a successful activation.

Setting the VMware Performance Agent properties

The VMware Performance Agent collects data from the virtual infrastructure and sends it to the Management Server. The agent keeps track of resource utilization metrics and alerts you when certain pre-defined thresholds are reached.

When an agent connects to Foglight Management Server™, it is provided with sets of properties that it uses to configure its correct running state. Each agent is provided with a combination of two types of properties: agent properties and shareable properties.

Default versions of these properties are installed with Foglight for VMware. However, you can edit the default shareable and agent properties, configure agent properties that apply only to a specific agent instance, and create edited clones of shareable properties that are used by a subset of agents of a certain type.

There are two ways to access the VMware Performance Agent properties:

On the VMware Environment dashboard, on the Administration tab, select an agent instance and click Edit Properties (see Configuring VMware Performance Agents for data collection ). This method only provides access to the Configuration properties, but not the Black List and Data Collection Scheduler properties.
On the Agent Status dashboard, select an agent instance and click Edit Properties. This method provides access to the full set of VMware Performance Agent properties, and is described in this

For more information about working with agent properties, see the Administration and Configuration Guide.

f
On the navigation panel, under Dashboards, choose Administration > Agents > Agent Status.
h
Click Modify the private properties for this agent to indicate that you want to edit the properties of the selected VMware Performance Agent instance.
Figure 30. Agent Properties

The configuration of agent properties described in this section include:

Related Documents

The document was helpful.

Select Rating

I easily found the information I needed.

Select Rating