Skip to main content
Version: 1.3.0

Linux

Agentless

Synopsis​

Creates a collector that connects to Linux servers via SSH to gather system metrics and performance data. Supports both password and private key authentication methods, with configurable connection parameters and debug options.

Schema​

- id: <numeric>
name: <string>
description: <string>
type: linux
tags: <string[]>
pipelines: <pipeline[]>
status: <boolean>
properties:
protocol: <string>
address: <string>
port: <numeric>
username: <string>
password: <string>
private_key: <string>
passphrase: <string>
timeout: <numeric>

Configuration​

The following fields are used to define the device:

Device​

FieldRequiredDefaultDescription
idYUnique identifier
nameYDevice name
descriptionN-Optional description
typeYMust be linux
tagsN-Optional tags
pipelinesN-Optional pre-processor pipelines
statusNtrueEnable/disable the device

Connection​

FieldRequiredDefaultDescription
protocolN"ssh"Connection protocol (only ssh supported)
addressYTarget server address
portN22SSH port number
usernameN<SSH-username>Must be specified if use_ssh_credentials is false
passwordN<SSH-password>Must be specified if use_ssh_credentials is false
private_keyN-Path to SSH private key file
passphraseN-Private key passphrase (if private key is used)

Advanced Configuration​

The following settings can be used to fine tune the collector's behavior.

Performance​

FieldRequiredDefaultDescription
timeoutN30SSH connection timeout in seconds

Examples​

The following are commonly used configuration types.

Private Keys​

SSH keys can be used for authentication:

devices:
- id: 2
name: secure_linux
type: linux
properties:
address: "10.0.0.50"
port: 2222
username: "monitor"
private_key: "/path/to/private_key"
passphrase: "private_key_passphrase"

Passwords​

If SSH credentials are not used, passwords can be specified:

devices:
- id: 1
name: linux_server
type: linux
properties:
address: "192.168.1.100"
username: "admin"
password: "secret"
warning

The private key file must be readable by the service user, and have the appropriate permissions (600 or more restrictive).