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 gw_name.startup.cmd is located in the following directory:

$OMNIHOME/gates/gw_name

Where the value for gw_name is found in the configuration files row of the gateway guide summary table.

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:
  • SHOW PROPS - Use this command to display the current configuration of the gateway by listing all properties and their values.
  • GET PROPERTY 'property_name' - Use this command to return the value of the property specified in property_name from the gateway properties file.
  • SET PROPERTY 'property_name' TO ( 'string' | integer | TRUE | YES | FALSE | NO ); - Use this command to set the value of the property specified in property_name in the gateway properties file.
  • 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.

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.