The sm_adapter command can be used to start an adapter. Common sm_adapter options describes the common sm_adapter options.
Options |
Description |
---|---|
--name=<name> |
Specifies the name of the adapter. |
--model=<name> |
Specifies the name of model library to load. |
--tail=<path> |
Specifies read input by tailing a file. |
--rserver=<name> |
Specifies auto-reconnect parser to Manager. |
--server=<name> |
Specifies connect parser to Manager. |
--broker=<location> |
Specifies the alternate Broker location as host:port. Also -b <location>. |
--output=<file> |
Messages generated from internal logging calls are directed to the log file. The file name is <file>, or the --logname value if <file> is omitted. Log files are always placed in BASEDIR/smarts/local/logs. |
--daemon |
Run the program as a daemon (UNIX only). Messages generated from internal logging calls are directed to the log file. Log files are written to the BASEDIR/smarts/logs directory. |
--facility=<facility> |
Instructs the DMT program to log any syslog messages with the specified syslog facility (UNIX/Linux only). The default is Daemon. The <facility> setting can be one of the following:
|
To display a complete list of the sm_adapter options on your system, type the following command with administrative privileges:
BASEDIR/smarts
/bin/sm_adapter --help