get_service_status
Retrieve real-time status and detailed state information for a specific service in an Ambari cluster, aiding in troubleshooting, monitoring, and service health checks via the Ambari REST API.
Instructions
Retrieves the status information for a specific service in an Ambari cluster.
[Tool Role]: Dedicated tool for real-time retrieval of specific service status and state information
[Core Functions]:
- Retrieve specific service status via Ambari REST API
- Provide detailed service state information (STARTED, STOPPED, INSTALLING, etc.)
- Include service configuration and component information
[Required Usage Scenarios]:
- When users ask about specific service status (e.g., "HDFS status", "YARN state")
- When troubleshooting service issues
- When monitoring specific service health
Args: service_name: Name of the service to check (e.g., "HDFS", "YARN", "HBASE")
Returns: Service status information (success: detailed status, failure: error message)
Input Schema
Name | Required | Description | Default |
---|---|---|---|
service_name | Yes |