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.

Table 1. Common sm_adapter options




Specifies the name of the adapter.


Specifies the name of model library to load.


Specifies read input by tailing a file.


Specifies auto-reconnect parser to Manager.


Specifies connect parser to Manager.


Specifies the alternate Broker location as host:port. Also -b <location>.


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.


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.


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:

  • Kern

  • User

  • Mail

  • Daemon

  • Auth

  • Lpr

  • News

  • Uucp

  • Cron

  • Local0

  • Local1

  • Local2

  • Local3

  • Local4

  • Local5

  • Local6

  • Local7

To display a complete list of the sm_adapter options on your system, type the following command with administrative privileges:

         /bin/sm_adapter --help