Oracle Solaris
Synopsis
Director logs in to one Oracle Solaris host over SSH and runs read-only commands on it. Nothing is installed on the host and no agent is sent to it. What the device reads is decided by the datasets and profiles assigned to it: the host's inventory, its metrics, its log files, and scripts run on it — see Solaris, AIX, and macOS Datasets.
An unprivileged account is enough, and is what the device should be given: nothing runs under sudo, and the device's own collection writes nothing on the host but a script's temporary file. A script you assign runs as the login and can do whatever the login may. A few hardware details need more (prtdiag and sneep, for the manufacturer, model, and serial number); without them those fields are left out and the rest is read.
One device reads one host, and one Director owns it.
The Solaris device needs Director 2.2.3 or later. The wizard refuses an older Director.
Schema
- id: <numeric>
name: <string>
description: <string>
type: solaris
tags: <string[]>
pipelines: <pipeline[]>
status: <boolean>
properties:
address: <string>
username: <string>
port: <numeric>
password: <string>
key_based: <boolean>
private_key: <string>
passphrase: <string>
timeout: <numeric>
host_key: <string>
definitions: <definition[]>
Configuration
The following fields are used to define the device:
Device
| Field | Required | Default | Description |
|---|---|---|---|
id | Y | - | Unique numeric identifier |
name | Y | - | Device name |
description | N | - | Optional description |
type | Y | - | Must be solaris |
tags | N | - | Optional tags |
pipelines | N | - | Optional pre-processor pipelines |
status | N | true | Enable/disable the device |
Connection
| Field | Required | Default | Description |
|---|---|---|---|
address | Y | - | The host, an IP address or a name. A wildcard address (0.0.0.0, ::) is refused. |
port | N | 22 | The host's SSH port |
username | Y | - | The login (resolvable via ${ENV_VAR} or $secret{...}) |
password | N* | - | Its password (resolvable via ${ENV_VAR} or $secret{...}) |
key_based | N | false | Log in with private_key instead of password |
private_key | N* | - | The private key, in PEM or OpenSSH format (resolvable via ${ENV_VAR} or $secret{...}) |
passphrase | N | - | The key's passphrase, when it has one |
timeout | N | 30 | Seconds for the connection and its login, from 1 to 300 |
host_key | N | - | The host's SSH key: a SHA256: fingerprint as ssh-keygen -lf prints it, or the public key itself. See Host Keys. |
* password is required unless key_based is true, in which case private_key is required.
A device that fails these checks does not start, and its state is Configuration error.
Datasets
The device's definitions are its datasets, each named after its type: solaris_inventory_collector, solaris_metrics_collector, solaris_file_log_collector, and solaris_script_collector. In the console they are the datasets and profiles assigned to the device. For their properties, see Solaris, AIX, and macOS Datasets.
Host Keys
The host's SSH key is checked before any credential is sent.
Without host_key, the key the host presents the first time is trusted. A later login that meets a different key stops the device with Authentication error, naming the trusted key and every key the host presented. If the key changed on purpose, for example because the host was reinstalled, set host_key to the new one.
With host_key set, the host must present that key. Any of the host's keys may be pinned: the Director asks for ECDSA, RSA, then Ed25519, logging in again for each before any credential is sent, so an Ed25519 fingerprint works. The connection check reports the key the host presented, ready to pin; with no pin, it reports the ECDSA key.
Console
In the console, go to
General settings :Device name ,Director ,Processor (x86 (64-bit) orSPARC ),Deployment type (x86 only):Agentless ,Description (Optional) ,Tags (Optional) Install and connect :Address ,Port ,Timeout (Optional) ,Host key (Optional) ,Username , and eitherPassword or, withSSH key authentication ticked,Private key andPassphrase (Optional) .Check access has the Director log in and confirm the host runs this system;Create device waits for it to pass. A Self-Managed Director skips the check.Data collection : the datasets or profiles the device readsUpdate management : not offered for an agentless device-
Review and complete setup
The wizard does not ask for a status or a pre-processing pipeline: the device is created enabled, with no pipeline.
The device's page is the one a Windows or Linux device has:
Agent
The sections above describe the host read over SSH. On an x86 host, the wizard's other
svc:/application/vmetric-agent:default.
Updates
The Agent is updated through its Director, as a Windows or Linux Agent is. The wizard goes through the
An update stops the Agent's SMF service, replaces the Agent and starts the service again. Running the installation command again on the host still updates the Agent as well, but it is no longer the only way.
Examples
Password Authentication
Reading a Solaris host's inventory hourly and its metrics every minute, with a password login... | |
Key Authentication with a Pinned Host Key
Logging in with an SSH key and pinning the host's key, so no key is trusted on first use... | |