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
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) |