list_nsx_alarms
Retrieve active NSX alarms with severity, feature, description, and entity details to monitor and troubleshoot VMware NSX networking issues.
Instructions
Get all active NSX alarms with severity, feature, description, and entity.
Args: target: Optional NSX Manager target name from config. Uses default if omitted.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| target | No |
Output Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |
Implementation Reference
- mcp_server/server.py:288-297 (handler)MCP tool registration for list_nsx_alarms. Note: This imports `list_nsx_alarms` from `vmware_nsx.ops.health`, but in the actual `vmware_nsx/ops/health.py` file, the function is named `list_alarms`. This indicates a discrepancy in the original codebase between the import alias and the actual function definition, or an undocumented alias.
def list_nsx_alarms(target: str | None = None) -> list[dict]: """Get all active NSX alarms with severity, feature, description, and entity. Args: target: Optional NSX Manager target name from config. Uses default if omitted. """ from vmware_nsx.ops.health import list_nsx_alarms as _list_alarms client = _get_connection(target) return _list_alarms(client)