<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.technet.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Operations Manager Report Authoring Guide</title><link>http://blogs.technet.com/b/momteam/archive/2008/02/26/operations-manager-report-authoring-guide.aspx</link><description>The report authoring guide for Operations Manager 2007 is now available for download. 
 http://download.microsoft.com/download/7/4/d/74deff5e-449f-4a6b-91dd-ffbc117869a2/OpsMgr2007_RprtGuide.doc 
 Thanks 
 Daniel Savage</description><dc:language>en-US</dc:language><generator>Telligent Evolution Platform Developer Build (Build: 5.6.50428.7875)</generator><item><title>re: Operations Manager Report Authoring Guide</title><link>http://blogs.technet.com/b/momteam/archive/2008/02/26/operations-manager-report-authoring-guide.aspx#2940427</link><pubDate>Thu, 28 Feb 2008 17:51:51 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:2940427</guid><dc:creator>Bitsqueezer</dc:creator><description>&lt;p&gt;Thanks for this tutorial. I found it useful but also found some problems with it: I tried to use it with the SCOM RTM version and found out that this guide only works with SP1 because there is no &amp;quot;publish&amp;quot; in the RTM version. After updating to SP1 it works.&lt;/p&gt;
&lt;p&gt;Then I followed your tutorial for &amp;quot;Custom Reports&amp;quot;. You described a SQL command to create a report. I tried to use it in reporting, it didn't work. Then I tried to recreate it with the querydesigner, here's the right syntax which worked:&lt;/p&gt;
&lt;p&gt;SELECT &amp;nbsp; &amp;nbsp; Evt.EventNumber, Evt.EventOriginId, Evt.EventPublisherRowId, Pub.EventPublisherName, Evt.DateTime, Evt.EventChannelRowId, &lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Chl.EventChannelTitle, Evt.EventCategoryRowId, Cat.EventCategoryTitle, Evt.EventLevelId, Lev.EventLevelTitle, Evt.LoggingComputerRowId, &lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Cmp.ComputerName, Evt.EventDisplayNumber, Evt.UserNameRowId, Usr.UserName, Det.RawDescription, Det.RenderedDescription, &lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Det.EventData&lt;/p&gt;
&lt;p&gt;FROM &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Event.vEvent AS Evt INNER JOIN&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;EventPublisher AS Pub ON Evt.EventPublisherRowId = Pub.EventPublisherRowId INNER JOIN&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;EventChannel AS Chl ON Evt.EventChannelRowId = Chl.EventChannelRowId INNER JOIN&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;EventCategory AS Cat ON Evt.EventCategoryRowId = Cat.EventCategoryRowId INNER JOIN&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;EventLevel AS Lev ON Evt.EventLevelId = Lev.EventLevelId INNER JOIN&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;EventLoggingComputer AS Cmp ON Evt.LoggingComputerRowId = Cmp.EventLoggingComputerRowId INNER JOIN&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;EventUserName AS Usr ON Evt.UserNameRowId = Usr.EventUserNameRowId INNER JOIN&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Event.vEventDetail AS Det ON Evt.EventOriginId = Det.EventOriginId&lt;/p&gt;
&lt;p&gt;WHERE &amp;nbsp; &amp;nbsp; (Evt.EventNumber = 21025)&lt;/p&gt;
&lt;p&gt;The report works as it should in Visual Studio, I tried to deploy and use it with Internet Explorer, worked, too (after the test I deleted the folder and report from the report server). &lt;/p&gt;
&lt;p&gt;Then I followed the guide to insert the report into a ManagementPack using XML. Unfortunately it didn't work. I created a MP with SCOM and exported it and then insert the report rdl into the MP like described. I tried this link, too:&lt;/p&gt;
&lt;p&gt;&lt;a rel="nofollow" target="_new" href="http://blogs.msdn.com/eugenebykov/archive/2007/05/18/reports-in-management-packs.aspx"&gt;http://blogs.msdn.com/eugenebykov/archive/2007/05/18/reports-in-management-packs.aspx&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;which gives a little more detailed information about this but it either didn't work.&lt;/p&gt;
&lt;p&gt;What I would expect from this is, when I create a MP with a report inside that it should be deployed automatically with SCOM to the report server and that it would be shown in the list of reports. Here's where the guide has no information about the IDs and their meaning. This is described in the link above but unfortunately even if I create a description in the language tags nothing happens when I import this MP (the empty one described above was deleted before).&lt;/p&gt;
&lt;p&gt;I looked into the XML files from the MS-MPs which I extracted with MPtoXML powershell script and found nothing else of useful information. Here's my XML try until now (deleted most of the report definition to not make it too long):&lt;/p&gt;
&lt;p&gt;&amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;utf-8&amp;quot;?&amp;gt;&lt;/p&gt;
&lt;p&gt;&amp;lt;ManagementPack ContentReadable=&amp;quot;true&amp;quot; xmlns:xsd=&amp;quot;&lt;a rel="nofollow" target="_new" href="http://www.w3.org/2001/XMLSchema&amp;quot;"&gt;http://www.w3.org/2001/XMLSchema&amp;quot;&lt;/a&gt; xmlns:xsl=&amp;quot;&lt;a rel="nofollow" target="_new" href="http://www.w3.org/1999/XSL/Transform&amp;quot;&amp;gt;"&gt;http://www.w3.org/1999/XSL/Transform&amp;quot;&amp;gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt; &amp;nbsp;&amp;lt;Manifest&amp;gt;&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp;&amp;lt;Identity&amp;gt;&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;ID&amp;gt;Reporting.Tests&amp;lt;/ID&amp;gt;&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;Version&amp;gt;1.0.0.0&amp;lt;/Version&amp;gt;&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp;&amp;lt;/Identity&amp;gt;&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp;&amp;lt;Name&amp;gt;_Reporting Tests&amp;lt;/Name&amp;gt;&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp;&amp;lt;References&amp;gt;&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;Reference Alias=&amp;quot;SystemCenter&amp;quot;&amp;gt;&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;ID&amp;gt;Microsoft.SystemCenter.Library&amp;lt;/ID&amp;gt;&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;Version&amp;gt;6.0.6278.0&amp;lt;/Version&amp;gt;&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;PublicKeyToken&amp;gt;31bf3856ad364e35&amp;lt;/PublicKeyToken&amp;gt;&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;/Reference&amp;gt;&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp;&amp;lt;/References&amp;gt;&lt;/p&gt;
&lt;p&gt; &amp;nbsp;&amp;lt;/Manifest&amp;gt;&lt;/p&gt;
&lt;p&gt; &amp;nbsp;&amp;lt;Presentation&amp;gt;&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp;&amp;lt;Folders&amp;gt;&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;Folder ID=&amp;quot;Folder_832baa8989c54bf59833c1f3e753813c&amp;quot; Accessibility=&amp;quot;Public&amp;quot; ParentFolder=&amp;quot;SystemCenter!Microsoft.SystemCenter.Monitoring.ViewFolder.Root&amp;quot; /&amp;gt;&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp;&amp;lt;/Folders&amp;gt;&lt;/p&gt;
&lt;p&gt; &amp;nbsp;&amp;lt;/Presentation&amp;gt;&lt;/p&gt;
&lt;p&gt;	&amp;lt;Reporting&amp;gt;&lt;/p&gt;
&lt;p&gt;		&amp;lt;DataWarehouseScripts /&amp;gt;&lt;/p&gt;
&lt;p&gt;		&amp;lt;DataWarehouseDataSets /&amp;gt;&lt;/p&gt;
&lt;p&gt;		&amp;lt;ReportResources /&amp;gt;&lt;/p&gt;
&lt;p&gt;		&amp;lt;Reports&amp;gt;&lt;/p&gt;
&lt;p&gt;			&amp;lt;Report ID=&amp;quot;Reporting.Tests.Event21025&amp;quot; Accessibility =&amp;quot;Public&amp;quot; Visible=&amp;quot;true&amp;quot;&amp;gt;&lt;/p&gt;
&lt;p&gt;				&amp;lt;Definition&amp;gt;&lt;/p&gt;
&lt;p&gt;					&amp;lt;Report xmlns=&amp;quot;&lt;a rel="nofollow" target="_new" href="http://schemas.microsoft.com/sqlserver/reporting/2005/01/reportdefinition&amp;quot;"&gt;http://schemas.microsoft.com/sqlserver/reporting/2005/01/reportdefinition&amp;quot;&lt;/a&gt; xmlns:rd=&amp;quot;&lt;a rel="nofollow" target="_new" href="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner&amp;quot;&amp;gt;"&gt;http://schemas.microsoft.com/SQLServer/reporting/reportdesigner&amp;quot;&amp;gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;						&amp;lt;DataSources&amp;gt;&lt;/p&gt;
&lt;p&gt;							&amp;lt;DataSource Name=&amp;quot;SCOMDataSourceReportingTests&amp;quot;&amp;gt;&lt;/p&gt;
&lt;p&gt;.&lt;/p&gt;
&lt;p&gt;.&lt;/p&gt;
&lt;p&gt;.&lt;/p&gt;
&lt;p&gt;.&lt;/p&gt;
&lt;p&gt;						&amp;lt;/DataSets&amp;gt;&lt;/p&gt;
&lt;p&gt;					&amp;lt;/Report&amp;gt;&lt;/p&gt;
&lt;p&gt;	&amp;lt;/Definition&amp;gt;&lt;/p&gt;
&lt;p&gt;&amp;lt;/Report&amp;gt;&lt;/p&gt;
&lt;p&gt;&amp;lt;/Reports&amp;gt;&lt;/p&gt;
&lt;p&gt;&amp;lt;/Reporting&amp;gt;&lt;/p&gt;
&lt;p&gt; &amp;nbsp;&amp;lt;LanguagePacks&amp;gt;&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp;&amp;lt;LanguagePack ID=&amp;quot;DEU&amp;quot; IsDefault=&amp;quot;false&amp;quot;&amp;gt;&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;DisplayStrings&amp;gt;&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;DisplayString ElementID=&amp;quot;Reporting.Tests&amp;quot;&amp;gt;&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;Name&amp;gt;_Reporting Tests&amp;lt;/Name&amp;gt;&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;Description&amp;gt;Zum Testen von eigenen Reportings mit SCOM&amp;lt;/Description&amp;gt;&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;/DisplayString&amp;gt;&lt;/p&gt;
&lt;p&gt;		 &amp;nbsp;&amp;lt;DisplayString ElementID=&amp;quot;Reporting.Tests.Event21025&amp;quot;&amp;gt;&lt;/p&gt;
&lt;p&gt;			 &amp;nbsp;&amp;lt;Name&amp;gt;_Reporting Tests&amp;lt;/Name&amp;gt;&lt;/p&gt;
&lt;p&gt;			 &amp;nbsp;&amp;lt;Description&amp;gt;Zum Testen von eigenen Reportings mit SCOM&amp;lt;/Description&amp;gt;&lt;/p&gt;
&lt;p&gt;		 &amp;nbsp;&amp;lt;/DisplayString&amp;gt;&lt;/p&gt;
&lt;p&gt;		 &amp;nbsp;&amp;lt;DisplayString ElementID=&amp;quot;Folder_832baa8989c54bf59833c1f3e753813c&amp;quot;&amp;gt;&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;Name&amp;gt;_Reporting Tests&amp;lt;/Name&amp;gt;&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;/DisplayString&amp;gt;&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;/DisplayStrings&amp;gt;&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp;&amp;lt;/LanguagePack&amp;gt;&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp;&amp;lt;LanguagePack ID=&amp;quot;ENU&amp;quot; IsDefault=&amp;quot;false&amp;quot;&amp;gt;&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;DisplayStrings&amp;gt;&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;DisplayString ElementID=&amp;quot;Reporting.Tests&amp;quot;&amp;gt;&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;Name&amp;gt;_Reporting Tests&amp;lt;/Name&amp;gt;&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;Description&amp;gt;Zum Testen von eigenen Reportings mit SCOM&amp;lt;/Description&amp;gt;&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;/DisplayString&amp;gt;&lt;/p&gt;
&lt;p&gt;		 &amp;nbsp;&amp;lt;DisplayString ElementID=&amp;quot;Reporting.Tests.Event21025&amp;quot;&amp;gt;&lt;/p&gt;
&lt;p&gt;			 &amp;nbsp;&amp;lt;Name&amp;gt;_Reporting Tests&amp;lt;/Name&amp;gt;&lt;/p&gt;
&lt;p&gt;			 &amp;nbsp;&amp;lt;Description&amp;gt;Zum Testen von eigenen Reportings mit SCOM&amp;lt;/Description&amp;gt;&lt;/p&gt;
&lt;p&gt;		 &amp;nbsp;&amp;lt;/DisplayString&amp;gt;&lt;/p&gt;
&lt;p&gt;		 &amp;nbsp;&amp;lt;DisplayString ElementID=&amp;quot;Folder_832baa8989c54bf59833c1f3e753813c&amp;quot;&amp;gt;&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;Name&amp;gt;_Reporting Tests&amp;lt;/Name&amp;gt;&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;/DisplayString&amp;gt;&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;/DisplayStrings&amp;gt;&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp;&amp;lt;/LanguagePack&amp;gt;&lt;/p&gt;
&lt;p&gt; &amp;nbsp;&amp;lt;/LanguagePacks&amp;gt;&lt;/p&gt;
&lt;p&gt;&amp;lt;/ManagementPack&amp;gt;&lt;/p&gt;
&lt;p&gt;It imports perfectly, no error message. Only thing is that I can't see any new report in the report list. Maybe you should expand the guide to explain a little bit more detailed what must be inserted here so that SCOM created a folder name in the reporting service and deploy it and where are the definitions of the folder name and report name?&lt;/p&gt;
&lt;p&gt;Thanks in advance&lt;/p&gt;
&lt;p&gt;Christian&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=2940427" width="1" height="1"&gt;</description></item></channel></rss>