whatap_install_agent
Generate platform-specific WhaTap agent installation commands with pre-filled access credentials for a monitoring project. Detects the project platform and includes OpenAgent setup for Prometheus and OpenMetrics collection.
Instructions
Get agent installation commands for a WhaTap monitoring project. Automatically detects the project platform and returns pre-filled installation commands with the correct access credentials.
PREREQUISITES: projectCode from whatap_list_projects.
The tool fetches the project's accesskey and server connection info, then generates platform-specific installation commands.
Also includes OpenAgent installation for Prometheus/OpenMetrics collection (Nginx, Kafka, Apache, Istio, Milvus, Aerospike, custom exporters).
IMPORTANT: The returned commands require shell access with appropriate privileges. Execute them step by step and verify each step succeeds.
Supported platforms: INFRA, JAVA, NODEJS, PYTHON, PHP, DOTNET, GO, LOG, KUBERNETES, NPM, POSTGRESQL, ORACLE, ORACLE_DMA, MYSQL, MSSQL, TIBERO, CUBRID, ALTIBASE, REDIS, MONGODB, DB2, SAP_ASE, KAFKA, AEROSPIKE, APACHEPULSAR, NGINX, APACHE, MILVUS, VCENTER
Example: whatap_install_agent(projectCode=38) Example with OS: whatap_install_agent(projectCode=38, os="debian")
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": {
"projectCode": "<projectCode>"
},
"name": "whatap_install_agent"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| os | No | Target OS for platforms with multiple variants (e.g., "debian", "centos", "amazon", "freebsd", "windows", "alpine", "suse", "aix"). If omitted, all variants are shown for INFRA; auto-detected where possible. | |
| projectCode | Yes | Project code (pcode). Get this by calling whatap_list_projects first — it returns all accessible projects with their pcodes. |