hmc_set_pcm_preferences
Set PCM data collection preferences for a managed system or logical partition: enable or disable aggregation, long-term/short-term monitoring, and energy monitoring.
Instructions
Enable/disable PCM data collection for a resource.
category is the resource type, e.g. 'ManagedSystem' or 'LogicalPartition';
resource_name_or_uuid is the name or UUID of that resource. Only the flags
you set are changed. Turning on aggregation implicitly enables long-term
monitoring on the HMC. Long-term + aggregation are required before
processed/aggregated metrics become available. Returns the updated
preferences dict ({} if the HMC returns no body).
Raises: ValueError: if no preference flags are supplied.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"category": "<category>",
"resource_name_or_uuid": "<resource_name_or_uuid>"
},
"name": "hmc_set_pcm_preferences"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| category | Yes | ||
| aggregation | No | ||
| compute_ltm | No | ||
| energy_monitor | No | ||
| long_term_monitor | No | ||
| short_term_monitor | No | ||
| resource_name_or_uuid | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||