To apply your monitoring profile, complete the following steps.
Procedure
Use the mqsicreateconfigurableservice
command to create a configurable service for the monitoring profile. In the following command example, replace myBroker with
the name of your integration node, and
myMonitoringProfile with the name of your monitoring
profile.
Use the mqsichangeproperties command to
associate your monitoring profile XML file with the configurable service. In the following command example, replace myBroker with
the name of your integration node,
myMonitoringProfile with the name of your monitoring
profile, and myMonitoringProfile.xml with the name of the
monitoring profile XML
file.
Set the useParserNameInMonitoringPayload property to TRUE to force the
wmb:applicationData/wmb:complexContent/wmb:elementName
attribute to hold the name of the input node parser, if present.
Monitoring for the flow is inactive; applying the monitoring
profile does not activate it.
Use the BAR File editor to apply a
monitoring profile configurable service to one or more message flows, by
setting message flow property Monitoring Profile
Name.
In the IBM® Integration Toolkit, switch to the Integration Development
perspective.
In the Application
Development view, right-click
the BAR file, then click Open with > BAR Editor.
Click the Manage and Configure tab.
Click the message flow on which you want to set the monitoring
profile configurable service. The properties that you can
configure for the message flow are displayed in the
Properties view.
In the Monitoring Profile Name field,
enter the name of a monitoring profile.
Save the BAR file.
Deploy the BAR file.
Monitoring for the flow is inactive; deploying the BAR file does
not activate it.
Activate monitoring for the flow by using the mqsichangeflowmonitoring
-c command.
Activate monitoring for a single message flow
messageflow1 in integration server
IS1:
mqsichangeflowmonitoring myBroker -e IS1
-f messageflow1 -c active
Activate monitoring for all message flows in all integration
servers:
mqsichangeflowmonitoring myBroker -g -j -c active
What to do next
If you edit the monitoring profile, use the mqsichangeproperties command to update the
configurable service to use the changed XML file. For example,