Skip to content

rConfig Vector Agent Installation: Multi-Platform Network Device Management

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 automated install script, generate an install command from the Agents screen in rConfig, then run:

rConfig Vector agent installation script generation interface for network device management
Terminal window
curl -fsSL "https://<server>/vector/install.sh?bootstrap_token=..." | sudo bash

This is a secure process, and the script is signed and verified during execution. The key lasts only 15 minutes for security. And will expire after first use or after 15 minutes.

This script will:

  • Download the active latest binary from the Vector Server.
  • Bootstrap the agent with the provided token.
  • Create the required directories and config files.

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. Run the Side Load command to scan the directory and add the binary to the Vector Server:

Terminal window
php artisan vector:agent-binary:side-load
  1. 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 execute verification procedures:
Terminal window
sudo mv vectoragent-linux-latest /usr/local/bin/rconfig
# Verify file size
ls -lh /usr/local/bin/rconfig
# Verify cryptographic hash (md5, sha1, or sha256)
# Compare hash with value provided on download page
sha256sum /usr/local/bin/rconfig/vectoragent-linux-latest
sha1sum /usr/local/bin/rconfig/vectoragent-linux-latest
md5sum /usr/local/bin/rconfig/vectoragent-linux-latest
  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

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