Configure Data Center Director

These topics describe the configurations to be done in Apstra Data Center Director.

Configlets

Configlets are pre-built configuration templates that deploy sFlow collection and SNMP enrichment configuration to your network devices. Two configlets must be imported: one to enable sFlow data collection, and one to enable SNMP-based interface name enrichment. Deploy both to each blueprint that will send data to Data Center Assurance.

The following sections walk you through deploying each configlet, with explanations of the property sets you will need to configure.

Deploy the Flow Data Configlet

The Flow Data Configlet enables sFlow collection on your devices. It configures sFlow polling intervals, sample rates, the collector IP address (where sFlow data is sent), and which interfaces to monitor. You must configure the collector IP address to point to your Apstra Flow server.

  1. In Apstra Data Center Director, navigate to Blueprints > Analytics > Staged.
  2. Click the Catalog tab and select Configlets.
  3. Click Import Configlet.
  4. From the drop-down menu, select Flow Data for Optional Flow Analytics.
  5. Select the devices you want to apply the configlet to, then click Import Configlet.


Configure the Flow Data Property Set

After importing the configlet, configure the property set to specify the IP address of your Apstra Flow server.

  1. Click Edit on the property set.
  2. Set the Collector IP Address to the IP address of your Apstra Flow Data VM.


  3. Click Update.
  4. Import the property set into each blueprint using the global catalog, the same way you imported the configlet.
  5. Commit your configuration to push the changes to your devices.
    Note:

    The collector IP address you set in the property set replaces the example IP in the configlet. Ensure that you enter the correct IP for your Flow server before committing.

The Flow Data Configlet includes the following configuration elements, which you can customize further if necessary:

  • Routing: A static route directs sFlow traffic over the management Junos RPF interface, ensuring it reaches the collector even if the default route changes.
  • Polling interval: Controls how frequently sFlow statistics are collected. Default is 10 seconds.
  • Sample rate: Sets the ratio of packets examined to packets sampled. Higher values (like 1024) reduce overhead; lower values (like 100) increase data fidelity.
  • Source IP: The IP address on the device used as the source for sFlow datagrams.
  • Collector: The IP address and UDP port (default 6343) where sFlow data is sent.
  • Interfaces: The physical interfaces from which sFlow data is collected.

The following is an example of a Flow Data Configlet:

Deploy the SNMP for Flow Data Interface Enrichment Configlet

The SNMP enrichment configlet allows Apstra Flow to retrieve interface names, such as ge-0/0/1, from your devices via SNMP, instead of displaying raw interface index numbers. This makes flow data more readable in dashboards and reports. Without this configlet, interfaces appear as index:522, or index:524, for example.

  1. In Apstra, navigate to Blueprints > Staged.
  2. Click the Catalog tab and select Configlets.
  3. Click Import Configlet.
  4. From the Global Catalog, select SNMP for Flow Data Interface Enrichment.
    Figure 1: Import Configlet

    Import Configlet
  5. Select the devices you want to apply the configlet to, then click Import Configlet.

Configure the SNMP Property Set

After importing the SNMP configlet, configure the property set with the SNMP community string. This string must match the read-only community configured on your network devices.

  1. Click Edit on the property set.
  2. Set the SNMP Community String to the community value configured on your devices. The default is public, but yours may differ.


  3. Click Update.
  4. Import the property set into each blueprint using the global catalog.
  5. Commit your configuration to push the changes to your devices.
    Note:

    The SNMP community string must match what is configured on your Junos devices. If they don't match, SNMP queries will fail and interface names won't be enriched.

Enable Streaming on the Optical Transceivers Probe

The Optical Transceivers probe doesn’t have streaming enabled by default. If this probe is not already instantiated in your blueprint, navigate to Analytics > Probes > Create Probe > Instantiate Predefined Probe and select it from the list.

Follow these steps to enable streaming on the Optical Transceivers probe:

  1. From your blueprint, navigate to Analytics > Probes. Select the checkbox next to the Optical Transceiver probe and click Edit.
  2. Click Edit Processors.
  3. Click the Advanced drop-down and select the Enable Streaming checkbox.
    Figure 2: Enable Streaming Enable Streaming
  4. Repeat this process for the following processors:
    • Processor: Summarized Interface Status: Optical Threshold
    • Processor: Sustained Optical Threshold Anomaly: Time in State

  5. Click Update Probe.
  6. The Streaming enabled icons display next to the processors.

Install the DC Probes

The DC Probe collects Digital Optical Monitoring (DOM), Bit Error Rate (BER), Forward Error Correction (FEC), and Cyclic Redundancy Check (CRC) metrics, along with Bidirectional Forwarding Detection (BFD) monitoring, and CPU and memory utilization data. You can install the DC Probes from the Hub page in Data Center Assurance.

Note:

Ensure that you have installed the latest version of the DC-Probes pack on your Data Center Director instance.

Follow these steps to install the DC Probes.

  1. In Data Center Assurance, navigate to Hub > Analytics Pack.
  2. Click View Details on the DC-Probes tile.
    Figure 3: Hub Hub

    Information such as Apstra version, compatibility, and what collectors the probe consumes displays.

  3. Click Install at the top right.
  4. On the Install DC-probes page, select the Edge instance to apply the probe to, and click Next.
    Figure 4: Install DC-Probes Install DC-Probes
  5. From the dropdown list, select the blueprint where you want the probe installed, then click Install.
    Figure 5: Select Blueprint Select Blueprint
  6. From your blueprint in Apstra Data Center DIrector, verify that the new custom probe is installed by navigating to Analytics > Probes.
Note:

Data Center Assurance displays anomaly data and sends alerts for the following types of probes only:

  • predefined probes on Data Center Director

  • probes installed through DC Hub packs published by HPE Networking

Anomaly data and alerts are not supported for modified or custom probes.