Skip to main content

Cumulus Linux - Install a NetBeez Agent

Install and register a NetBeez Linux Network Agent on NVIDIA Cumulus Linux switches and verify reachability in the NetBeez NextGen dashboard.

Written by Panickos Neophytou

NVIDIA Cumulus Linux is a Debian-based network operating system running on open-networking data center and enterprise switches. Because Cumulus Linux uses standard Debian package management, you can install a NetBeez Network Agent directly on a Cumulus switch to measure spine-leaf, data center interconnect, and application reachability continuously.

In this article:

Prerequisites

  • Supported Architecture: 64-bit (amd64 / arm64) Cumulus Linux switch with SSH access and sudo privileges (32-bit Linux platforms are not supported).

  • Outbound Network Connectivity: DNS resolution and outbound HTTPS/agent communication to the NetBeez package repository and your NetBeez NextGen server (see Network Firewall Settings and WebSocket Connection Support for Agents). Note: If Management VRF is enabled on Cumulus Linux, prefix outbound management commands with sudo vrf task exec mgmt as required by your switch VRF design.

  • NetBeez Server Secret Key: An Administrator can copy the Server Secret Key from Settings → Information & Health under Server Information, or copy the pre-filled Software Agent install command from Agents → Network Agents → Install Network Agent → Software (see Secret Key).

Automated Installation with agent_setup.sh (Recommended)

The NetBeez setup script automatically configures the appropriate Debian repository for your Cumulus Linux release, installs the GPG signing key and netbeez-agent package, and registers the switch using your Server Secret Key:

  1. Connect to your Cumulus Linux switch via SSH:

    ssh cumulus@spine1
  2. Download the NetBeez installation script:

    curl -L -O https://raw.githubusercontent.com/netbeez/agent-installation/master/agent_setup.sh
  3. Run the setup script with sudo, substituting your Server Secret Key from Settings → Information & Health:

    sudo bash agent_setup.sh --secret=<secret_key>
  4. (Optional) Identify the switch model type as Cumulus Linux and restart the agent service:

    echo "cumulus-model-amd64" | sudo tee /etc/netbeez/netbeez-agent_model.conf
    sudo systemctl restart netbeez-agent

Manual Repository and Package Configuration

If your switch environment requires manual repository, interface, and certificate configuration instead of running agent_setup.sh:

  1. SSH into the Cumulus Linux switch and open an elevated root shell:

    ssh spine1
    sudo su
  2. Add the NetBeez Debian repository (replace bookworm with the Debian codename matching your Cumulus Linux release if different) and import the NetBeez public GPG key:

    echo "deb http://repo.netbeez.net bookworm main" >> /etc/apt/sources.list
    wget -O - http://repo.netbeez.net/netbeez_pub.key | apt-key add -
  3. Update the package index and install netbeez-agent:

    apt-get update
    apt-get install netbeez-agent
  4. Edit /etc/netbeez/netbeez-agent.conf to point the agent at your NetBeez server FQDN and desired switch interface (for example, eth0):

    {"host":"<YOUR_INSTANCE_FQDN>", "port":"20019", "secure_port":"20018", "interfaces":"eth0"}
  5. Set the Cumulus agent model identifier and copy your instance certificate if using certificate-based pairing:

    echo "cumulus-model-amd64" > /etc/netbeez/netbeez-agent_model.conf
    cp netbeez.pem /etc/ssl/certs/
  6. Restart the NetBeez agent service:

    systemctl restart netbeez-agent || /etc/init.d/netbeez-agent restart

Verifying the Switch Agent in NetBeez NextGen

Once the netbeez-agent service starts, open Agents → Network Agents in your NetBeez NextGen dashboard to confirm the Cumulus switch appears online, then assign Agent Groups, Targets, and Scheduled Tests. If the agent does not appear, review Agent Doesn't Connect to the Dashboard.

Did this answer your question?