ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » Event monitoring using profile

Post new topic  Reply to topic
 Event monitoring using profile « View previous topic :: View next topic » 
Author Message
KIT_INC
PostPosted: Fri May 01, 2015 8:57 pm    Post subject: Event monitoring using profile Reply with quote

Knight

Joined: 25 Aug 2006
Posts: 589

I am running WMB 7004 on Windows. I want to generate transaction start event and capture a couple of fields of the incoming message.

The name of the message flow is ASN_MON_PROFILE_MF with a MQINPUT Node called 'ASNP_IN'

I want to use the profile method instead of configuring the MQ Input node.

I created a Monitringprofile configurable service and subscribe to the events
$SYS/Broker/MB7BROKER/Monitoring/EG1/ASN_MON_PROFILE_MF

But I m not getting any event message in my subscription destination queue.

I ran the user trace and did the following commands to identify the problem
mqsireportflowmonitoring MB7BROKER -e EG1 -f ASN_MON_PROFILE_MF

BIP8911I: Monitoring settings for flow 'ASN_MON_PROFILE_MF' in execution group '
EG1' - State?: active, ProfileName: 'ASNMonitoringProfile'.

BIP8071I: Successful command completion.

This shows that monitoring is active.

User trace output shows that Monitoring profile is loaded
2015-05-02 00:06:05.207750 8148 UserTrace BIP4076I: Message flow ''ASN_MON_PROFILE_MF'' successfully loaded monitoring profile ''ASNMonitoringProfile''. The message flow successfully loaded a monitoring profile.

The monitoring profile is as follow
mqsireportproperties MB7BROKER -c MonitoringProfiles -o AllReportableEntityNames -r

MonitoringProfiles
DefaultMonitoringProfile
profileProperties='<?xml version="1.0" encoding="UTF-8"?><monitoringProfile
xmlns="http://www.ibm.com/xmlns/prod/websphere/messagebroker/6.1.0/monitoring/pr
ofile" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><bitstreamDataQuery
encoding="base64Binary" bitstreamContent="all"/></monitoringProfile>'
useParserNameInMonitoringPayload='FALSE'
ASNMonitoringProfile
profileProperties='<p:monitoringProfile
xmlns:p="http://www.mycompany.ca/xmlns/prod/websphere/messagebroker/7.0.0
.4/monitoring/profile">
<p:eventSource p:eventSourceAddress="ASNP_IN.transaction.Start">
<p:eventPointDataQuery>
<p:eventIdentity>
<p:eventName p:literal="ASN start event"/>
</p:eventIdentity>
</p:eventPointDataQuery>
</p:eventSource>
<p:eventSource p:eventSourceAddress="ASNP_IN.terminal.out">
<p:applicationDataQuery>
<p:simpleContent p:dataType="integer" p:name="VendorBOLNumber">
<p:valueQuery p:queryText="$Body/BOL/VendorBOLNumber"/>
</p:simpleContent>
<p:simpleContent p:dataType="string" p:name="ASNNumber">
<p:valueQuery p:queryText="$Body/BOL/ASN/ASNNumber"/>
</p:simpleContent>
</p:applicationDataQuery>
</p:eventSource>
</p:monitoringProfile>






'
useParserNameInMonitoringPayload='FALSE'

BIP8071I: Successful command completion.



Any suggestion ?
Back to top
View user's profile Send private message
MB Developer
PostPosted: Mon May 04, 2015 4:25 am    Post subject: Reply with quote

Disciple

Joined: 03 Feb 2014
Posts: 179

Hi KIT_INC,

find the below link

Link
_________________
Thanks....
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » Event monitoring using profile
Jump to:  



You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.