health_check
Checks health of an IBM Liberty application by performing an HTTP probe and verifying the application process is running on a remote server via SSH.
Instructions
SSH to a server and check an IBM Liberty app's health: an HTTP probe against
http://127.0.0.1:port/uri (via curl/wget/python3, whichever is present), and a
process check via ps -ef (no JDK/jps/server-status dependency, no root paths).
Args:
server_ip: Hostname or IP address of the server to connect to over SSH.
os_user: SSH username to authenticate as.
ssh_key: Path to the private key file (on this machine) used for authentication.
port: Local port the application listens on.
uri: URI path to request for the HTTP health check (e.g. /health).
application: Application/server name to look for among running processes.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| uri | Yes | ||
| port | Yes | ||
| os_user | Yes | ||
| ssh_key | Yes | ||
| server_ip | Yes | ||
| application | Yes |