Properties and command line options

You use properties to specify how the probe interacts with the device. You can override the default values by using the properties file or the command line options.

The following table describes the properties and command line options specific to this probe. For information about default properties and command line options, see the IBM Tivoli Netcool/OMNIbus Probe and Gateway Guide, (SC23-6373).

Table 1. Properties and command line options

Property name

Command line option

Description

CleanStart string

-cleanstart

(equivalent to CleanStart with a value of 1)

Use this property to specify whether the probe performs a cleanstart on start up; that is, ignores the recovery file and start reading events from the log file created after the probe started:

0: The probe disables the cleanstart feature.

1: The probe enables the cleanstart feature.

The default is 0.

LogFile string

-logfile string

Use this property to specify the path to the log file from which the probe reads messages.

The default is " ".

LogFileFormat string

-logfileformat string

Use this property to specify the format of the log file name.

The default is SiteScope%Y_%m_%d.log.

Where, Y denotes the year, m denotes the month and d denotes the day.

PollTime integer

-polltime integer

Use this property to specify the polling time specified in seconds.

The default is 5.

RecoveryFile string

-recoveryfile string

Use this property to specify the name of the recovery file to which the probe writes recovery data.

The default is $OMNIHOME/var/sitescope.reco.

Note: This property is not supported on Windows NT.

ReplayFile integer

-replayfile

(equivalent to ReplayFile with a value of 1)

Use this property to specify whether the probe reads events from the beginning of the log file:

0: The probe does not use the replay feature.

1: The probe uses the replay feature.

The default is 0.

TimeFormat string

-timeformat string

Use this property to specify the timestamp conversion format (refer to the UNIX online manual page for strptime).

The default is %H:%M:%S %d/%m/%Y.

UseLocalTime integer

-uselocaltime integer

Use this property to specify whether the probe should use local time rather than UCT when deciding which log file to open next:

0: The probe uses the UCT time.

1: The probe uses the local time.

The default is 0.