Skip to content

rConfig Vector Agent Installation Guide

rConfig Vector Agent Installation: Multi-Platform Network Device Management

Section titled “rConfig Vector Agent Installation: Multi-Platform Network Device Management”

The rConfig Vector Agent represents a critical component of the Vector product suite, responsible for command execution, configuration collection, and data transmission to Vector Servers. This guide provides comprehensive installation procedures, prerequisite requirements, and post-installation tasks to ensure successful deployment.

Unlike passive remote proxies that connect and gather data through intermediary channels, the rConfig Vector Agent operates as an active agent deployed directly on devices to continuously monitor, collect, and transmit real-time data securely, ensuring enhanced accuracy, reliability, and comprehensive network insights. Complete the Vector Server installation first so agents can register successfully.

Prerequisites:

  • Real-Time Data Collection: The Vector Agent continuously collects data at scheduled intervals, ensuring current network visibility and insights.
  • Secure Communication: Data is encrypted both in transit and at rest, protecting sensitive information from unauthorized access.
  • Comprehensive Device Monitoring: Monitor diverse device types including switches, routers, firewalls, and servers. (Note: Version 1.0.0 supports SSH connections exclusively.)
  • Scalable Architecture: Deploy Vector Agents across multiple devices, servers, or datacenters to accommodate network growth. Load balancing and redundancy features are planned for late 2025.
  • Streamlined Deployment: Deploy efficiently using installation scripts or configuration management platforms including Ansible, Puppet, or Chef.
  • Ephemeral Design: The Vector Agent supports flexible lifecycle management: agents can be removed or reinstalled during scheduled maintenance, server migrations, or following unexpected disruptions.
  • Cross-Platform Support: Compatible with Linux and Windows operating systems, the Vector Agent operates on physical servers, virtual machines, cloud instances, and containers.
  • Enhanced Security Controls: The Vector Agent connects exclusively to designated Vector Servers, eliminating unauthorized access risks. Secure communication protocols including SSH and layered security restrictions ensure complete data encryption.
  • Unidirectional Communication Model: The Vector Agent transmits data to the Vector Server exclusively, requiring no inbound connections. This approach minimizes firewall configuration complexity and significantly reduces attack surface.
  • SSH Protocol Exclusive: Version 1.0.0 supports SSH connections exclusively. Future releases will incorporate additional protocols including SNMP and REST APIs.
  • Telnet Protocol Unsupported: The Vector Agent does not support Telnet protocol. Telnet represents an obsolete, insecure protocol inappropriate for modern network environments. Configure devices for SSH-based secure communication.
  • Operating System Support: The Vector Agent currently supports Linux and Windows operating systems exclusively.
  • Manual Update Process: Vector Servers do not automatically update Vector Agents. Manual agent updates are required when new versions release. Automated update functionality is planned for 2025.
  • Snippet Support: Version 1.x does not support snippets. Future releases will incorporate snippet functionality enabling complex configuration templates and command sequences.
  • SNMP Protocol Support: Version 1.x does not include SNMP support. SNMP functionality will be added in future releases enabling monitoring of SNMP-capable devices.
  • API Backup Functionality: Version 1.x does not currently support API-based backup operations. This capability will be incorporated in future releases enabling automated device configuration backups.

Prior to commencing installation, verify the following requirements:

  • Supported Operating Systems:
    • Linux: Ubuntu, CentOS, Red Hat (LTS versions recommended)
    • Windows Server (2019 or later recommended)
  • System Requirements:
    • Minimum 2 GB RAM (in addition to OS requirements)
    • 10 GB available storage for installation and logging
    • Network connectivity to Vector Server (outbound HTTPS/443 or configured port)
  • Administrative Access: Root or administrator privileges required for installation.
  • License Key: Valid license key required for Vector Agent installation and activation.
  • Dependencies: No additional dependencies required for Vector Agent installation.

Current Vector Agent binaries for Linux and Windows are available through the rConfig portal. Authenticate to your account and navigate to the Downloads section to access current Vector Agent versions.

  1. Navigate to the rConfig Vector Agent download page:
  2. Authenticate using authorized credentials. Valid licensing is required for download access.
  3. Following authentication, locate the current Linux binary version (e.g., vectoragent-linux-latest or vectoragent-linux-v1.0.2).
  4. Download the binary to your local system, then transfer to the target server.

If you prefer the install script, copy an install command from the agent’s row on the Vector Agents screen in rConfig (/settings/agents), using Linux install. Run it on the agent host as a user with sudo:

rConfig Vector agent installation script generation interface for network device management
Terminal window
curl -fsSL --proto '=https' -o vector-agent-install.sh 'https://rconfig.example.com/vector/agent-install.sh' && echo '<installer_sha256> vector-agent-install.sh' | sha256sum -c - && sudo bash vector-agent-install.sh --server 'https://rconfig.example.com' --agent-id 42 --token '<bootstrap token>'

The command:

  1. Downloads the installer to vector-agent-install.sh in the current folder, over HTTPS only.
  2. Checks its SHA256 with sha256sum -c. If it does not match, the command stops and nothing runs.
  3. Runs it with sudo, passing the server, agent ID and bootstrap token as arguments.

Before you run it, check that the SHA256 in the command matches the published installer SHA256 for your rConfig version. rConfig serves the installer unchanged for every agent, so the value is the same on every agent and every rConfig server running that version.

The installer:

  • Accepts only published agent releases. It downloads the active binary from the Vector Server and installs it only if its SHA256 is one of the pinned releases (1.1.1 to 2.0.0). Otherwise it stops with The agent binary from <server> is not a known rConfig Vector agent release (SHA256 …). Nothing was installed.
  • Never downgrades an agent. If the host already runs a newer pinned release, it stops with Refusing to downgrade the agent from <current> to <new>. Nothing was installed.
  • Keeps TLS certificate checks on. For an rConfig server with a self-signed certificate, set the agent to skip TLS checks in rConfig; the generated command then adds -k to the download and --insecure-tls to the installer. The binary is still checked against the pinned list.
  • Bootstraps the agent with the token, unless /usr/local/bin/rconfig/activeagent/.env already exists.
  • Installs the binary to /usr/local/bin/rconfig/activeagent/vectoragent, writes .env (mode 600), writes /etc/systemd/system/vectoragent.service if it is missing, and enables and starts the service.

The bootstrap token is single-use and expires after 60 minutes. It is passed as an argument, never in a URL, but it is in the shell history and visible in ps on the agent host while the installer runs. Generate a fresh one if it may have been seen.

The install command checks the installer against a SHA256. Compare the value in the command rConfig gives you with the value for your version here. If they differ, don’t run the command.

rConfig versionvector-server-pkgInstaller SHA256 (vector-agent-install.sh)
V8.4.12.0.4Published when vector-server-pkg 2.0.4 is tagged

The API returns the same value as installer_sha256, with a link to this table as installer_docs_url. See Automated Agent Deployment.

Agents installed with the old command were not checked against a pinned release. To check one, compare the SHA256 of the binary that runs with the published agent release hashes:

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

The pinned agent release hashes (1.1.1, 1.1.2, 1.1.3, 1.1.4 and 2.0.0) are published here with vector-server-pkg 2.0.4. If the hash does not match the release its version reports, reinstall the agent with a new install command from rConfig.

The Vector Server hosts the active binary at:

/vector/downloads/vectoragent-latest

You can also request platform-specific downloads:

/vector/downloads/vectoragent-latest?platform=linux_amd64
/vector/downloads/vectoragent-latest?platform=windows_amd64

Use these endpoints to download the binary directly from the Vector Server (for example, from a browser or automation script).

Manual Addition to the Vector Binary Store (if required)

Section titled “Manual Addition to the Vector Binary Store (if required)”

If the Vector Server cannot reach the portal to download the binary, you can manually add the binary files to the server’s storage directory.

  1. On the Vector Server, locate the binaries directory:
Terminal window
# create the directory if it does not exist
mkdir -p storage/app/public/agent_binaries
# upload the binary file into this directory:
storage/app/public/agent_binaries
# It maybe necessary to reset permissions on the storage directory to allow the web server to read the files afterwards
sudo chown -R apache:apache /var/www/html/rconfig8/current/storage
# or for ubuntu
sudo chown -R www-data:www-data /var/www/html/rconfig8/current/storage
  1. Upload the binary file into this directory.

  2. On the Vector Server, mark the binary as active in the Binary Admin page:

/settings/agents/binaries

This allows the Vector Server to serve the binary and generate install scripts.


Vector Agent Installation by Operating System

Section titled “Vector Agent Installation by Operating System”

Binary Installation to Target Directory

Following binary download:

  1. Open a terminal and navigate to the download directory. To relocate to /usr/local/bin/, or select an alternative directory:
Terminal window
mkdir -p /usr/local/bin/rconfig
mkdir -p /usr/local/bin/rconfig/activeagent
mkdir -p /usr/local/bin/rconfig/data/logs
mkdir -p /usr/local/bin/rconfig/data/db
mkdir -p /usr/local/bin/rconfig/data/files
cd /usr/local/bin/rconfig
  1. Move the binary to /usr/local/bin/rconfig for system-wide access, and check its size:
Terminal window
sudo mv vectoragent-linux-latest /usr/local/bin/rconfig
ls -lh /usr/local/bin/rconfig
  1. Copy the downloaded binary to the /usr/local/bin/rconfig/activeagent directory and rename:
Terminal window
sudo cp /usr/local/bin/rconfig/vectoragent-linux-latest /usr/local/bin/rconfig/activeagent/vectoragent
  1. Configure binary execute permissions:
Terminal window
sudo chmod +x /usr/local/bin/rconfig/activeagent/vectoragent
  1. Check the SHA256 of the binary that will run, and compare it with the value on the download page:
Terminal window
sha256sum /usr/local/bin/rconfig/activeagent/vectoragent

Installation Verification

To verify binary functionality, execute:

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

Version information should display if installation completed successfully.


Systemd Service Configuration

  1. Create a new systemd service file:
Terminal window
sudo vim /etc/systemd/system/vectoragent.service
  1. Add the following service configuration:
[Unit]
Description=Vector Agent Service
After=network.target
[Service]
ExecStart=/usr/local/bin/rconfig/activeagent/vectoragent
Restart=always
User=root
Group=root
EnvironmentFile=/usr/local/bin/rconfig/activeagent/.env
[Install]
WantedBy=multi-user.target
  1. Save and exit editor

Environment Configuration File

If the binary requires environment variables, define them in:

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

Add required environment variables:

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

Note: An .env file can be generated from your Vector server following agent creation on the Vector Server. Utilize the generated .env file values to create the agent .env file. The file downloads as a .txt file requiring renaming to .env.

rConfig Vector agent creation form showing environment configuration file download for network device management setup


Service Initialization

  1. Reload systemd to recognize the new service:
Terminal window
sudo systemctl daemon-reload
  1. Enable the service for automatic startup:
Terminal window
sudo systemctl enable vectoragent
  1. Start the service:
Terminal window
sudo systemctl start vectoragent
  1. Verify service status:
Terminal window
sudo systemctl status vectoragent

Service status should display active (running).


Agent Verification

To confirm agent operational status, review logs:

Terminal window
journalctl -u vectoragent.service -f

Review for errors or confirmation messages indicating successful connectivity and operation.



Vector Agent installation and configuration on Rocky Linux is complete.

  1. Download Current Version Access the rConfig Vector Agent download page and download the current agent version.

  2. Stop the operational service:

Terminal window
sudo systemctl stop vectoragent
  1. Replace Existing Binary
Terminal window
sudo cp vectoragent-linux-latest /usr/local/bin/rconfig/activeagent/vectoragent
sudo chmod +x /usr/local/bin/rconfig/activeagent/vectoragent
  1. Restart Service
Terminal window
sudo systemctl start vectoragent
  1. Verify Update Completion
Terminal window
/usr/local/bin/rconfig/activeagent/vectoragent --version

Updated version information should display.

Environment Configuration Update and Service Restart

Section titled “Environment Configuration Update and Service Restart”

Environment File Modification

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

Implement required modifications, including API key updates, URL changes, or other configuration variable updates.

Save and Exit

Save the file and exit the editor.

Vector Agent Service Restart

Terminal window
sudo systemctl restart vectoragent

Service Verification

Verify the service operates correctly following configuration updates.

Terminal window
sudo systemctl status vectoragent

Status should display active (running). If issues occur, review logs using:

Terminal window
journalctl -u vectoragent.service -f