Skip to main content

Module remote_agent

Module remote_agent 

Source
Expand description

Remote SSH/Headless Agent Integration (PMAT-044)

Distributed benchmark collection from remote hosts via SSH.

§Design

  • SSH-based command execution with connection pooling
  • Multi-host result aggregation with statistical merging
  • Host health monitoring and automatic failover
  • Secure credential handling (no plaintext storage)

§Falsification (FKR-045)

H₀: Remote agent cannot collect metrics from heterogeneous hosts Test: Connect to 3+ hosts with different architectures, verify metric aggregation

Structs§

AggregatedResult
Aggregated benchmark result from multiple hosts
CommandResult
Result from a single remote command
HostBenchmark
Benchmark result from a single host
HostConfig
Remote host configuration
HostState
Remote host state
RemoteAgent
Remote agent for distributed benchmark collection
RemoteAgentConfig
Remote agent configuration

Enums§

AggregationStrategy
Strategy for aggregating results from multiple hosts
AuthMethod
SSH authentication method
HostHealth
Health status of a remote host
RemoteError
Errors that can occur during remote operations

Constants§

DEFAULT_HEALTH_CHECK_INTERVAL_SEC
Default health check interval in seconds
DEFAULT_MAX_CONCURRENT
Default maximum concurrent connections
DEFAULT_RETRY_DELAY_MS
Default retry delay in milliseconds

Type Aliases§

RemoteResult
Result type for remote agent operations