get_host_details
Retrieve detailed host information from Ambari clusters, including hardware specs, metrics, component assignments, and operational status for specific hosts or all cluster nodes.
Instructions
Retrieves detailed information for a specific host or all hosts in the Ambari cluster.
[Tool Role]: Dedicated tool for retrieving comprehensive host details including metrics, hardware info, and components.
[Core Functions]:
If host_name provided: Query specific host information
If host_name not provided: Query all hosts and their detailed information
Return host hardware specs, state, metrics, and assigned components
Provide formatted output for LLM automation and cluster management
[Required Usage Scenarios]:
When users request specific host details or host status
When users request all hosts details or cluster-wide host information
When auditing or monitoring individual or all cluster nodes
When troubleshooting host-specific issues
Args: host_name: Name of the specific host to retrieve details for (optional, e.g., "bigtop-hostname0.demo.local")
Returns: Detailed host information (success: formatted details, failure: error message)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| host_name | No |