beautypg.com

Capagentlesscfg, Name, Synopsis – HP Matrix Operating Environment Software User Manual

Page 210: Description, Options, Return values, Examples

background image

capagentlesscfg

NAME

capagentlesscfg -- Set options for Matrix Operating Environment agentless data collection, and
view a configuration file that contains a list of nodes from which data can be collected. Agentless
data collection is available for a CMS running Microsoft Windows for managed servers running
Windows.

SYNOPSIS

Default path: C:\Program Files\HP\Virtual Server Environment\bin

capagentlesscfg -l
capagentlesscfg -[L|W]n# -[L|W]m#
capagentlesscfg -h

DESCRIPTION

capagentlesscfg

creates a list of systems licensed for Capacity Advisor that have been

configured for agentless data collection, and sets the number of collecting threads and the minimum
time interval to occur between data collections. Configuring the number of collector threads can
be useful when a large number of systems have been configured for agentless data collection and
you suspect that the agentless collectors are consuming a large amount of CPU on the CMS.
Configuring the minimum collection interval can also reduce the amount of CPU used by the
agentless collectors on the CMS, and can also be used to provide more accurate data.
The default value for minimum time interval to occur between data collection is 300 seconds (five
minutes). The default value for number of collecting threads is computed considering the number
of hosts and the minimum interval between collections.
Collected data is written to a file that can be imported into Capacity Advisor. The user must have
Administrator privileges to run this command on Windows.

Options

Description

Option

Display the capagentlesscfg command usage.

-h

List the current configuration for agentless data collection.

-l

Optional. Define the minimum time (in seconds) seconds for the Windows
(W) or Linux (L) collector, that must pass before the next collection can start.
Default value: 300 seconds (five minutes). To restore the default value after
an alternative value has been specified, use 0 (zero) for the value of
minimum_interval. 14,400 [seconds] is the maximum value allowed.

-[L|W]m#

Optional. Define the number of collectors (threads) to be used to do the
collection seconds for the Windows (W) or Linux (L) collector. Default value:
Computed considering the number of hosts and the minimum interval
between collections. To restore the default value after an alternative value
has been specified, use 0 (zero) for the value of number_of_collectors. 100
[threads] is the maximum value allowed.

-[L|W]n#

RETURN VALUES

Exit values are:
0

Successful execution.

1

An error was encountered.

EXAMPLES

For the listed Windows systems, specify a three-minute interval between data collections.

# capagentlesscfg -m180

210

Command reference