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.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"server_ip": "<server_ip>",
"os_user": "<os_user>",
"ssh_key": "<ssh_key>",
"port": "<port>",
"uri": "<uri>",
"application": "<application>"
},
"name": "health_check"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| uri | Yes | ||
| port | Yes | ||
| os_user | Yes | ||
| ssh_key | Yes | ||
| server_ip | Yes | ||
| application | Yes |