Skip to content

Network Devices


Network device monitoring enables centralized viewing of basic information, online status, interface status, and performance metrics of SNMP-enabled network devices such as routers and switches. It helps you understand the operation of your network infrastructure and quickly locate issues when devices or interfaces are abnormal.


Data Source

Under the standard integration method, devices are not manually created in the TrueWatch console. Device data is primarily collected from network devices by the DataKit deployed in your network environment via the SNMP protocol and reported to the current Workspace.

The simplified data flow is as follows:

DataKit uses the MIB/OID provided by devices to obtain device name, IP address, type, vendor, uptime, interfaces, as well as CPU, memory, network traffic, packet loss, and error packets. Device basic information is used to generate and update the device list, and time-series metrics are used to display performance charts and operational status.

Different vendors and models expose different MIB/OID sets, so the fields and metrics actually displayed may vary. If a built-in Profile does not cover the device model or vendor-private metrics, you can add a custom Profile based on the MIB/OID documentation provided by the vendor.

For the specific configuration method, see SNMP Collector.

Note

If the DataKit SNMP Collector is not configured, this page will not automatically generate device data.


Prerequisites

Before you begin, confirm the following:

  1. DataKit is installed on a host or in a Kubernetes environment that can access the network devices;
  2. SNMP is enabled on the devices to be collected. DataKit supports SNMP v1, v2c, and v3; v3 is recommended when higher security is required;
  3. The corresponding SNMP authentication information is ready:

    • v1/v2c: a read-only community string is sufficient
    • v3: username, authentication protocol and password, privacy protocol and password, etc.
  4. The host where DataKit is deployed can access the device SNMP service, with the default port of UDP 161;

  5. Device ACLs, firewalls, or access management policies allow the host where DataKit is deployed to send SNMP requests.

Connecting Devices

DataKit supports two connection modes, "specific devices" and "auto discovery", which can be used simultaneously. When both modes are used at the same time, the relevant devices must use the same SNMP version and authentication configuration.

Specific Devices

Suitable for scenarios where device IPs are explicit and you want to control the collection scope. In the SNMP Collector configuration, use specific_devices to specify one or more device IPs. DataKit sends SNMP requests directly to these IPs.

Auto Discovery

Suitable for scenarios with a large number of devices or where you need to continuously discover newly added devices. In the SNMP Collector configuration, use auto_discovery to specify one or more CIDR subnets. DataKit periodically probes the IPs within the subnets; when an IP responds to SNMP requests and the returned sysObjectID matches a corresponding Profile, that IP is identified as a network device.

Auto discovery does not mean that TrueWatch scans any network; it only scans the subnets explicitly configured in DataKit.

Completing the Collection Configuration

Depending on the DataKit deployment method, configure device IPs or auto discovery subnets, the SNMP version, and the corresponding authentication information in the SNMP Collector, then restart or update the DataKit configuration. The configuration methods differ between host installation and Kubernetes installation. Follow the corresponding tab in SNMP Collector to complete the setup.

After successful collection, devices automatically appear under Infrastructure > Network > Devices. No need to create them again in the console.

Note

SNMP authentication information is sensitive. Store it securely and do not put real community strings, usernames, or passwords into public documents, screenshots, or code repositories.


Viewing the Device List

Go to Infrastructure > Network > Devices to view the network devices connected to the current Workspace through the DataKit SNMP Collector.

The device list displays:

  • Device status;
  • Device name;
  • Device IP;
  • Device type;
  • Number of interfaces;
  • CPU usage;
  • Memory usage;
  • Device uptime;
  • Last update time.

Whether a device shows related fields depends on the device model, the SNMP Profile, and the MIB/OID actually exposed by the device.

A field without a value does not necessarily indicate a device anomaly; it may also mean that the device does not provide that metric or the current Profile has not yet been adapted.

Configuring Display Columns

The device list extends the original display columns with additional optional fields. Click Columns in the top-right corner of the list to enable or disable fields as needed, and drag fields to adjust their display order; click Reset to restore the default configuration. Device name is a fixed display column.

In addition to the default device information, the following display columns can be selected:

Column Description
Tags Device tags
Ping status The Ping probe status of the device
Inbound throughput, Outbound throughput The inbound and outbound throughput of the device
Vendor Device vendor
SysObjectID The system object ID of the device
Model, Serial number Device model and serial number
Device location Device location information
Version Device version information
Product name The product name of the device
OS name, OS version The operating system information of the device

After a display column is enabled, whether it has a value still depends on the data actually reported by the device and the collection configuration.

Device Status

Device status is determined by when TrueWatch last received data from the device:

  • Active: last update no more than 10 minutes ago; data is updating normally;
  • Suspect: last update more than 10 minutes ago but no more than 15 minutes ago; there may be collection delays or device anomalies;
  • Offline: last update more than 15 minutes ago; the TrueWatch platform has not received new device data.
Note

"Offline" means that the TrueWatch platform has not received new data from the device within the corresponding time period. It does not necessarily mean that the device has lost power. DataKit stopping, collection network interruptions, authentication failures, or the SNMP service being disabled can also cause devices to appear offline.

Search, Filter, and Sort

  • Search: enter a device name or IP to quickly locate a device;
  • Filter: narrow the scope by conditions such as device name, IP, type, and uptime;
  • Active devices: show only devices currently in the active state with one click;
  • Sort: click a column header to sort by the corresponding field in ascending or descending order.

Viewing Device Topology

Go to Infrastructure > Network > Devices and switch to the Topology tab to view the physical network device topology generated from LLDP neighbor discovery data. Nodes in the topology represent network devices, and the connections between nodes represent the physical links between devices.

Prerequisites

Before using the topology view, enable LLDP on the network devices and enable LLDP topology data collection for the DataKit SNMP Collector.

Node Status

Monitored devices follow the same status calculation rules as the device list; neighbor devices discovered only through LLDP but that have not reported snmp_object data are marked as unmonitored.

Status Definition
Active Last update time ≤ 10 minutes
Suspect 10 minutes < last update time ≤ 15 minutes
Offline Last update time > 15 minutes
Unmonitored LLDP has discovered this neighbor device, but there is no corresponding snmp_object record in the device list

The topology uses different node styles to distinguish device states. Unmonitored neighbors appear as gray nodes, making it easy to quickly identify network devices that have not yet been included in monitoring.

Node Information

Hover over a monitored device node to view device name, IP address, vendor, status, CPU usage, memory usage, and connection count, and to perform the following actions:

  • View details: opens Device Information on the device details page of this device;
  • Interface traffic: opens Interface Information on the device details page of this device to view interface status and traffic data.

Hover over an unmonitored neighbor node to view the device name discovered by LLDP, the available IP address, and the "Unmonitored" status.

Note

If the LLDP data does not provide a stable peer IP address, the IP address of an unmonitored neighbor may be empty. When a device does not report CPU or memory metrics, the corresponding data may also be empty.

Node Display Rules

Scenario Topology display
A monitored device has discovered neighbors Nodes are displayed according to device status, with connections to the neighbors
LLDP has discovered an unmonitored neighbor Gray nodes and their connections are displayed; hovering shows the device information that LLDP can provide
A monitored device has not discovered any neighbors Isolated nodes without connections are displayed, with a connection count of 0
A device is unmonitored and has not been discovered by LLDP Not displayed

Shortcuts

  • Search: search and filter nodes by device name or IP address;
  • Legend: view the meaning of different node states and styles;
  • Canvas controls: zoom in, zoom out, or fit the topology to the view.

Viewing Device Details

Click a device name to open the details page, where you can view device information, interface operation, performance metrics, and related devices.

Device Information

The Device Information section displays the basic attributes of the current device, including:

  • Uptime: how long the device has been running since its most recent startup;
  • Vendor ID: the vendor OID returned by the device;
  • Average CPU usage: the CPU usage of the device;
  • Average memory usage: the memory usage of the device;
  • Interface count: the total number of network interfaces collected from the device;
  • Device description: descriptive information returned by the device, such as vendor, model, and software version;
  • Extended attributes: device tags and metadata, searchable by field name or value.

If some information is empty, first confirm whether the device returns the corresponding OIDs via SNMP and whether the current device Profile includes these fields.

Interface Information

The Interface Information section displays the status and traffic statistics of the device network interfaces, including:

  • Total number of interfaces and the distribution of Up, Down, and Admin Down states;
  • Interface names and statuses;
  • Inbound and outbound traffic;
  • Inbound and outbound error packets;
  • Interface bandwidth upper limits.

You can filter by interface status to quickly locate abnormal ports; you can also use the settings entry in the top-right corner of the page to configure a Monitor for interface metrics.

When an interface has no traffic or error packet data, check whether the device exposes IF-MIB, whether the interface counters are readable, and whether the Profile contains the corresponding OIDs.

Performance Metrics

The Performance Metrics section displays time-series data for devices and interfaces in charts, mainly including:

  • Basic metrics: CPU Usage, Mem Usage, Interface IfOperStatus, TCP CurrEstab, etc.;
  • Traffic metrics: Inbound Throughput, Outbound Throughput, etc.;
  • Interface network: inbound and outbound network traffic for each interface;
  • Interface packet loss and errors: dropped packet and error packet statistics for each interface.

You can switch the query range with the time selector at the top, or filter data by device IP or device name.

On the device details page, switch to the Related Devices tab to directly view the LLDP neighbors and interface connections of the current device, without switching to the topology view.

Before use, enable LLDP on the network devices and enable LLDP topology data collection for the DataKit SNMP Collector.

The related device list displays the following information:

Information Description
Neighbor device name The peer device name discovered by LLDP
Management IP The management IP address reported by the neighbor device
Current device interface The local interface on the current device that connects to the neighbor
Neighbor device interface The connecting interface on the peer device
Discovery protocol The protocol used to discover this neighbor

You can search related devices and view connection details; devices associated with collection targets support click-through to the device details page. Neighbors that have not reported a management IP remain in the list, so you can verify interface connection information and troubleshoot missing links in the topology.


FAQ

No devices appear in the list

Confirm the following in order:

  1. Whether DataKit is installed and running normally;
  2. Whether the SNMP Collector is enabled, and whether DataKit has been restarted after configuration changes;
  3. Whether the correct device IPs or auto discovery subnets are configured;
  4. Whether SNMP is enabled on the devices;
  5. Whether the SNMP version and authentication information match the device side;
  6. Whether DataKit can access the device UDP 161 port;
  7. Whether the device OIDs can be read when running snmpwalk on the host where DataKit is deployed;
  8. In auto discovery mode, whether the sysObjectID returned by the device can match a Profile;
  9. Whether DataKit reports data to the Workspace you are currently viewing.

Devices are visible, but there are no CPU, memory, or some interface metrics

DataKit collects common baseline metrics from SNMP devices, but vendor-private metrics depend on the corresponding MIB/OID and Profile. Confirm the following:

  • Whether the device provides the metric via SNMP;
  • Whether the current Profile supports the vendor and model;
  • Whether the device account has read permission for the corresponding MIB;
  • Whether a custom Profile needs to be added for the device.

Devices suddenly show as Suspect or Offline

In addition to device failures, the following causes may apply:

  • DataKit stops running or restarts;
  • The network between DataKit and the device is interrupted;
  • The SNMP service is disabled;
  • SNMP authentication information has changed;
  • Device ACL or firewall policies have changed;
  • Collection tasks time out or the reporting pipeline is abnormal.

It is recommended to run snmpwalk on the host where DataKit is deployed first to distinguish between device access issues and data reporting issues.


How soon will a new device appear in the list

In specific device mode, DataKit polls devices according to the configured collection interval; in auto discovery mode, the auto discovery interval also applies. The current default intervals for the SNMP Collector are: metrics are collected every 10 seconds, device information is collected every 5 minutes, and auto discovery is performed every 1 hour. All of these intervals are adjustable; the actual appearance time depends on your collector configuration.