get_host_services
Retrieve running state and startup policy for host services such as SSH, NTP, and firewall. Monitor service status to ensure compliance with expected configurations.
Instructions
[READ] Get host service status (running state and startup policy).
Each entry includes host, service key, label, running (bool), and policy (on/off/automatic). Use to check whether SSH, NTP, or the firewall service is in the expected state.
Args: host_name: Filter to a single host by exact name (None = all hosts). target: Optional vCenter/ESXi target name from config. Uses default if omitted.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| target | No | ||
| host_name | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |