certificate_status
Check ESXi host certificate expiry dates and flag certificates expiring within a configurable warning period to prevent management outages.
Instructions
[READ] Per-host ESXi management certificate expiry.
An expired ESXi cert drops host management — this surfaces it before the
outage. Returns host, not_after, days_until_expiry, and an expiring flag
(within warn_days or already expired), soonest-to-expire first. Uses the
API-native certificateInfo (no PEM parsing).
Args: warn_days: Flag certs expiring within this many days (default 30). target: Optional vCenter/ESXi target name from config. Uses default if omitted. limit: Max number of host rows to return (None = all).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| target | No | ||
| warn_days | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |