nemoclaw-user-monitor-sandbox
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
Chinese<!-- SPDX-FileCopyrightText: Copyright (c) 2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. -->
<!-- SPDX-License-Identifier: Apache-2.0 -->
<!-- SPDX-FileCopyrightText: Copyright (c) 2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. -->
<!-- SPDX-License-Identifier: Apache-2.0 -->
Monitor Sandbox Activity and Debug Issues
监控沙箱活动并调试问题
Prerequisites
前提条件
- A running NemoClaw sandbox.
- The OpenShell CLI on your .
PATH
Use the NemoClaw status, logs, and TUI tools together to inspect sandbox health, trace agent behavior, and diagnose problems.
- 运行中的NemoClaw沙箱。
- 系统中已配置OpenShell CLI。
PATH
结合使用NemoClaw的状态、日志和TUI工具来检查沙箱健康状态、追踪Agent行为并诊断问题。
Check Sandbox Health
检查沙箱健康状态
Run the status command to view the sandbox state, gateway health, and active inference configuration:
console
$ nemoclaw <name> statusFor local Ollama and local vLLM routes, also probes the host-side health endpoint directly.
This catches a stopped local backend before you retry from inside the sandbox.
nemoclaw <name> statusinference.localKey fields in the output include the following:
- Sandbox details, which show the configured model, provider, GPU mode, and applied policy presets.
- Gateway and process health, which show whether NemoClaw can still reach the OpenShell gateway and whether the in-sandbox agent process is running.
- Inference health for local Ollama and local vLLM, which shows or
healthytogether with the probed local URL.unreachable - NIM status, which shows whether a NIM container is running and healthy when that path is in use.
Run on the host to check sandbox state.
Use for the underlying sandbox details.
nemoclaw <name> statusopenshell sandbox list运行状态命令以查看沙箱状态、网关健康情况以及当前推理配置:
console
$ nemoclaw <name> status对于本地Ollama和本地vLLM路由,还会直接探测主机端的健康端点。这可以在你从沙箱内部重试之前,发现已停止的本地后端服务。
nemoclaw <name> statusinference.local输出中的关键字段包括:
- 沙箱详情:显示已配置的模型、服务商、GPU模式以及已应用的策略预设。
- 网关与进程健康情况:显示NemoClaw是否仍能连接到OpenShell网关,以及沙箱内的Agent进程是否在运行。
- 本地Ollama和本地vLLM的推理健康状态:显示或
healthy,同时显示探测到的本地URL。unreachable - NIM状态:当使用该路径时,显示NIM容器是否在运行且状态健康。
在主机上运行以检查沙箱状态。使用查看底层沙箱详情。
nemoclaw <name> statusopenshell sandbox listView Blueprint and Sandbox Logs
查看蓝图与沙箱日志
Stream the most recent log output from the blueprint runner and sandbox:
console
$ nemoclaw <name> logsTo follow the log output in real time:
console
$ nemoclaw <name> logs --follow流式输出蓝图运行器和沙箱的最新日志:
console
$ nemoclaw <name> logs要实时追踪日志输出:
console
$ nemoclaw <name> logs --followMonitor Network Activity in the TUI
在TUI中监控网络活动
Open the OpenShell terminal UI for a live view of sandbox network activity and egress requests:
console
$ openshell termFor a remote sandbox, SSH to the instance and run there.
openshell termThe TUI shows the following information:
- Active network connections from the sandbox.
- Blocked egress requests awaiting operator approval.
- Inference routing status.
Refer to Approve or Deny Agent Network Requests (use the skill) for details on handling blocked requests.
nemoclaw-user-manage-policy打开OpenShell终端UI,实时查看沙箱网络活动和出站请求:
console
$ openshell term对于远程沙箱,先通过SSH连接到实例,再运行。
openshell termTUI显示以下信息:
- 沙箱的活跃网络连接。
- 等待操作员批准的被拦截出站请求。
- 推理路由状态。
有关处理被拦截请求的详细信息,请参考《批准或拒绝Agent网络请求》(使用技能)。
nemoclaw-user-manage-policyTest Inference
测试推理
Run a test inference request to verify that the provider is responding:
console
$ nemoclaw my-assistant connect
$ openclaw agent --agent main --local -m "Test inference" --session-id debugIf the request fails, check the following:
- Run to confirm the active provider and endpoint. For local Ollama and local vLLM, check the
nemoclaw <name> statusline first. If it showsInference, restart the local backend before retrying from inside the sandbox.unreachable - Run to view error messages from the blueprint runner.
nemoclaw <name> logs --follow - Verify that the inference endpoint is reachable from the host.
运行测试推理请求以验证服务商是否响应:
console
$ nemoclaw my-assistant connect
$ openclaw agent --agent main --local -m "Test inference" --session-id debug如果请求失败,请检查以下内容:
- 运行确认当前服务商和端点。对于本地Ollama和本地vLLM,先查看
nemoclaw <name> status行。如果显示Inference,请先重启本地后端服务,再从沙箱内部重试。unreachable - 运行查看蓝图运行器的错误信息。
nemoclaw <name> logs --follow - 验证推理端点是否可从主机访问。
Related Skills
相关技能
- — Troubleshooting (use the
nemoclaw-user-referenceskill) for common issues and resolution stepsnemoclaw-user-reference - — Approve or Deny Agent Network Requests (use the
nemoclaw-user-manage-policyskill) for the operator approval flownemoclaw-user-manage-policy - — Switch Inference Providers (use the
nemoclaw-user-configure-inferenceskill) to change the active providernemoclaw-user-configure-inference
- — 故障排查(使用
nemoclaw-user-reference技能),包含常见问题及解决步骤nemoclaw-user-reference - — 批准或拒绝Agent网络请求(使用
nemoclaw-user-manage-policy技能),介绍操作员批准流程nemoclaw-user-manage-policy - — 切换推理服务商(使用
nemoclaw-user-configure-inference技能),用于更改当前服务商nemoclaw-user-configure-inference