Skip to content

rConfig Vector – Agent Installation

8 mins Vector

Introduction

The rConfig Vector Agent is a critical component of the Vector product suite. It is responsible for executing commands, gathering configurations, and relaying data back to Vector Servers. This guide provides a step-by-step overview of the installation process, prerequisites, and post-installation tasks to ensure a smooth deployment.

Unlike a remote proxy, which passively connects and gathers data through intermediary channels, our rConfig Vector is an active agent, meaning it is deployed directly on devices to continuously monitor, collect, and push real-time data securely, ensuring more accurate, reliable, and comprehensive insights.

Agent Features / Limitations

Features

  • Real-Time Data Collection: The Vector Agent continuously collects data at scheduled intervals, ensuring you always have the most up-to-date network insights.

  • Secure Communication: Data is encrypted both in transit and at rest, safeguarding sensitive information from prying eyes.

  • Comprehensive Monitoring: Monitor a wide range of devices—including switches, routers, firewalls, and servers. (Note: Version 1.0.0 only supports SSH connections.)

  • Scalable Architecture: Easily deploy the Vector Agent across multiple devices, servers, or datacenters to grow with your network. Load balancing and redundancy features are on the horizon for late 2025.

  • Effortless Deployment: Deploy quickly using simple scripts or configuration management tools like Ansible, Puppet, or Chef. Containerized deployments via Docker or Kubernetes are also supported.

  • Ephemeral by Design: The Vector Agent isn’t tied down—it can be removed or reinstalled anytime, whether during scheduled maintenance, server migrations, or after unexpected disruptions.

  • Multi-System Support: Compatible with Linux and Windows, the Vector Agent can run on physical servers, VMs, cloud instances, and containers.

  • Built-In Security: The Vector Agent connects exclusively to the Vector Server, eliminating risks of unauthorized access. Secure communication protocols like SSH and layered security restrictions ensure full data encryption.

  • Unidirectional Communication: The Vector Agent only sends data to the Vector Server, with no incoming connections required. This minimizes firewall configuration and significantly reduces the attack surface.

Limitations

  • SSH Only: The Vector Agent only supports SSH as of version 1.0.0. Support for other protocols will be added in future releases, including SNMP, and REST APIs.
  • No Telnet Support: The Vector Agent does not support Telnet. Telnet is an outdated, insecure protocol that should not be used in modern networks. Please ensure that your devices are configured to use SSH for secure communication.
  • Linux and Windows Only: The Vector Agent is currently available for Linux and Windows operating systems.
  • Automated deployment updates: The Vector Servers do not automatically update the Vector Agent. You will need to manually update the Vector Agent on your devices when new versions are released. We will bring this feature in 2025.

Prerequisites

Before starting the installation, ensure the following requirements are met:

  • Supported Operating Systems:

    • Linux: Ubuntu, CentOS, Red Hat (Recommended LTS versions)
    • Windows Server (Recommended: 2019 or later)
  • System Requirements:

    • Minimum 2 GB RAM (on top of the OS requirements)
    • 10 GB available disk space for installation and logs
    • Network connectivity to Vector Server (outbound only on HTTPS/443 or other port as specified at the Vector Server)
  • Administrative Access: Ensure you have root or admin privileges for installation.

  • License Key: A valid license key is required for the installation and activation of the Vector Agent.

  • Dependencies:

    • There are no additional dependencies required for the Vector Agent installation.

Installation Steps

Download the Vector Agent Installer

The latest Vector Agent binary for both Linux and Windows can be downloaded from the rConfig portal. Log in to your account and navigate to the Downloads section to access the latest version of the Vector Agent.

Access the rConfig Portal

  1. Navigate to the rConfig Vector Agent download page:
  2. Log in using your authorized credentials. You must have a valid license to access the download page.
  3. Once logged in, locate the latest Linux binary version of the agent (e.g., vectoragent-linux-v1.0.0).
  4. Download the binary to your local system. Then upload it to the target server.

Install the Vector Agent by OS Type



Move the Binary to a Directory

After the binary is downloaded:

  1. Open a terminal and navigate to the directory where the binary was downloaded. For example, to move it to /usr/local/bin/, but you can choose any directory.

    Terminal window
    mkdir -p /usr/local/bin/vectoragent
    mkdir -p /usr/local/bin/vectoragent/activeagent
    mkdir -p /usr/local/bin/vectoragent/data/logs
    mkdir -p /usr/local/bin/vectoragent/data/db
    mkdir -p /usr/local/bin/vectoragent/data/files
    cd /usr/local/bin/vectoragent
  2. Move the binary to /usr/local/bin/vectoragent for system-wide access, and run verification checks:

    Terminal window
    sudo mv vectoragent-linux-v1.0.0 /usr/local/bin/vectoragent
    # check the file size
    ls -lh /usr/local/bin/vectoragent
    # check the dm5, sha1, or sha256 hash.
    # Verify the hash with the one provided on the download page.
    sha256sum /usr/local/bin/vectoragent/vectoragent-linux-v1.0.0
    sha1sum /usr/local/bin/vectoragent/vectoragent-linux-v1.0.0
    md5sum /usr/local/bin/vectoragent/vectoragent-linux-v1.0.0
  3. copy the downloaded binary to the /usr/local/bin/vectoragent/activeagent directory, and rename It

    Terminal window
    sudo cp /usr/local/bin/vectoragent/vectoragent-linux-v1.0.0 /usr/local/bin/vectoragent/activeagent/vectoragent
  4. Make sure the binary is executable:

    Terminal window
    sudo chmod +x /usr/local/bin/vectoragent/activeagent/vectoragent

** Verify the Installation**

To ensure the binary works, run:

Terminal window
cd /usr/local/bin/vectoragent/activeagent
./vectoragent --version
Vector Agent Version: v1.0.0

You should see the version number printed if it’s installed correctly.


Create a Systemd Service

  1. Create a new systemd service file:

    Terminal window
    sudo vim /etc/systemd/system/vectoragent.service
  2. Add the following service configuration:

    [Unit]
    Description=Vector Agent Service
    After=network.target
    [Service]
    ExecStart=/usr/local/bin/vectoragent/activeagent/vectoragent
    Restart=always
    User=root
    Group=root
    EnvironmentFile=/usr/local/bin/vectoragent/activeagent/.env
    [Install]
    WantedBy=multi-user.target
  3. Save the file and exit


Create an Environment File

If the binary requires environment variables, you can define them in:

Terminal window
sudo vim /usr/local/bin/vectoragent/activeagent/.env

Add your required environment variables:

Terminal window
AGENT_DEBUG=false
API_URL=https://server.yourdomain.com
API_KEY=1234-1234-1234-1234

Note: You can generate a .env file from your Vector server, after the agent is created on the Vector Server. You may then use the values in the generated .env file to create the .env file on the agent. The file downloads as a .txt file, so you will need to rename it to .env.

Screenshot showing Vector agent add form


Reload and Start the Service

  1. Reload systemd to recognize the new service:

    Terminal window
    sudo systemctl daemon-reload
  2. Enable the service to start at boot:

    Terminal window
    sudo systemctl enable vectoragent
  3. Start the service:

    Terminal window
    sudo systemctl start vectoragent
  4. Check the status:

    Terminal window
    sudo systemctl status vectoragent

If the service is running, you should see a status like active (running).


Verify the Agent

To confirm the agent is running correctly, you can check logs:

Terminal window
journalctl -u vectoragent.service -f

Look for any errors or confirmation messages that indicate a successful connection or operation.



That’s it! 🎉 You’ve successfully installed and set up the Vector Agent on Rocky Linux.

Upgrade the Vector Agent


  1. Download the Latest Version Visit the rConfig Vector Agent download page and download the latest version of the agent.

  2. Stop the running service:

    Terminal window
    sudo systemctl stop vectoragent
  3. Replace the Old Binary

    Terminal window
    sudo cp vectoragent-linux-vX.X.X /usr/local/bin/vectoragent/activeagent/vectoragent
    sudo chmod +x /usr/local/bin/vectoragent/activeagent/vectoragent
  4. Restart the Service

    Terminal window
    sudo systemctl start vectoragent
  5. Verify the Update

    Terminal window
    /usr/local/bin/vectoragent/activeagent/vectoragent --version

You should see the updated version number.

Updating the .env File and Restarting the Service

Edit the .env File

Terminal window
sudo vim /usr/local/bin/vectoragent/activeagent/.env

Make any required changes, such as updating API keys, URLs, or other configuration variables.

Save and Exit

Save the file and exit the editor.

Restart the Vector Agent Service

Terminal window
sudo systemctl restart vectoragent

** Verify the Service**

Ensure that the service is running correctly after applying the updates.

Terminal window
sudo systemctl status vectoragent

You should see active (running). If there are issues, check the logs using:

Terminal window
journalctl -u vectoragent.service -f