Gateway for Message Bus ConfigMap
Learn about the structure of the ConfigMap for the Gateway for Message Bus. This
ConfigMap is associated with the scala
pod. Edit this ConfigMap
to customize the properties of the Gateway for Message Bus, which
defines which data is transferred from the Netcool®/OMNIbusObjectServer
to the Operations Analytics - Log
Analysis
to support the Event Search capability.
Contents
Data elements | Description | More information |
---|---|---|
|
Properties that are listed in this data element are appended to XML gateway properties file on pod startup. |
Netcool/OMNIbus
documentation: Gateway for Message Bus properties
file |
|
Properties that are listed in this data element replace the gateway map definition in the
LA_GATE.map file on pod startup. |
Netcool/OMNIbus
documentation: Gateway for Message Bus map
definition file |
|
Properties that are listed in this data element replace the table replication in the
LA_GATE.tblrep.def file on pod startup. |
Netcool/OMNIbus
documentation: Gateway for Message Bus table
replication definition file |
|
Properties that are listed in this data element replace the startup command definition in the
LA_GATE.startup.cmd file on pod startup. |
Netcool/OMNIbus
documentation: Gateway for Message Bus startup
command file |
Examples of each of the data elements in this ConfigMap are provided.
Data element: xml-gate-props-append
xml-gate-props-append: |
MessageLevel: 'debug'
Data element: xml-gate-map-replace
LA_GATE.map
file on pod
startup.xml-gate-map-replace: |CREATE LOOKUP SeverityLkTable
(
{ 0, 'Clear' },
{ 1, 'Indeterminate' },
{ 2, 'Warning' },
{ 3, 'Minor' },
{ 4, 'Major' },
{ 5, 'Critical' }
) DEFAULT = TO_STRING('@Severity');
CREATE LOOKUP TypeLkTable
(
{ 0, 'Type Not Set' },
{ 1, 'Problem' },
{ 2, 'Resolution' },
{ 3, 'Visionary Problem' },
{ 4, 'Visionary Resolution' },
{ 7, 'ISM New Alarm' },
{ 8, 'ISM Old Alarm' },
{ 11, 'More Severe' },
{ 12, 'Less Severe' },
{ 13, 'Information' }
) DEFAULT = TO_STRING('@Type');
CREATE LOOKUP ClassLkTable
(
{ 0, 'Default Class' },
{ 95, 'Fujitsu FLEXR+' }
) DEFAULT = TO_STRING('@Class');
# My test map
CREATE MAPPING StatusMap
(
'LastOccurrence' = '@LastOccurrence',
'Summary' = '@Summary',
'NmosObjInst' = '@NmosObjInst',
'Node' = '@Node',
'NodeAlias' = '@NodeAlias' NOTNULL '@Node',
'LastOccurrence' = '@LastOccurrence',
'Severity' = Lookup('@Severity', 'SeverityLkTable'),
'AlertGroup' = '@AlertGroup',
'AlertKey' = '@AlertKey',
'Identifier' = '@Identifier',
'Location' = '@Location',
'Type' = Lookup('@Type', 'TypeLkTable'),
'Tally' = '@Tally',
'Class' = Lookup('@Class', 'ClassLkTable'),
'OmniText' = '@Manager' + ' ' + '@Agent',
'ActionCode' = ACTION_CODE,
'ServerName' = '@ServerName',
'ServerSerial' = '@ServerSerial'
);
Data element: xml-gate-tblrep-def-replace
LA_GATE.tblrep.def
file on pod
startup. xml-gate-tblrep-def-replace: |
# My test table replication definition
REPLICATE FT_INSERT,FT_UPDATE FROM TABLE 'alerts.status'
USING MAP 'StatusMap';
Data element: xml-gate-startup-cmd-replace
LA_GATE.startup.cmd
file on pod
startup. xml-gate-startup-cmd-replace: |
SHOW PROPS;