Several sm_adapter parameters are common to all adapters that are installed as services (the Syslog Adapter, for example, and the SNMP Trap Adapter). Common sm_adapter options lists these sm_adapter parameters or options.
Exceptions to these parameters are noted and described with the default parameters for the individual products.
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> |
Directs the output (stdout and stderr). 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 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