ambari_alerts_getalerts
Retrieve and filter alerts for an Ambari cluster by state, host, component, or maintenance status.
Instructions
Get all alerts for a cluster with filtering options
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": {
"clusterName": "<clusterName>"
},
"name": "ambari_alerts_getalerts"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| clusterName | Yes | The name of the cluster | |
| fields | No | Filter fields in the response | * |
| hostName | No | Filter alerts by host name (optional) | |
| componentName | No | Filter alerts by component name (optional) | |
| state | No | Filter alerts by state (CRITICAL, WARNING, OK, UNKNOWN) | |
| maintenanceState | No | Filter alerts by maintenance state (ON, OFF) |