Configuring the probe and gateway services
The Agile Service Manager probe and gateway containers are installed together with the other core components. Once you have configured these, Agile Service Manager can displays resource information generated from Netcool/OMNIbus events.
Before you begin
- Prerequisite steps before upgrading the probe:
- De-register the probe event sink (while the topology service is running):
$ASM_HOME/bin/topology_service_probe_deregister.sh --all - Prerequisite steps before upgrading the gateway:
- Stop the currently configured HTTP gateway.
- Define two additional ObjectServer alerts.status fields:
- AsmStatusId
- Define the AsmStatusId field to hold the ASM topology service status _id relating to an event. This can be used to identify whether ASM knows about an event, and to launch from it in context.
- LastOccurrenceUSec
- Define the LastOccurrenceUSec field, holding the sub-second portion of the LastOccurrence timestamp, in microseconds, to allow a modified generic_clear automation to perform same-second clearing.
- Extract the two triggers from the configuration map from the files of the same name as for
on-prem:
# Assuming a helm release called 'asm' oc get configmap asm-noi-gateway-config -o jsonpath="{.data.asm-trigger\.sql}" oc get configmap asm-noi-gateway-config -o jsonpath="{.data.updated-generic-clear\.sql}"
About this task
The Message Bus probe receives status from Agile Service Manager, and generate corresponding events in the Netcool/OMNIbus Event Viewer. These events are then fed back to Agile Service Manager via the Message Bus gateway, which updates the Agile Service Manager status via the Event Observer with the eventId.
The following diagram depicts how the Message Bus probe and gateway work together with the Agile Service Manager Event Observer to keep the event status between Agile Service Manager and Netcool/OMNIbus synchronized.

- asm-alert-fields.sql
- Defines two new fields:
- LastOccurrenceUSec
- Allows sub-second clearing
- AsmStatusId
- Stores the topology service status ID
- asm-trigger.sql
- Clears up events generated by Agile Service Manager when resources are deleted
- updated-generic-clear.sql
- Updates generic_clear automation to allow sub-second clearing
- nco_aes_crypt.sh
- You use this tool to encrypt the ObjectServer username and password.
- nco_keygen.sh
- You use this tool to generate a key file for encrypted usernames and passwords.
- nco_ping.sh
- You use this tool to check access to an ObjectServer; that is, to check connection status and verify TLS configuration. (However, the tool does not perform username or password validation.)
- omni.dat
- Netcool/OMNIbus connections data file (contains configuration examples)
- G_ASM.props
- Gateway properties file
- probe.props
- Probe properties file
- secure.env
- Additional secure configuration file (optional)
Procedure
Configure target ObjectServer
Encrypt username and password
Define ObjectServer TLS
Results
- The gateway is ready to supply Netcool/OMNIbus event data to the Agile Service Manager topology service, and the probe is ready to receive status from Agile Service Manager, and then pass it on to the Netcool/OMNIbus Event Viewer.
Example
# Example omni.dat file. Copy your own omni.dat file in here, and configure the
# probe and gateway to connect to the appropriate object servers in their props files:
#
# - $ASM_HOME/integrations/omnibus/kafka/probe/probe.props
# - $ASM_HOME/integrations/omnibus/kafka/gateway/G_ASM.props
#
[AGG_P]
{
Primary: noi-omnibus 4100
}
#
# Example failover pair config. The gateway and probe properties would require:
#
# - Probe
# Server: 'AGG_V'
#
# - Gateway
# Gate.Reader.Server: 'AGG_V'
#
[AGG_V]
{
Primary: primary-host.example.com 4100
Backup: backup-host.example.com 4100
}
#
# Example of connecting the probe and gateway to different layers of a multi-tiered architecture.
# The gateway and probe properties would require:
#
# - Probe
# Server: 'COL_P'
#
# - Gateway
# Gate.Reader.Server: 'AGG_P'
#
[AGG_P]
{
Primary: aggregation-layer-host.example.com 4100
}
[COL_P]
{
Primary: collection-layer-host.example.com 4100
}
#
# Example TLS config. The gateway and probe properties could use:
#
# - Probe
# Server: 'TLS_AGG_P'
#
# - Gateway
# Gate.Reader.Server: 'TLS_AGG_P'
#
# or can make use of the gateway Gate.Reader.CommonNames and probe SSLServerCommonName
# properties
#
# The Object Server CA certificate or key database file + password must be configured
# in $ASM_HOME/integrations/omnibus/secure.env
#
[TLS_AGG_P]
{
Primary: tls-host.example.com ssl 4100
}
What to do next
Next, you start Agile Service Manager.
- To improve performance and prevent unnecessary events from being displayed in the topology viewer, you can filter out events. You can also pass additional alerts.status fields to Agile Service Manager.
- Use the following gateway configuration files to apply advanced
configuration:
${ASM_HOME}/integrations/omnibus/kafka/gateway/row_filter.def${ASM_HOME}/integrations/omnibus/kafka/gateway/field_filter.map
- Probe rules transform the input into events suitable for the Netcool/OMNIbus alerts.status table. The name of the file must be given as a probe property or command line option (which in this example is 'probe.rules').
- Use (or copy and edit) the supplied sample probe rules file.
- Use the following probe configuration file to apply advanced
configuration:
${ASM_HOME}/integrations/omnibus/kafka/probe/probe.rules
You can review the probe and gateway log files (asm_probe.log and gateway.log). See the related links for more information.