om node register

Obtain a registration id from the collector. This is is then used to authenticate the node in collector communications.

–app=<string>

Optional with the register command. Register the node in the specified app. If not specified, the node is registered in the first registering user’s app found.

–color=<string>

Colorize output. Possible values are:

  • auto: guess based on tty presence

  • always|yes: always colorize

  • never|no: never colorize

–debug

Increase stream log verbosity up to the debug level.

–filter=<string>

A JSONPath expression to filter a JSON output.

–format=<string>

Specify a data formatter. Possible values are json, flat_json, csv or table. csv and table formatters are available only for commands returning tabular data.

–local

Set to disable cluster-wide operations.

–node=<string>

A node selector expression. Embedded in requests for the daemon to route and multiplex the request to a list of nodes. If not specified the local node is targeted.

–password=<string>

Authenticate with the collector using the specified user credentials instead of the node credentials. Prompted if necessary but not specified.

–server=<string>

The server uri to send a request to. If not specified the local node is targeted. Supported schemes are https and raw. The default scheme is https. The default port is 1214 for the raw scheme, and 1215 for https. The uri can be a fullpath to a listener socket. In this case, the scheme is deduced from the socket. Examples: raw://1.2.3.4:1214, https://relay.opensvc.com, /var/lib/opensvc/lsnr/h2.sock.

–user=<string>

Authenticate with the collector using the specified user credentials instead of the node credentials. Required with om node register when the collector is configured to refuse anonymous register.

-h, –help

Show this help message and exit