system_nodes_statistics
Retrieve real-time statistics for VPN nodes to monitor system health and performance within the Remnawave administration panel.
Instructions
Get node statistics
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- src/tools/system.ts:51-63 (registration)The tool 'system_nodes_statistics' is registered in the server using server.tool. It calls the 'client.getNodesStatistics()' method.
server.tool( 'system_nodes_statistics', 'Get node statistics', {}, async () => { try { const result = await client.getNodesStatistics(); return toolResult(result); } catch (e) { return toolError(e); } }, ); - src/client/index.ts:197-199 (handler)The handler implementation in the client calls the REST API endpoint defined as REST_API.SYSTEM.STATS.NODES_STATS.
async getNodesStatistics() { return this.get(REST_API.SYSTEM.STATS.NODES_STATS); }