---
title: Setup
description: >-
  Get started with your network-connected devices, such as routers, switches,
  servers, and firewalls.
breadcrumbs: Docs > Network Monitoring > Network Device Monitoring > Setup
---

# Setup

## Overview{% #overview %}

Network Device Monitoring helps you gain insights into the health and performance of your on-prem routers, switches, and firewalls. After the Datadog Agent is installed on a host that has access to the network, the Agent can automatically detect network devices and collect metrics right out of the box.

This guide covers configuring Network Device Monitoring on your hosts, enriching device tags, setting up and viewing device profiles, viewing data in NetFlow Monitoring, and validating data in the provided dashboards and Device Topology Map.

{% image
   source="https://datadog-docs.imgix.net/images/network_device_monitoring/getting_started/ndm_landing_page_2.ce99188249f2f44484397786d9c4420e.png?auto=format"
   alt="The Network Device Monitoring landing page, showing graphs and interfaces." /%}

## How it works{% #how-it-works %}

The following diagram illustrates the data flow between Syslog, SNMP traps, and NetFlow information. The devices send the relevant information to the Datadog Agent over the ports as shown in the diagram (ports can be changed if needed by configuration in the Agent). For API based integrations, the Datadog Agent connects with the network device vendor software controllers or managers on-premise or in the cloud based on specific `https` API integrations instructions per vendor. The Datadog Agent, configured with NDM and deployed on-premises or in the cloud, consolidates all collected device and network data from your network and sends it to Datadog over HTTPS on port `443`. This provides unified, full-stack observability of metrics, logs, traces, monitors, and dashboards.

{% image
   source="https://datadog-docs.imgix.net/images/network_device_monitoring/getting_started/syslog_trap_netflow.552cf160f9a27cec00fe61f5388c6d4b.png?auto=format"
   alt="NDM Diagram showing the flow for Syslog, trap and Netflow collection." /%}

## Next steps{% #next-steps %}

Follow the instructions below to configure Datadog to monitor your network devices.

## Prerequisites{% #prerequisites %}

### Install the Agent{% #install-the-agent %}

Navigate to the [Agent installation page](https://app.datadoghq.com/account/settings/agent/latest), and install the [Datadog Agent](https://docs.datadoghq.com/agent) on your host (usually a server that is **not** the monitored device).

{% image
   source="https://datadog-docs.imgix.net/images/network_device_monitoring/getting_started/ndm_install_agent.b3dac3f3bb7f38ebca11b6bd58f469ca.png?auto=format"
   alt="The Agent configuration page, highlighting the Ubuntu installation." /%}

## Setup{% #setup %}

### High Availability{% #high-availability %}

{% callout %}
# Important note for users on the following Datadog sites: app.ddog-gov.com



{% alert level="danger" %}
High Availability support of the Datadog Agent is in not supported for your selected [Datadog site](https://docs.datadoghq.com/getting_started/site) ().
{% /alert %}


{% /callout %}

High Availability (HA) support of the Datadog Agent in Network Device Monitoring allows you to designate an active Agent and a standby Agent, ensuring automatic failover if the active Agent encounters an issue. This setup eliminates the Agent as a single point of failure, maintaining continuous monitoring during unexpected incidents or planned maintenance, such as OS updates and Agent upgrades.

You can configure active and standby Agents to function as an HA pair in NDM. If the active Agent goes down, the standby Agent takes over within 90 seconds, becoming the new active Agent. Additionally, you can designate a preferred active Agent, allowing NDM to automatically revert to it once it becomes available again. This feature allows for proactive Agent switching ahead of scheduled maintenance.

For more information, see [High Availability support of the Datadog Agent](https://docs.datadoghq.com/integrations/guide/high_availability).

### Configuration{% #configuration %}

To begin monitoring your network devices, enable SNMP monitoring using one of the following methods:

{% dl %}

{% dt %}
[Individual devices](https://docs.datadoghq.com/network_monitoring/devices/snmp_metrics/?tab=snmpv2#monitoring-individual-devices)
{% /dt %}

{% dd %}
Configure SNMP monitoring on your individual devices.
{% /dd %}

{% dt %}
[Autodiscovery](https://docs.datadoghq.com/network_monitoring/devices/snmp_metrics/#autodiscovery)
{% /dt %}

{% dd %}
Configure SNMP monitoring using Autodiscovery.
{% /dd %}

{% dt %}
[Ping](https://docs.datadoghq.com/network_monitoring/devices/ping)
{% /dt %}

{% dd %}
Configure the SNMP check to send ICMP pings to your devices.
{% /dd %}

{% dt %}
[Syslog](https://docs.datadoghq.com/network_monitoring/devices/syslog)
{% /dt %}

{% dd %}
Configure your devices to send Syslog messages.
{% /dd %}

{% dt %}
[VPN Monitoring](https://docs.datadoghq.com/network_monitoring/devices/vpn_monitoring)
{% /dt %}

{% dd %}
Configure VPN monitoring to start monitoring your devices' VPN tunnels.
{% /dd %}

{% /dl %}

### Enrich network devices with tags{% #enrich-network-devices-with-tags %}

After NDM is configured on your devices, you can further enrich them by adding network device tags using the following methods:

{% dl %}

{% dt %}
[Datadog Agent](https://docs.datadoghq.com/agent)
{% /dt %}

{% dd %}
The Agent can collect device tags when configuring [individual devices](https://docs.datadoghq.com/network_monitoring/devices/snmp_metrics/?tab=snmpv2#monitoring-individual-devices) or with [Autodiscovery](https://docs.datadoghq.com/network_monitoring/devices/snmp_metrics/#autodiscovery).
{% /dd %}

{% dt %}
[Device profiles](https://docs.datadoghq.com/network_monitoring/devices/guide/device_profiles/)
{% /dt %}

{% dd %}
Configure the Agent to collect and customize specific metrics and tags by creating device profiles directly in the app.
{% /dd %}

{% dt %}
[ServiceNow integration](https://docs.datadoghq.com/integrations/servicenow/#network-device-tagging)
{% /dt %}

{% dd %}
Dynamically enrich network devices monitored by Datadog Network Device Monitoring with data defined in ServiceNow's CMDB (Configuration Management Database).
{% /dd %}

{% dt %}
Network Device Monitoring API
{% /dt %}

{% dd %}
Utilize the Network Device Monitoring API to programmatically add tags to your network devices.
{% /dd %}

{% /dl %}

### Customize metrics and tags{% #customize-metrics-and-tags %}

Customize metrics and tags on your devices by viewing the [Supported Devices](https://docs.datadoghq.com/network_monitoring/devices/supported_devices) page to view out-of-the-box device profiles. If you would like to edit or add more metrics, the following options are available:

{% dl %}

{% dt %}
[Device profiles](https://docs.datadoghq.com/network_monitoring/devices/profiles)
{% /dt %}

{% dd %}
Directly edit metrics and tags in the Datadog Agent `yaml` file with device profiles.
{% /dd %}

{% dt %}
[GUI based profile authoring](https://docs.datadoghq.com/network_monitoring/devices/guide/device_profiles/)
{% /dt %}

{% dd %}
Take advantage of Datadog Network Monitoring's GUI based device onboarding experience where you can add custom metrics and tags to your devices.
{% /dd %}

{% /dl %}

### NetFlow Monitoring{% #netflow-monitoring %}

Configure [NetFlow Monitoring](https://docs.datadoghq.com/network_monitoring/netflow/) to visualize and monitor your flow records from your NetFlow-enabled devices.

{% image
   source="https://datadog-docs.imgix.net/images/network_device_monitoring/netflow/home.b3dbc6522c8af959550b01b0e16fd2c0.png?auto=format"
   alt="The NetFlow Monitoring page containing tabs for top sources, destinations, protocols, source ports, destination ports, and device trends" /%}

## Validate your data{% #validate-your-data %}

- Start monitoring your entire network infrastructure on the [Network Devices](https://app.datadoghq.com/devices) page.
- View metrics collected on Datadog's out-of-the-box dashboards:
  - [Overview of all devices monitored](https://app.datadoghq.com/dash/integration/30409/datacenter-overview)
  - [Performance of interfaces on your network devices](https://app.datadoghq.com/dash/integration/30417/interface-performance)
- Use the Network [Device Topology Map](https://docs.datadoghq.com/network_monitoring/devices/device_topology_map) to identify and troubleshoot issues with your devices.

## Use the Network API{% #use-the-network-api %}

- Use the [Network API](https://docs.datadoghq.com/api/latest/network-device-monitoring/) to extract the following information about your network devices:
  - [Get the list of interfaces for your devices.](https://docs.datadoghq.com/api/latest/network-device-monitoring/#get-the-list-of-interfaces-of-the-device)

  - [Get the list of tags for your devices.](https://docs.datadoghq.com/api/latest/network-device-monitoring/#get-the-list-of-tags-for-a-device)
  - [Update the list of tags for your devices.](https://docs.datadoghq.com/api/latest/network-device-monitoring/#update-the-tags-for-a-device)

## Troubleshooting{% #troubleshooting %}

- See the Network Device [Troubleshooting](https://docs.datadoghq.com/network_monitoring/devices/troubleshooting) page for more information on troubleshooting your NDM issues.

## Further Reading{% #further-reading %}

- [Supported NDM Devices](https://docs.datadoghq.com/network_monitoring/devices/supported_devices)
- [NDM Data Collected](https://docs.datadoghq.com/network_monitoring/devices/data/)
- [Monitor and diagnose network performance issues with SNMP Traps](https://www.datadoghq.com/blog/diagnose-network-performance-with-snmp-trap-monitoring/)
