Properties and command line options
The following tables describe the properties and command line options that are applicable to the Java Gateway for ServiceNow. They cover the properties specific to the gateway and those provided by the gateway's operational environment. Specifically, the tables provide these categories of properties: properties specific to the Java Gateway for ServiceNow, gateway framework properties, and generic Tivoli Netcool/OMNIbus properties.
Table 1 lists and describes the properties specific to the Java Gateway for ServiceNow that are defined in the G_SERVICENOW.props properties file. The default values in Table 1 are the default values as specified in the G_SERVICENOW.props properties file.
See Gateway operation for more details on the properties specific to the Java Gateway for ServiceNow properties. The details include how the properties specific to the Java Gateway for ServiceNow relate to each other, depending on the values specified.
The descriptions that follow make use of the following terms:
- Outbound -- Specifies the data flow sent from the gateway to the ServiceNow instance database.
- Inbound -- Specifies the data flow received by the gateway from the ServiceNow instance database.
Property name |
Command Line option |
Description |
---|---|---|
Gate.ServiceNow.AlternateIndexField string |
- |
Use this property to specify the name of a column in the ServiceNow target table that can be used as an alternate index. This column name implies that the values in the ServiceNow instance database are unique within the scope of records that the gateway queries. Note that the Gate.ServiceNow.QueryPolicy property controls how the gateway queries the ServiceNow instance database by using a scoping clause. The name of the ServiceNow target table is specified in the Gate.ServiceNow.TableName property. The default column name in the ServiceNow
target table is
|
Gate.ServiceNow.AlternateIndexPolicy string |
- |
Use this property to specify how the gateway sets the alternate index field. The property takes one of the following values:
The default operational behavior for the way the gateway sets the alternate index field value is
specified by the value |
Gate.ServiceNow.AuthenticationType string |
|
Use this property to specify the type of authentication to use with ServiceNow. Valid values are:
The default is If you set this property to |
Gate.ServiceNow.ClientId string |
|
If you set the Gate.ServiceNow.AuthenticationType property to
The default is |
Gate.ServiceNow.ClientSecret string |
|
If you set the Gate.ServiceNow.AuthenticationType property to
The default is |
Gate.ServiceNow.Connections integer |
|
Use this property to set the number of simultaneous connections the gateway makes with ServiceNow. The default value is |
Gateway.ServiceNow. |
- |
Use this property to mark any alert subjected to ticket creation that receives a positive reply from the ServiceNow gateway but does not complete the final state of receiving or updating targetID to the alert. The default is 'CREATION-FAILURE'. |
Gate.ServiceNow.DateAndTimeFormat string |
- |
Use this property to specify the format for the outbound date and time data so that it is compatible with the format specified for the associated ServiceNow system properties. The default value is See Controlling how the gateway handles outbound data management for additional information about this property and its relationship to ServiceNow system properties. |
Gate.ServiceNow.DropFirstNotification boolean |
- |
Use this property to specify whether the gateway should process the first notification it receives following the creation of a ticket by the ServiceNow instance. The property takes one of the following values:
The default value is |
Gate.ServiceNow.ErrorCodeColumn string |
- |
Use this property to specify the name of the column in an ObjectServer table to be used for storing gateway error codes. The default name of the column is |
Gate.ServiceNow.Host string |
- |
Use this property to specify the name (or IP address) of the host server on which the ServiceNow instance is running. You must configure this property in order for the gateway to operate. The gateway uses the host server name (or IP address) specified in this property to form the URLs used to communicate with the ServiceNow instance. The default value is |
Gate.ServiceNow.ModifCounterField string |
- |
Use this property to specify the name of the field in the ServiceNow ticket that holds the counter of modifications associated with the ticket. The default field name is |
Gate.ServiceNow.OutboundManagedTypes string |
- |
Use this property to specify which types of data the gateway should use as part of its outbound
data management operations. For example, Note: This property is active only if you specify the value
custom for the
Gate.ServiceNow.OutboundManagement property.The default value is |
Gate.ServiceNow.OutboundManagement string |
- |
Use this property to specify how the gateway manages outbound data. The property takes one of the following values:
The default value is |
Gate.ServiceNow.NoRetryCodes string |
- |
Use this property to configure the gateway to not retry The default value is To completely disable this functionality, uncomment the property and specify |
Gate.ServiceNow.Password string |
- |
Use this property to specify the password for the service account that the gateway uses to access the ServiceNow instance. This service account must be created in ServiceNow and consist of a username and password. Use this property in conjunction with the Gate.ServiceNow.Username property. The default value is See Authenticating the gateway with ServiceNow for additional information about this property and its relationship to defining suitable ServiceNow user roles. |
Gate.ServiceNow. |
- |
Use this property to specify the adjustment (in seconds) that the gateway makes to allow for a difference in the time kept by the gateway clock and the ServiceNow clock. When Gate.ServiceNow. If the condition is not complied, then gateway will throw exception and exit. Note: For details about configuring this property, see Configuring the PollingAdjustment property.
|
Gate.ServiceNow.PollingInterval integer |
- |
Use this property to specify how often (in seconds) the gateway should query the ServiceNow instance to check for updates to tickets. The default query interval is |
Gate.ServiceNow.PreCreateChecks string |
- |
Use this property to specify how the gateway should perform checks before creating a new ticket in the ServiceNow target table. The property takes one of the following values:
The default checking behavior value is |
Gate.ServiceNow.Proxy string |
- |
Use this property to connect the gateway to the ServiceNow instance by an HTTP proxy server. There are four ways to configure the property: Gate.ServiceNow.Proxy : 'hostname' # Hostname only, port will be 80 Gate.ServiceNow.Proxy : 'hostname:port' # Hostname and port specification Gate.ServiceNow.Proxy : 'user:password@hostname' # Hostname and authentication specification, port will be 80. Gate.ServiceNow.Proxy :
Where |
Gate.ServiceNow.QueryPolicy string |
- |
Use this property to control how the gateway must query the ServiceNow instance database. Specifically, the gateway performs all queries on the ServiceNow instance database using a scoping clause that includes the following:
Where
Thus, the only tickets in the ServiceNow instance database that are of interest to the gateway are those tickets that the gateway itself creates. The default query policy value is Note: Currently, this property supports only a query policy with the value
Account . |
Gateway.ServiceNow. |
- |
Use this property to control the ticket reclaim process for outbound processing. Set the Gate.ServiceNow. Set to the Gate.ServiceNow. Set to the Gate.ServiceNow. The default is 0. |
Gate.ServiceNow.RetryLimit integer |
- |
Use this property to specify the maximum number of retries the gateway should make on an operation (for example, forwarding an event to the ServiceNow instance) that failed. The minimum value that can be set for this property is 1. The default value of |
Gate.ServiceNow.RetryWait integer |
- |
Use this property to specify the number of seconds the gateway should wait before retrying an operation (for example, forwarding an event to the ServiceNow instance) that failed. The default value is |
Gate.ServiceNow.SysIdField string |
- |
Use this property to specify the name for the ServiceNow target table column that holds the globally unique identifier (GUID) for each ServiceNow ticket. The values for the GUID column are crucial to the operation of the gateway as they are often used to form the URLs which the gateway uses to communicate with the ServiceNow instance. The default value for the GUID column name is |
Gate.ServiceNow.TableName string |
- |
Use this property to specify the name of the ServiceNow target table. The gateway uses this target database table to create tickets and to retrieve data about these tickets. The default name for the ServiceNow
target table is
|
Gate.ServiceNow.TicketIdField string |
- |
Use this property to instruct the gateway to use the specified column (which must be a unique ticket identifier) in the ServiceNow target table as the internal ticket identifier. The default column name is |
Gate.ServiceNow.UpdateFields string |
- |
In addition to the six automatically included columns, use this property to specify which columns to retrieve record field information from the ServiceNow target table when polling for updates. The following list identifies these six other columns:
The default value for this property specifies two columns: Note: If you define the name of a column in the ServiceNow
target table that can be
used as an alternate index (the
Gate.ServiceNow.AlternateIndexField property), that column is
also automatically included as a retrieval column.
|
Gate.ServiceNow.UpdateQueryStartTime integer |
- |
The range of Gate.ServiceNow. |
Gate.ServiceNow.Username string |
- |
Use this property to specify the username for the user account that the gateway uses to access the ServiceNow instance. This user account must be created in ServiceNow and consist of a username and password. Use this property in conjunction with the Gate.ServiceNow.Password property. The default value is See Authenticating the gateway with ServiceNow for additional information about this property and its relationship to defining suitable ServiceNow user roles. |
Table 2 lists and describes the properties provided by the gateway framework.
Property name |
Command Line option |
Description |
---|---|---|
Gate.Cache.NotificationMap string |
- |
Use this property to specify the JavaScript file to use for alert notifications. The default value is
$OMNIHOME/gates/servicenow/ |
Gate.Cache.GenericScript string | -cachegenericscript
string |
Use this property to specify the JavaScript file to use for alert modifications. The default value is |
Gate.Cache.ResyncMode string |
- |
Use this property to specify a resynchronization mode for the gateway. This property takes the following value:
The default value is The gateway does not currently support the values |
Gate.Cache. ResyncSuppressDeletesstring |
- |
Use this property to suppress all resynchronization deletes. This property takes the following values:
The default value is |
Gate.Cache.ResyncSuppressInitialDeletes string |
- |
Use this property to suppress initial (gateway startup) resynchronization deletes. This property takes the following values:
The default value is |
Gate.ConversionsDirection string |
- |
Use this property to specify how the gateway converts field values. This property takes the following values:
The default value is Note: The gateway does not supply a conversion table. However, you can create a conversion table to
make use of this property.
|
Gate.HistoricResync boolean |
- |
Use this property to configure how the gateway handles historic journal entries for an ObjectServer alert. The property takes one of the following values:
The default value is |
Gate.MapFile string |
- |
Use this property to specify the map definition file for the gateway to use. The default value is
$OMNIHOME/gates/servicenow/ |
Gate.PackageBase string |
- |
Use this property to specify the Java gateway package. The default value is com.ibm.tivoli.netcool. Note: This is an internal property and its value should not be changed.
|
Gate.RdrWtr.DetailsTableName string |
- |
The gateway does not currently support this property. |
Gate.RdrWtr.IducFlushRate integer |
- |
Use this property to specify the rate (in seconds) of the granularity of the gateway's reader. If you set this property to 0 (zero), the reader gets its updates at the same granular rate as that of the ObjectServer to which it is connected. The default value is 0. Note: If you set this property to a value greater than 0, the reader issues automatic IDUC flush
requests to the ObjectServer
with this period. This enables the reader to run at a faster granularity than that of the ObjectServer, thus enabling the
gateway to capture more detailed event changes in systems where the ObjectServer itself has high
granularity settings.
|
Gate.RdrWtr.JournalTable |
- |
Use this property to specify the name of the journal table that the gateway reads. The default value is alerts.journal. Note: The value for this property must be alerts.journal and should not be
changed.
|
Gate.RdrWtr.Password string |
- |
Use this property to specify the login password for the ObjectServer. The Gate.RdrWtr.Password is associated with the user specified by the Gate.RdrWtr.Username property. The default value is "". Note: The gateway uses this property only when the ObjectServer runs in secure
mode.
|
Gate. |
- - |
Use this property to specify the time (in seconds) between each reconnection poll attempt that the gateway makes if the connection to the ObjectServer is lost. The default value is |
Gate.RdrWtr.Server string |
- |
Use this property to specify the name of the ObjectServer from which the gateway
reads alerts. The name can either be an interface name (for example, The default value is localhost:4100. |
Gate.RdrWtr.StatusTableName string |
- |
Use this property to specify the name of the status table to which the gateway reads and writes. The default value is alerts.status. |
Gate.RdrWtr.TblReplicate |
- |
Use this property to specify the path to the table replication definition file. The path includes the name of the table replication definition file. The default value (including the name of the table replication definition file supplied with the
gateway) is
$OMNIHOME/gates/servicenow/ |
Gate.RdrWtr.Username string |
- |
Use this property to specify the username used to authenticate the ObjectServer connection. The default value is root. Note: The gateway uses this property only when the ObjectServer runs in secure
mode.
|
Gate.TargetIdField string |
- |
Use this property to specify the The default value is ServiceNowSysId. Note: The identifier is the globally unique identifier (GUID) for each ServiceNow ticket.
|
Gate.TraceFile string |
- |
Use this property to specify the path of the file used to store trace information. The default value is "". Note: Typically, this property is used by IBM support to debug any issues
with gateway operations.
|
Gate.TraceMode string |
- - - - |
Use this property to specify the gateway trace mode. This property takes the following values:
The default value is Note: Typically, this property is used by IBM support to debug any issues
with gateway operations.
You can use the command line options |
Gate.Type string |
- |
Use this property to specify the gateway type. The default value is servicenow. Note: The value for this property must be servicenow and should not be
changed.
|
Table 3 lists and describes the generic Tivoli Netcool/OMNIbus properties that the gateway uses. For details on these properties, see the IBM Tivoli Netcool/OMNIbus Probe and Gateway Guide.
Property name |
Command Line option |
Description |
---|---|---|
ConfigKeyFile |
See the IBM Tivoli Netcool/OMNIbus Probe and Gateway Guide for information on this property. |
|
HttpServer.Password string |
This property is not currently used. |
|
HttpServer.Port integer |
This property is not currently used. |
|
HttpServer.Realm string |
This property is not currently used. |
|
HttpServer.Root string |
This property is not currently used. |
|
HttpServer.Username string |
This property is not currently used. |
|
MaxLogFileSize |
See the IBM Tivoli Netcool/OMNIbus Probe and Gateway Guide for information on this property. Note: The default maximum size for the message log file is 0 (meaning that the file
size is limitless).
|
|
MessageLevel string |
- |
See the IBM Tivoli Netcool/OMNIbus Probe and Gateway Guide for information on this property. Note: The default message level is warn:warn.
|
MessageLog string |
- |
See the IBM Tivoli Netcool/OMNIbus Probe and Gateway Guide for information on this property. Note: The default message log file is
$OMNIHOME/
log/G_SERVICENOW.log. |
MessageLogRollKeep integer |
- |
Use this property to specify the maximum number of old rolled logs to keep. To specify how older logs are processed, use the MessageLogRollProcess property. The default is 5. |
MessageLogRollProcess string |
- |
Use this property to specify how old logs are processed. The default is ''. Note: If no value is set for this property, old logs are simply deleted.
If a command is
specified, the old log is passed as an argument to the command. The command might be
This functionality helps you to prevent the unrestricted build-up of old log files. |
MessageLogRolltime string |
- |
Use this property to specify at what time a daily log file should roll. Typically, this is done at midnight, to generate daily logs. However, you can specify any time. Specify the time in HHMM format. Where: HH specifies the hour and MM specifies the minutes of the time you want to roll the daily log. For example, the value The default daily log file roll time is "". |
Name string |
- |
See the IBM Tivoli Netcool/OMNIbus Probe and Gateway Guide for information on this property. Note: The default name of the current gateway instance is servicenow.
|
Props.AllowUnknown boolean |
- |
Use this property to instruct the gateway on how to handle unknown properties in the properties file. Specify one of the following values: true: Instructs the gateway to allow unknown properties in the properties file and to ignore these unknown properties. false: Instructs the gateway to generate an error if there are unknown properties in the properties file. Use this setting to catch such errors as typos in property names and to avoid the diagnostics that follow typographical related errors. The default value is |
PropsFile string |
- |
See the IBM Tivoli Netcool/OMNIbus Probe and Gateway Guide for information on this property. Note: The default location and name is $OMNIHOME/etc/G_SERVICENOW.props.
|