sm_adapter front end options describes the available sm_adapter front end options.

Table 1. sm_adapter front end options

Option

Description

--file=<path>

Read input from a file. Also -f <path>.

--tail=<path>

Read input by tailing a file. Also -t <path>.

--program=<cmd>

Read input from a command pipeline. Also -p <cmd>.

--field-separator=C

Translate 'C' to the field-separator (FS) marker. Valid only in conjunction with --file, --tail or --program. Also -F <C>.

--subscribe=<sub>

Use the subscriber front end. Subscriptions are sent to the server specified with the --server option. The <sub> parameter is the subscription request.

  • If <sub> is 'topology', then a subscription for topology changes is requested.

  • If <sub> is of the form '<name>/n', then a subscription to NL <name> is requested.

    Note:

    Only one NL subscription may be specified.

  • If <sub> is of the form C::I::E[/paev], 'C', 'I', 'E' are regexp patterns representing the classes, instances, and events to which to subscribe. The letters following a slash (/) are subscription qualifiers: 'p' means subscribe to problems; 'a' means subscribe to aggregates (impacts); and 'e' means subscribe to events. If none of these are present, 'p' is assumed. 'v' means run in verbose mode, which turns on subscription control messages.

Otherwise, <sub> is a profile name in which the profile specifies what subscriptions are to be requested. A profile name may be optionally followed by the /v qualifier.

Multiple --subscribe options can be specified.

--smoothing=<num>

Event smoothing interval. This parameter is used by the subscriber front end to smooth event notifications (and clears) received from the server. Only events (or clears) that stay active (or cleared) for <num> seconds are fed into the input stream. The <num> must be a non-negative integer. The default value is 0 which disables smoothing.

--ignoreOld

Ignore old notifications. This parameter is used by the subscriber front end. Notifications for events that were active before this adapter connected are not fed to the input stream.