VMware

Monitoring Namespace

Monitoring namespace provides commands Get and list monitoring data for requested item.

List of commands:



Query Command

dcli com vmware appliance monitoring query

Description

Get monitoring data.

Options

Option Name Type Required Description
names string Yes monitored item IDs Ex: CPU, MEMORY When clients pass a value of this class as a parameter, the option must contain identifiers for the resource type: com.vmware.appliance.monitoring. When commands return a value of this class as a output, the option will contain identifiers for the resource type: com.vmware.appliance.monitoring.
interval string Yes interval between values in hours, minutes Valid values are: {MINUTES30, HOURS2, MINUTES5, DAY1, HOURS6}
function string Yes aggregation function Valid values are: {COUNT, MAX, AVG, MIN}
start‑time string Yes Starting time
end‑time string Yes Ending time

Example

dcli com vmware appliance monitoring query --names testId --interval test --function test --start-time test --end-time test


List Command

dcli com vmware appliance monitoring list

Description

Get monitored items list

Example

dcli com vmware appliance monitoring list


Get Command

dcli com vmware appliance monitoring get

Description

Get monitored item info

Options

Option Name Type Required Description
stat‑id string Yes statistic item id The parameter must be an identifier for the resource type: com.vmware.appliance.monitoring.

Example

dcli com vmware appliance monitoring get --stat-id testId