Startup command file

The startup command file contains a set of commands that the gateway executes each time it starts.

You can specify the location of the startup command file using the generic Netcool/OMNIbus Gate.StartupCmdFile property.

The default startup command file, snmp.startup.cmd, is located in the following directory: $OMNIHOME/gates/snmp/.

The default startup command file contains example commands. You should make a copy of the default file for future reference.

You can use the following commands within the startup command file:
  • GET CONFIG - Use this command to display the current configuration of the gateway by listing all properties and their values.
  • SET LOG LEVEL TO - Use this command to set the level of message logging for the gateway. This command can take the following values: fatal, error, warn, info or debug. The default logging level is warn.
  • TRANSFER FROM - Use this command to initiate a data transfer operation between tables in two ObjectServers.

These commands can also be entered using the SQL interactive interface (nco_sql). For more information about using the SQL interactive interface, see the IBM Tivoli Netcool/OMNIbus Administration Guide.

For more information about the startup command file, see the IBM Tivoli Netcool/OMNIbus Probe and Gateway Guide.