Startup command file

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

Note: You can configure the gateway to operate in one of two modes of operation: standard mode or IBM Operations Analytics - Log Analysis (LA) mode.

You can specify the location of the startup command file using the Tivoli Netcool/OMNIbus Gate.StartupCmdFile property, which is defined in the G_XML.props file for gateways operating in standard mode and G_SCALA.props file for gateways operating in LA mode. The default startup command file xml.startup.cmd is located in the following directory:

  • $OMNIHOME/gates/xml - For gateways operating in standard mode.
  • $OMNIHOME/gates/xml/scala - For gateways operating in LA mode.

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.