Check Instance Health
check_instance_healthRun a consolidated health check on a ServiceNow instance to assess overall health. Returns version, cluster status, stuck jobs, semaphore count, and open incident/change/problem counts.
Instructions
Run a consolidated health check on a ServiceNow instance. Returns version info, cluster node status, stuck scheduled jobs, active semaphore count, and operational counts (open incidents, changes, problems).
Each section can be individually enabled/disabled. Use this to quickly assess the overall health and status of an instance.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| instance | No | The ServiceNow instance auth alias (e.g., "myinstance", "prod"). If not provided, falls back to the SN_AUTH_ALIAS environment variable. | |
| include_version | No | Include ServiceNow version/build info. | |
| include_cluster | No | Include cluster node status. | |
| include_stuck_jobs | No | Include stuck scheduled jobs. | |
| include_semaphores | No | Include active semaphore count. | |
| include_operational_counts | No | Include operational counts (open incidents, changes, problems). | |
| stuck_job_threshold_minutes | No | Threshold in minutes for considering a scheduled job stuck. Jobs running longer than this are flagged. Default is 30 minutes. |