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 Tivoli Netcool/OMNIbus Gate.StartupCmdFile property, which is defined in the G_MESSAGE_BUS.props file. The default startup command file xml.startup.cmd is located in the $OMNIHOME/gates/message_bus directory.

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 PROPS | SHOW CONFIG - Use these commands to display the current configuration of the gateway by listing all properties and their values.
  • GET PROPERTY 'property' - Use this command to display the gateway property value, where property is the property value you want to query.
  • SET PROPERTY 'prop' TO ( 'string' | integer | TRUE | YES | FALSE | NO ); - Use this command to specify the value of a gateway property in the properties file.
  • SET LOG LEVEL TO - Use this command to set the level of message logging. This command can take the following values: FATAL, ERROR, WARNING, INFORMATION or DEBUG. The default is DEBUG.

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.