Skip to main content
Version: 1.4.0

CLI: Director

Overview

VirtualMetric Director™ is the core orchestration and data processing engine of the DataStream platform, designed to manage high-volume log ingestion, processing, and routing with enterprise-grade performance and reliability. It serves as the central command center that coordinates devices, pipelines, routes, and targets to create comprehensive data processing workflows.

Director handles everything from simple syslog collection to complex multi-protocol data ingestion scenarios, providing real-time processing capabilities, advanced routing logic, and seamless integration with various storage and analysis systems. Its architecture supports both standalone deployments and distributed enterprise environments with built-in scalability and fault tolerance.

Synopsis

vmetric-director [OPTIONS]

Options

The following command line options are available.

General Options

OptionDefaultDescription
-compare-version-Compare with specified version
-config-Run configuration wizard
-example-Show configuration examples
-path-Specify configuration file or directory path
-validate-Validate configuration files
-version-Display version information

Operating Modes

OptionDefaultDescription
-console-Run in console monitoring mode
-generator-Generate test data
-modedirectorOperating mode (director, supervisor, console, pipeline, generator, update)
-pipeline-Execute pipeline processing mode
-sentinel-Run network discovery and monitoring
-snmpwalk-Perform SNMP device discovery
-stats-Display performance statistics
-supervisor-Run in supervisor mode
-update-Run update process

Service Management

OptionDefaultDescription
-agentless-Run without installing as a service
-background-Run in background mode
-info-Display service information
-service-Service operation (install, uninstall, start, stop, restart)
-service-name-Custom service name for installation
-vpc-Display product code

Pipeline Operations

OptionDefaultDescription
-name-Pipeline name for processing
-definition-id-Pipeline definition identifier
-diff-Show differences between actual and expected output
-expected-Expected output file for validation
-export-json-Export pipeline results as JSON
-extended-Show extended processing information
-input-Input data file or JSON string
-output-Output file for processed data
-visualize-Display pipeline processing visualization

Console Monitoring

OptionDefaultDescription
-debug-level-Set debug verbosity level (1-5)
-filter-Filter console output by keywords

Network Discovery

OptionDefaultDescription
-autodiscovery-Enable automatic network discovery
-snmp-community-SNMP community string
-snmp-device-id-SNMP device identifier
-snmp-host-Target SNMP host address
-snmp-oid.1.3Starting OID for SNMP walk
-snmp-port161SNMP port number
-snmp-version2cSNMP version (1, 2c, 3)

Data Generation

OptionDefaultDescription
-address127.0.0.1:514Target address for generated data
-count1000Number of messages to generate
-duration300Total generation duration (seconds)
-file-path-File path for file-based operations
-interval1Interval between messages (seconds)
-messageVirtualMetric Test MessageMessage content
-now-Generate messages immediately
-protocolsyslogProtocol for data generation
-severityErrorSyslog severity level

Utility Options

OptionDefaultDescription
-clear-Clear statistics (used with -stats)
-pfx2pem-Convert PFX certificate to PEM format
-stats-Display performance statistics

Common Uses

The following are the valid switch combinations for the indicated tasks:

General Tasks

  • Display version information:

    vmetric-director -version
  • Show example configuration:

    vmetric-director -example
  • Run configuration tool:

    vmetric-director -config [config_file_path]
  • Compare version:

    vmetric-director -compare-version [version_string]
  • Convert PFX certificate to PEM:

    vmetric-director -pfx2pem [certificate_path]
  • Validate configuration:

    vmetric-director -validate

Service Management

  • Install service:

    vmetric-director -service install [-service-name custom_name] [-path installation_path]
  • Uninstall service:

    vmetric-director -service uninstall [-service-name custom_name]
  • Start service:

    vmetric-director -service start [-service-name custom_name]
  • Stop service:

    vmetric-director -service stop [-service-name custom_name]
  • Restart service:

    vmetric-director -service restart [-service-name custom_name]
  • Run in background (without service):

    vmetric-director -background [-mode director|supervisor]
  • Run in agentless mode:

    vmetric-director -agentless [-mode director|supervisor]
  • Show service information:

    vmetric-director -info [-mode director|supervisor]
  • Show product code:

    vmetric-director -vpc [-mode director|supervisor]
  • Stop running process:

    vmetric-director -stop [-mode director|supervisor]

Operational Modes

  • Console mode:

    vmetric-director -mode console [-filter filter_string] [-debug-level level]

    -or-

    vmetric-director -console [-filter filter_string] [-debug-level level]
  • Pipeline mode:

    vmetric-director -mode pipeline -name [pipeline_name] [-path path] [-definition-id id] [-input input_file] [-output output_file] [-expected expected_file] [-filter filter] [-diff] [-validate] [-visualize] [-extended] [-export-json]

    -or-

    vmetric-director -pipeline -name [pipeline_name] [-path path] [-definition-id id] [-input input_file] [-output output_file] [-expected expected_file] [-filter filter] [-diff] [-validate] [-visualize] [-extended] [-export-json]
  • Generator mode:

    vmetric-director -mode generator [-protocol syslog|tcp|http|netflow|vmf] [-address target_address] [-severity level] [-message message_text] [-count message_count] [-interval seconds] [-duration seconds] [-now] [-file-path file_path]

    -or-

    vmetric-director -generator [-protocol syslog|tcp|http|netflow|vmf] [-address target_address] [-severity level] [-message message_text] [-count message_count] [-interval seconds] [-duration seconds] [-now] [-file-path file_path]
  • Sentinel mode:

    vmetric-director -mode sentinel [-autodiscovery]

    -or-

    vmetric-director -sentinel [-autodiscovery]
  • SNMPWalk mode:

    vmetric-director -mode snmpwalk -snmp-device-id [device_id] -snmp-host [host] [-snmp-port port] [-snmp-version 1|2c|3] [-snmp-community community_string] [-snmp-oid oid]

    -or-

    vmetric-director -snmpwalk -snmp-device-id [device_id] -snmp-host [host] [-snmp-port port] [-snmp-version 1|2c|3] [-snmp-community community_string] [-snmp-oid oid]
  • Update mode:

    vmetric-director -mode update

    -or-

    vmetric-director -update
  • Supervisor mode:

    vmetric-director -mode supervisor

    -or-

    vmetric-director -supervisor
  • Statistics mode:

    vmetric-director -mode stats [-clear]

    -or-

    vmetric-director -stats [-clear]
  • Director mode (default):

    vmetric-director

    -or-

    vmetric-director -mode director

    -or-

    vmetric-director -director

Protocol-Specific Generator Tasks

The following can be used to simulate various log streaming protocols:

  • Syslog generator:

    vmetric-director -mode generator -protocol syslog -address 127.0.0.1:514 -severity Error -message "Test Message" -count 1000 -interval 1 -duration 300
  • TCP generator:

    vmetric-director -mode generator -protocol tcp -address 127.0.0.1:9000 -message "Test Message" -count 1000 -interval 1 -duration 300
  • HTTP generator:

    vmetric-director -mode generator -protocol http -address http://127.0.0.1:8080/logs -message "Test Message" -count 1000 -interval 1 -duration 300
  • Netflow generator:

    vmetric-director -mode generator -protocol netflow -address 127.0.0.1:2055 -count 1000 -interval 1 -duration 300
  • VMF generator:

    vmetric-director -mode generator -protocol vmf -file-path input.json -message "Test Message" -count 1000 -interval 1 -duration 300