When you have created a monitoring profile XML file, follow
these steps to apply it.
- 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 broker, and myMonitoringProfile with
the name of your monitoring profile.
mqsicreateconfigurableservice myBroker -c MonitoringProfiles
-o myMonitoringProfile
- 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 broker, myMonitoringProfile with
the name of your monitoring profile, and myMonitoringProfile.xml with
the name of the monitoring profile XML file.
mqsichangeproperties myBroker -c MonitoringProfiles -o myMonitoringProfile
-n profileProperties -p myMonitoringProfile.xml
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. See MonitoringProfiles configurable service for details.
mqsichangeproperties myBroker -c MonitoringProfiles -o myMonitoringProfile
-n useParserNameInMonitoringPayload -v TRUE
- Use the mqsichangeflowmonitoring command
to apply a monitoring profile configurable service to one or more
message flows.
Monitoring for the flow is inactive; applying the monitoring
profile does not activate it.
- Alternatively, use the broker archive 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 .
- 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 using the mqsichangeflowmonitoring
-c command.