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, (SC14-7530).

Table 1. Properties and command line options

Property name

Command line option

Description

AlarmHeaders string

-alarmheaders string

Use this property to indicate the header of an event.

The default is 'ae\n'.

DateFormat string

-dateformat string

-usedateformat (equivalent to -dateformat %m-%d-%Y)

-eudateformat (equivalent to -dateformat %d-%m-%Y)

-intdateformat (equivalent to -dateformat %Y-%m-%d)

Use this property to specify the date format as used by strptime().

The default is %m-%d-%Y.

Note: For full details of the strptime() function, see the strptime() man page on UNIX.

G2IdleHeartbeatTimeout integer

-g2idleheartbeattimeout integer

Use this property to set the time (in seconds) the probe allows the system to be idle before a ProbeWatch message is sent to the ObjectServer.

The default is 0 (probe does not send idle ProbeWatch messages.

G2ReconnectTimeout integer

-g2reconnecttimeout integer

Use this property to set the time (in seconds) the probe waits before trying to reconnect to the system.

The default is 0 (probe does not attempt to reconnect to the system.

G2RestartOnIdleTimeout integer

-g2norestartonidle timeout integer

(equivalent to G2RestartOnIdleTimeout with a value of 0).

-g2restartonidletimeout

(equivalent to G2RestartOnIdleTimeout with a value of 1)

Use this property to specify whether the probe disconnects from the device after an idle timeout:

0: The probe disconnects.

1: The probe sends a ProbeWatch message and restarts the idle timer.

The default is 0.

Host string

-host string

Use this property to specify the host to which the probe connects.

The default is localhost.

LineFormat string

-lineformat string

Use this property to format each line of the event.

The default is \t%f\t%v\n.

Note: %f indicates a field; %v indicates a field value.

LocalID string

-localid string

Use this property to specify the IP address of local machine interface.

The default is " ".

Login string

-login string

Use this property to specify the login ID.

The default is tim.

MessageTerminator string

-messageterminator string

Use this property to specify the regular expression that indicates the end of the message.

The default is \n\n.

OutputTerminator string

-outputterminator string

Use this property to specify the regular expression the probe adds to outgoing G2 messages to indicate the end of the message.

The default is \r\r.

Password string

-password string

Use this property to specify the login password.

The default is tim123.

Port integer

-port integer

Use this property to specify the port to which the probe connects.

The default is 2212.

RemoteID string

-remoteid string

Use this property to specify the Remote identifier.

The default is " ".

StreamCapture integer

-streamcapture integer

Use this property to specify whether the probe captures all raw data sent from the device:

0: Stream capture is disabled.

1: Stream capture is enabled.

The default is 0.

Note: If you set this property to 1, you must specify the file to store the data using the StreamCaptureFilename property.

StreamCaptureFilename string

-streamcapturefilename string

Use this property to specify the file the probe uses to store the input stream log.

The default is $OMNIHOME/var/lucent_g2itm_nm.Stream.

This property is required if you set the StreamCapture property to 1.