Document navigation

Monitoring and Traffic Analysis

Check the runtime status of ZNS, analyze workload communications, and obtain packet capture results as needed.

After the network is in use, routine checks cover both the control plane and workload communications. Use cluster management to view the runtime status of ZNS nodes and components such as the VIP, database, and OVN. Use traffic analysis to view collected traffic, sessions, and communication relationships within the scope of connected compute managers. Before observing new workload traffic, enable collection on the target hosts and confirm that the collection service is available, then analyze data for the relevant period.

To understand overall traffic changes, start with traffic overview to identify trends and major traffic sources, then narrow the investigation through communication relationships and flow details in traffic topology. If you already know the communicating endpoints, query traffic topology directly. When you need to inspect individual packets, select the relevant VM NIC to create a capture task, then preview packets or download the file for further analysis. If you already know the capture interface, you can also create a capture task directly.

Traffic topology presents communication relationships collected within the selected scope and time range. Capture results provide packets that meet the capture conditions on a specified NIC. During analysis, first check the observation period and collection location, then map the communicating endpoints to the segments, gateways, and VM NICs in use.

View ZNS Cluster Status

Check the health of the control plane cluster, nodes, and services to identify objects that require further investigation.

About this task

Use this task for routine checks or to inspect the ZNS control plane when management functions behave abnormally. This cluster consists of nodes running ZNS services. It is managed separately from the compute clusters and edge clusters that carry workload networks in Fabric.

Procedure

  1. In ZNS, choose System > Cluster Management.
  2. At the top of the page, check cluster health, the number of online nodes, and the status of the VIP, database, and OVN.

    If the environment uses a VIP, you can also view its address and the node hosting it. Use the online node count and individual node status to identify offline nodes or abnormal components.

  3. Check node status in the Cluster Nodes area, then click View Details for a node you want to inspect.
    DetailsWhat to Check
    Basic InformationCheck the node name, addresses, UUID, roles, health, and collection time to confirm the node being inspected and when its status was updated.
    Runtime StatusView the runtime status of node components, along with controller work queue and event queue information.
    Software VersionsView node software versions for version checks and troubleshooting. Software information may be temporarily unavailable when the node is unreachable.
  4. Close the node details and check service status in the Control Plane Services area.
    ServiceAvailable Information
    DatabaseHealth, primary node, replica count, and replication lag.
    OVNRaft status and leader nodes for Northbound and Southbound, along with the runtime status of Northd.
    ControllerHealth, work queue, and event queue information.
  5. To obtain the latest status, click Refresh and recheck abnormal nodes or services with reference to the collection time.

    When investigating an issue, record the node UUID, abnormal components, health, and collection time. If status retrieval fails, also retain the error information displayed on the page.

Results

You have determined the cluster status for this check and identified nodes or control plane services that require further investigation.

Manage Host Traffic Collection

Enable or disable host traffic collection to prepare observation data for traffic analysis and packet capture.

After the target ZSphere environment is registered as a compute manager, manage traffic collection on its associated hosts. To observe newly generated workload traffic, first enable collection on the target hosts. Traffic overview and traffic topology use collected data; capture tasks also require active collection on the target VM NIC. Before using these analysis functions, you need a valid ZNS license that supports traffic visualization and troubleshooting.

In ZNS, choose System > Fabric > Compute Managers, open the target compute manager, then open Related Resources and select Hosts. Check the switch state in Collection Status. If it is Unknown, refresh and check whether status retrieval is working. Do not treat an unknown state as disabled.

Enable Collection

Collection can be enabled only on hosts whose collection status is Disabled. When enabled for the first time, collection covers all eligible NICs on the host. Existing collection scope settings are retained.

  1. In the target host's Actions menu, choose Enable Collection. To enable collection in bulk, select hosts with collection disabled, then open Bulk Action and choose Enable Collection.
  2. Check the hosts and collection scope in the confirmation window, then click Enable Collection.
  3. Return to the list and refresh. Confirm that the target hosts' Collection Status is Enabled, and check that Agent Status is Ready.

An enabled switch means that collection is configured. Actual data also depends on the collection service and workload traffic. For packet capture, select a VM NIC with active collection when creating the task. If traffic analysis has no data, check the host, Agent, observation period, and actual workload traffic together.

Disable Collection

Collection can be disabled only on hosts whose collection status is Enabled. Disabling stops traffic collection on the selected hosts; previously collected data is retained. Before observing new traffic or creating capture tasks again, restore collection on the relevant hosts and NICs.

  1. In the target host's Actions menu, choose Disable Collection. To disable collection in bulk, select hosts with collection enabled, then open Bulk Action and choose Disable Collection.
  2. Check the hosts and the impact of stopping collection, then click Disable Collection.
  3. Return to the list and refresh. Confirm that the target hosts' Collection Status is Disabled.

View Traffic Overview

View traffic trends, session activity, and major traffic sources for a specified compute manager, cluster, and time range.

Before you begin

  • The target ZSphere environment is registered as a compute manager and has workload traffic to observe.
  • A valid ZNS license that supports traffic visualization and troubleshooting is configured.
  • To observe newly generated traffic, traffic collection is enabled on the target hosts and the collection service is working.

About this task

Use traffic overview for routine observation of network usage or to identify the time period and objects to investigate after a workload issue occurs. The page displays data collected within the selected scope.

Procedure

  1. In ZNS, choose Planning & Troubleshooting > Traffic Overview.
  2. Select the target compute manager and limit the cluster and time range as needed.

    You can select All clusters or a specific cluster. Time range options include Last hour, Last 6 hours, Last 24 hours, Last 7 days, and Custom time range. When investigating a past issue, include the period when it occurred.

  3. Check the core metrics at the top of the page to understand session activity and response times within the current observation scope.
    MetricPurpose
    Active SessionsUse with session trends to observe workload communication activity.
    New SessionsObserve the number of new communication sessions and changes in that number.
    Average Service RTTUse with RTT samples from individual flows to check service response latency.
    Incomplete TCP SessionsIdentify TCP communications that require further investigation, then check the communicating endpoints and quality metrics in individual flows.

    A metric displayed as - has no value available for display. Do not interpret it as 0.

  4. Use the trends and distribution to identify changes that need attention.
    • Total Traffic Trend: Compare inbound and outbound bandwidth changes to identify periods of traffic spikes or drops.
    • Session Trend: Compare changes in active sessions and new sessions to check whether they are consistent with workload activity.
    • Traffic by Protocol: View data volumes and percentages for TCP, UDP, and ICMP to identify the main communication protocols.
  5. Check the major traffic sources in Top 8 VMs by Outbound Traffic. Click a target object or View Traffic Topology as needed to continue analyzing communication relationships.

    After entering traffic topology, check the compute manager and time range, then continue investigating communications involving the target object. If no data is available, first check the observation scope, when the issue occurred, and traffic collection on the target host and NIC.

Results

You have identified traffic and session changes within the selected scope, along with the time range, workload objects, or protocols that require further analysis.

Analyze Traffic Topology and Flows

Use topology and flow details to identify communicating endpoints, traffic changes, and capture interfaces that require further investigation.

Before you begin

  • The target ZSphere environment is registered as a compute manager.
  • A valid ZNS license that supports traffic visualization and troubleshooting is configured.
  • To observe newly generated traffic, traffic collection is enabled on the target hosts and the collection service is working.

About this task

Topology View presents collected communication relationships by VM or NIC and helps identify related objects and hotspot relationships. Use Table View to query individual flows and check communication addresses, sent and received traffic statistics, and quality metrics. You can switch between the two views on the same page according to your investigation.

Procedure

  1. In ZNS, choose Planning & Troubleshooting > Traffic Topology.

    You can also enter from Top 8 VMs by Outbound Traffic in traffic overview.

  2. Select the target compute manager, cluster, and time range to cover the workloads and period you want to investigate.

    Topology view can cover all clusters. Table view requires a specific cluster.

  3. Locate relevant communication relationships in Topology View. If you already know the communicating endpoints and want to query details directly, proceed to table view.
    1. Enter a Remote IP / CIDR as needed to limit the remote IPv4 address or subnet. You can also select a Top 10 preset based on new sessions, data sent or received, or packet counts to observe related hotspot objects.
    2. To further limit the scope, click More Filters, select the object type, direction, protocol, ranking metric, and communication relationship limit, then click Apply. Object types include VM View and NIC View. Direction options include All Directions, Locally Initiated, and Remotely Initiated.
    3. Click a target node or communication relationship to view endpoint information, traffic statistics, and related flows in the details, progressively narrowing the investigation.
    Note:
    The topology displays communication relationships according to the ranking metric and relationship limit. When the display limit is reached, narrow the scope or switch to table view to continue querying. The absence of a relationship from the graph does not establish that the communication does not exist.
  4. Open Table View to query and compare individual flows.
    1. Select a specific cluster and filter by the IP / CIDR, VM, or NIC information of the communicating endpoints. Limit the protocol and service port as needed.
    2. Select Ingress or Egress in the table header to view flows for the corresponding observation direction.
    3. Use Flow (Client → Service), sent and received data, packet counts, session counts, and the last observation time to identify communications that require further investigation.

    The initiation direction in the topology distinguishes which endpoint initiated the communication. Ingress and egress in the table indicate the observation direction of a flow. Endpoint and port filters specific to the table apply only to table queries.

  5. Click the communication addresses in a flow to view its details, or click the object names of the communicating endpoints to view endpoint details.

    In the flow details, examine traffic and sessions, quality metrics, and observation information together:

    ContentWhat to Check
    TCP quality metricsAverage service RTT, RTT sample count, retransmission sample rate, and retransmission sample count.
    ICMP quality metricsAverage Echo delay, Echo sample count, timeout sample rate, and timeout sample count.
    Observation informationFirst and last observation times, duration, collection point, and collection host. Confirm the period and collection location to which the data applies.

    Quality metrics depend on the protocol. UDP flows do not provide the TCP or ICMP quality metrics listed above. Consider sample counts during analysis. Retransmission and timeout sample rates reflect collected samples and cannot be treated directly as the packet loss rate for the entire network path. A metric displayed as - has no value available for display.

  6. To inspect packets further, click Start Capture on Interface in the flow details, then check the capture location and filters on the creation page.

    Starting a capture from a flow requires an identifiable compute manager, collection host, and VM. A new task captures packets after it starts. Historical flows help identify the objects to investigate; a new task cannot capture past packets retroactively.

Results

You have identified the communicating endpoints, flows, and collection location to investigate. You can continue troubleshooting with reference to the network configuration or create a capture task to obtain packet evidence.

Create a Capture Task

Select a VM capture interface and set the capture direction, duration, and filters to obtain packets for analysis.

Before you begin

  • The target ZSphere environment is registered as a compute manager.
  • A valid ZNS license that supports traffic visualization and troubleshooting is configured.
  • Traffic collection is enabled on the target host, its collection service is online, and traffic collection is active on the target VM NIC.

About this task

A capture saves only packets that are visible on the selected NIC and match the filters. First determine the capture interface based on the communication you want to investigate, then specify the capture direction and packet conditions. Capture is initiated immediately after task submission, and the duration is measured from the actual start.

Procedure

  1. In ZNS, choose Planning & Troubleshooting > Packet Capture and click Create Capture Task.

    You can also click Start Capture on Interface in the flow details in traffic topology to open the same creation page.

  2. Enter a Task Name and an optional Description, then select the target Compute Manager.

    The task name must contain 1–64 characters without spaces. The description must not exceed 256 characters.

  3. In the Capture Interface area, select the Host, VM, and NIC in sequence.

    Available objects are VM NICs with active traffic collection on the selected host. When entering from a flow, also verify that the capture location matches the object being investigated.

  4. Set the Capture Direction and Duration.

    Direction is relative to the selected NIC. Choose Receive and Transmit, Receive Only, or Transmit Only. Configure it separately from the source and destination address matching conditions below. The default duration is 1 minute. Select a preset duration or choose Custom and set a duration of 1–3600 seconds, using an integer.

  5. Expand Packet Filters (Optional) as needed to limit the packets to save.
    OptionDescription
    Source Address MatchThe default is Any. If you select IP / CIDR, enter a valid source IPv4 address or CIDR.
    Destination Address MatchThe default is Any. If you select IP / CIDR, enter a valid destination IPv4 address or CIDR.
    Protocol MatchThe default is All Protocols. You can also specify TCP, UDP, or ICMP.
    Destination PortConfigure this only when TCP or UDP is specified. Leave it blank for no port restriction, or enter a port number or range within 1–65535, such as 443 or 8000-8080.

    Packets must match all configured conditions. Filters limit only the packets saved on the selected NIC and do not change the capture interface. To inspect both directions of the same communication, set the capture scope with reference to the NIC direction and the source and destination address conditions.

  6. Expand Advanced Configuration as needed to set capture limits and file retention.
    OptionDefaultValues and Meaning
    Maximum File Size (bytes)104857600An integer in the range 4096–104857600 that limits the capture file size.
    Maximum Number of Packets100000An integer in the range 1–1000000 that limits the number of packets saved.
    Per-Packet Capture Length (bytes)1528An integer in the range 64–65535. If a packet exceeds this length, only the captured portion is retained.
    Start Timeout (seconds)60An integer in the range 1–300 that limits how long to wait for capture to actually start.
    File Retention (hours)24An integer in the range 1–168. An expired file can no longer be previewed or downloaded. Download it before expiration if you need to retain it.

    The task ends capture when the duration, packet count, or file size limit is reached. Set limits according to the investigation so that capture does not end before the communication you need to observe occurs.

  7. Check the capture interface, direction, duration, and filters, then click Start Capture.

    Capture parameters of an existing task cannot be changed by editing it. Create a new task to change the capture location, direction, filters, or limits.

  8. Return to the capture list, check the task status and capture interface, and wait for the task to start capturing packets.

    Use the runtime status and capture results to determine whether capture succeeded. If the task fails, open its details and check the Status Reason. Investigate with reference to the collection host status, start timeout, and other relevant information.

Results

The capture task is created. View its details to check the execution status, captured packet count, and file information.

View and Download Capture Results

Check task execution, preview captured packets, and download the capture file before it expires.

Before you begin

A capture task is created, and a valid ZNS license that supports traffic visualization and troubleshooting is available.

Procedure

  1. In ZNS, choose Planning & Troubleshooting > Packet Capture and click the target task name to open its details.
  2. On the Overview tab, check the capture location, parameters, packet filters, and actual start time to confirm that the results apply to this investigation.
  3. In the Capture Results area, check the Status, Status Reason, Capture File, captured packet count, file size, and expiration time.
    ConditionReading and Handling Results
    Task is Capturing and file is GeneratingYou can preview a snapshot of fully written packets. The results are incomplete; wait for capture to end.
    Task is Completed or Stopped, and file is Available for Download and has not expiredYou can preview and download the results. Packets already captured are retained after the task is stopped.
    File is Expired or MissingYou can no longer preview or download it. Create a new capture task if you need to obtain packets again.
    Task is Failed or status is UnknownInvestigate with reference to the status reason, collection host, and actual start information.

    If a task ends because it reaches the duration, packet count, or file size limit, check the status reason to identify which limit was reached. If a completed or stopped task captured 0 packets, check the capture interface, filters, and whether matching traffic was present during capture.

  4. Open the Packet Preview tab to view packets.
    1. Check the packet time, source address, destination address, protocol, and captured length. Browse additional pages as needed to inspect relevant packets.
    2. Click a packet number to view its original length, MAC addresses, ports, TTL, VLAN, and other applicable information in Packet Headers.
    3. While the task is capturing, refresh as needed to obtain a new packet snapshot. Compare the original length and captured length to determine whether the per-packet capture length truncated a packet.
  5. To retain the file or analyze it further, return to the list. In the target task's Actions menu, choose Download.

    Downloading requires a completed or stopped task and a capture file that is available for download and has neither expired nor been lost. To check file information, expand File Technical Details in the task overview to view the SHA-256, parser version, and link type.

    Note:
    Capture files have a retention period. To retain results for the long term, download the file before File Expires At. Deleting a task also deletes its capture file.

Results

You have obtained the required packet information or a local capture file for further communication analysis.

Manage Capture Tasks

Modify task names and descriptions, stop capture, and clean up tasks and files that are no longer needed.

In ZNS, maintain existing tasks under Planning & Troubleshooting > Packet Capture. Editing changes only the task name and description. To change the capture interface, direction, duration, packet filters, or capture limits, create a new task.

Modify a Task Name and Description

  1. In the target task's Actions menu, choose Edit.
  2. Modify the Task Name or Description. The name must contain 1–64 characters without spaces, and the description must not exceed 256 characters.
  3. Click OK, then return to the list or details to check the changes.

Stop Capture

You can stop tasks that are pending or capturing. Packets already captured are retained after the task is stopped. If the file is available for download and has not expired, you can continue to preview or download it.

  1. In the target task's Actions menu, choose Stop.
  2. Check the task to stop, then confirm.
  3. Refresh the list or view the details to confirm that the task has stopped, then check the captured packet count and file status.

Delete Capture Tasks

Deleting a task also deletes its capture file and stops any capture in progress. Deleted files cannot be recovered. Download any results you need to retain first.

  1. In the target task's Actions menu, choose Delete. To clean up multiple tasks, select them and click Delete.
  2. Check the deletion scope and confirm that the required files are saved locally, then confirm deletion.
  3. Return to the list and confirm that the target tasks are removed.