Author |
Message
|
mapa |
Posted: Thu Mar 22, 2012 3:06 pm Post subject: MonitoringProfile.xsd |
|
|
 Master
Joined: 09 Aug 2001 Posts: 257 Location: Malmö, Sweden
|
I am wondering why the "MonitoringProfile.xsd" is not distributed with WMB, or where I can find it.
I can't find it when I search for it, (I've searched for all "*.xsd" on the computer).
It is referenced from the WMB Info Center under the topic Monitoring Profile
Quote: |
Creating a monitoring profile
To help you create monitoring profiles, the following sample contains an outline monitoring profile XML file and the monitoring profile XML schema file (MonitoringProfile.xsd):
WebSphere® Business Monitor
Validate your monitoring profiles against the XML schema to ensure that they are correct. |
An XML file which an xsi schemalocation is in the example, but not the schema itself.
Yes, I can generate one myself but I really would like to use the "official" one instead.
One such schema can be found in the attached source to this excellent article: Generating events in WMB for transaction monitoring and auditing
It is unclear if that one is from the product or not.
Just want to be sure before I file a PMR. |
|
Back to top |
|
 |
mgk |
Posted: Thu Mar 22, 2012 3:17 pm Post subject: |
|
|
 Padawan
Joined: 31 Jul 2003 Posts: 1642
|
I believe this comes with the Monitoring Sample, and is installed when you install the sample, but I could be wrong... _________________ MGK
The postings I make on this site are my own and don't necessarily represent IBM's positions, strategies or opinions. |
|
Back to top |
|
 |
kimbert |
Posted: Thu Mar 22, 2012 3:53 pm Post subject: |
|
|
 Jedi Council
Joined: 29 Jul 2003 Posts: 5542 Location: Southampton
|
mgk is correct - the XSD in the sample is the 'official' version. |
|
Back to top |
|
 |
mapa |
Posted: Thu Mar 22, 2012 4:48 pm Post subject: |
|
|
 Master
Joined: 09 Aug 2001 Posts: 257 Location: Malmö, Sweden
|
I guess I wasn't clear enough, although I tried to state that the sample only contains a monitoring profile XML, but not the XSD itself.
The XML has the xsi schemalocation for the MonitoringProfile.xsd but the file is not there.
I only checked WMBT 8 now, but I am pretty sure it was the same in WMBT 7.
The XSD for the WMBEvent is there though, and is also possible to get from the hmm, is it generate message definition from IBM supplied resources or something similar? |
|
Back to top |
|
 |
kimbert |
Posted: Fri Mar 23, 2012 8:10 am Post subject: |
|
|
 Jedi Council
Joined: 29 Jul 2003 Posts: 5542 Location: Southampton
|
I did a search in a WMB v8 toolkit installation folder, and found MonitoringProfile.xsd. I suspect you can that it is an 'IBM supplied message definition'. |
|
Back to top |
|
 |
mqjeff |
Posted: Fri Mar 23, 2012 10:21 am Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
kimbert wrote: |
I did a search in a WMB v8 toolkit installation folder, and found MonitoringProfile.xsd. I suspect you can that it is an 'IBM supplied message definition'. |
I can confirm that it appears as an option in the "new message model" window choices. |
|
Back to top |
|
 |
mapa |
Posted: Tue Mar 27, 2012 1:38 pm Post subject: |
|
|
 Master
Joined: 09 Aug 2001 Posts: 257 Location: Malmö, Sweden
|
I have WMB 8.0.0.0 and WMBT Build id: 8.0.0-20111129_1446 installed on Windows.
I can't find the MonitoringProfile.xsd, can you please provide the path to it?
I've tried both with Windows search and find . -name 'MonitoringProfile.xsd' from my Git Bash console.
It can not see it in the "new message model" window choices, it contains:
Soap x4 (1.1 and 1.2, Encoding and Envelope)
SOAP message tree
MIME x2
Message Broker Timeout Request
Message Broker Monitoring Event
CORBA IDL
I am not after the WMBEvent which is the event emitted once monitoring is configured...
Guess it is no big deal, but still, it bothers me, especially since you say you found it
I took the xsd from the developerWorks article instead and generated my JAXB classes from it. |
|
Back to top |
|
 |
mqjeff |
Posted: Wed Mar 28, 2012 1:54 am Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
You need to create a new message schema from an IBM supplied definition.
Then it will give you a choice for the Monitoring schema. |
|
Back to top |
|
 |
mapa |
Posted: Wed Mar 28, 2012 12:03 pm Post subject: |
|
|
 Master
Joined: 09 Aug 2001 Posts: 257 Location: Malmö, Sweden
|
Are you absolutely certain you don't mean the WMBEvent as I previously stated?
It is not an option in my WMBT8 at least.
What is the name of the choice you say you have?
Isn't it "Message Broker Monitoring Event"? (--> WMBEvent, not the MonitoringProfile). |
|
Back to top |
|
 |
mqjeff |
Posted: Wed Mar 28, 2012 12:27 pm Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
mapa wrote: |
Are you absolutely certain you don't mean the WMBEvent as I previously stated?
It is not an option in my WMBT8 at least.
What is the name of the choice you say you have?
Isn't it "Message Broker Monitoring Event"? (--> WMBEvent, not the MonitoringProfile). |
Okay. I re-looked. You're right, this is WMBEvent, not MonitoringProfile.
And I can't find MonitoringProfile using some basic searching.
Time for you to open a PMR. |
|
Back to top |
|
 |
mapa |
Posted: Wed Mar 28, 2012 1:29 pm Post subject: |
|
|
 Master
Joined: 09 Aug 2001 Posts: 257 Location: Malmö, Sweden
|
In retrospective, I should have done that to start with
Anyway, PMR submitted. |
|
Back to top |
|
 |
mapa |
Posted: Fri Mar 30, 2012 1:23 pm Post subject: |
|
|
 Master
Joined: 09 Aug 2001 Posts: 257 Location: Malmö, Sweden
|
Last post on this I guess.
Got feedback on my PMR.
The xsd is missing in the Monitoring sample in v8, but present in v6.1 and v7 |
|
Back to top |
|
 |
smdavies99 |
Posted: Fri Mar 30, 2012 10:48 pm Post subject: |
|
|
 Jedi Council
Joined: 10 Feb 2003 Posts: 6076 Location: Somewhere over the Rainbow this side of Never-never land.
|
mapa wrote: |
Last post on this I guess.
Got feedback on my PMR.
The xsd is missing in the Monitoring sample in v8, but present in v6.1 and v7 |
Not Quite...
Just for completness and to stop any possible confusion with other xsd's, would you care to post the path to the file on say V7? _________________ WMQ User since 1999
MQSI/WBI/WMB/'Thingy' User since 2002
Linux user since 1995
Every time you reinvent the wheel the more square it gets (anon). If in doubt think and investigate before you ask silly questions. |
|
Back to top |
|
 |
mapa |
Posted: Sat Mar 31, 2012 2:27 am Post subject: |
|
|
 Master
Joined: 09 Aug 2001 Posts: 257 Location: Malmö, Sweden
|
Sure, but it will have to wait a few weeks.
I am on paternity leave and I only do fun stuff when I get the time.
So on my laptop I only have a V8 installation.
I always have VMware images for my customers environments and they are at the office.
It should be included in the Monitoring Sample provided with the Toolkits. |
|
Back to top |
|
 |
NealM |
Posted: Thu Jun 07, 2012 2:05 pm Post subject: |
|
|
 Master
Joined: 22 Feb 2011 Posts: 230 Location: NC or Utah (depends)
|
Well, this missing schema sorta sucks. I was looking to see if I could possibly add the eventFilter element to a monitoringProfile myProfile.xml file on WMB v6.1.0.10 runtime, even though it isn't in the Toolkit's node monitoring properties (officially not available until v7), considering how much undocumented stuff is added with each fixpack. A monitoringProfile.xsd (with proper versioning) sure would have been nice. Guess I'll have to resort to testing...
mapa, if you are off maternity leave could you post that .xsd location? I searched v6.1, v7 and v8 toolkit and runtime directories, no luck. |
|
Back to top |
|
 |
|