<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
	<channel>
	<title><![CDATA[Forums]]></title>
	<link><![CDATA[http://www.systemcentercentral.com/Forums/tabid/60/rss/1/tag/Forums%20MP_Development/Default.aspx]]></link>
	<description></description>
	<language>en-us</language>
	<copyright><![CDATA[Copyright 2009 System Center Central All Rights Reserved.]]></copyright>
	<lastBuildDate>Fri, 03 Sep 2010 23:32:10 GMT</lastBuildDate>
		<item>
			<title><![CDATA[Forums: Automating Override Creation for State Change Flood]]></title>
			<link><![CDATA[http://www.systemcentercentral.com/tabid/177/IndexId/79321/Default.aspx]]></link>
			<description><![CDATA[<p>Do you think the situation Kevin Holman describes in this article would be a good candidate for automating creation of an override? <a href="http://blogs.technet.com/b/kevinholman/archive/2010/08/30/the-31552-event-or-why-is-my-data-warehouse-server-consuming-so-much-cpu.aspx">http://blogs.technet.com/b/kevinholman/archive/2010/08/30/the-31552-event-or-why-is-my-data-warehouse-server-consuming-so-much-cpu.aspx</a></p>
<p>If so, what would be the trigger for removing the override?</p>]]></description>
			<pubDate>Mon, 30 Aug 2010 17:07:31 GMT</pubDate>
			<guid>http://www.systemcentercentral.com/tabid/177/IndexId/79321/Default.aspx</guid>
		</item>
		<item>
			<title><![CDATA[Forums: Re: Automating Override Creation for State Change Flood]]></title>
			<link><![CDATA[http://www.systemcentercentral.com/Forums/tabid/60/IndexId/79395/Default.aspx]]></link>
			<description><![CDATA[<p>Actually, I have just been reading some of Tenchuu's posts on flood prevention and thinking about the right scenarios for implementing this in the real world. Thanks for the insight.</p>]]></description>
			<pubDate>Tue, 31 Aug 2010 04:54:02 GMT</pubDate>
			<guid>http://www.systemcentercentral.com/Forums/tabid/60/IndexId/79395/Default.aspx</guid>
		</item>
		<item>
			<title><![CDATA[Forums: Re: How to configure one alarm with sound?]]></title>
			<link><![CDATA[http://www.systemcentercentral.com/tabid/177/indexId/79363/tag/Forums+MP_Development/Default.aspx]]></link>
			<description><![CDATA[Set up a rule in Outlook]]></description>
			<pubDate>Mon, 30 Aug 2010 23:42:17 GMT</pubDate>
			<guid>http://www.systemcentercentral.com/tabid/177/indexId/79363/tag/Forums+MP_Development/Default.aspx</guid>
		</item>
		<item>
			<title><![CDATA[Forums: RE: Re: How to configure one alarm with sound?]]></title>
			<link><![CDATA[http://www.systemcentercentral.com/tabid/177/IndexId/79394/Default.aspx]]></link>
			<description><![CDATA[<p>Was posted in OpsMgr forum here on site as well. More answers at <a href="http://www.systemcentercentral.com/tabid/60/indexId/78753/tag/Forums/Default.aspx#vindex78931">http://www.systemcentercentral.com/tabid/60/indexId/78753/tag/Forums/Default.aspx#vindex78931</a></p>
<p>Although the 'outlook rule' suggestion is the safest I think.</p>]]></description>
			<pubDate>Tue, 31 Aug 2010 04:50:28 GMT</pubDate>
			<guid>http://www.systemcentercentral.com/tabid/177/IndexId/79394/Default.aspx</guid>
		</item>
		<item>
			<title><![CDATA[Forums: How to configure one alarm with sound?]]></title>
			<link><![CDATA[http://www.systemcentercentral.com/tabid/177/IndexId/78752/Default.aspx]]></link>
			<description><![CDATA[<p>Hi,</p>
<p>Does anyone knows how to configure one alarm that plays a sound when becomes activated?</p>
<p>Or how can I add sound to one preconfigured alarm?</p>
<p>Thanks</p>]]></description>
			<pubDate>Thu, 26 Aug 2010 18:24:10 GMT</pubDate>
			<guid>http://www.systemcentercentral.com/tabid/177/IndexId/78752/Default.aspx</guid>
		</item>
		<item>
			<title><![CDATA[Forums: Discovering multiple instances with Powershell - Please help!]]></title>
			<link><![CDATA[http://systemcentercentral.com/tabid/177/IndexId/78793/Default.aspx]]></link>
			<description><![CDATA[<p>I am about to lose my mind trying to make my discovery script work. I have tried this 20 ways from Sunday, but it still only returns <strong>ONE </strong>item. I saw the examples from others and tried them, but I am still only getting one instance returned. I know the script is working in regards to obtaining the data as I can see my test events with the Qmgr names, but they are obviously getting overwritten. The snip of code for adding the properties and returning the discovery data is as follows:</p>
<pre>
$api=new-object -comObject "MOM.ScriptAPI"
$QMgrDiscoveryData = $api.CreateDiscoveryData(0, $SourceId, $managedEntityId)

$qmgrcoll = @(Get-WMQQueueManager)</pre>
<pre>
foreach ($qmgr in $qmgrcoll)
  {
    $QManager = $qmgr.Name
    $QManagerDesc = $qmgr.QueueManagerDescription
    $QManagerCreate = $qmgr.CreationDateTime
     $QMgrDispName = $NetBiosName + "\" + $QManager
    $QmgrPathName = $ServerName + "\" + $QManager

    $QMgrInstance = $QMgrDiscoveryData.CreateClassInstance("$MPElement[Name='IBMMQ.Class.QueueManager']$")
    $QMgrInstance.AddProperty("$MPElement[Name='System!System.Entity']/DisplayName$", $QMgrDispName)
    $QMgrInstance.AddProperty("$MPElement[Name='Windows!Microsoft.Windows.Computer']/PrincipalName$", $ServerName)
    $QMgrInstance.AddProperty("$MPElement[Name='IBMMQ.Class.QueueManager']/PathName$", $QmgrPathName)
    $QMgrInstance.AddProperty("$MPElement[Name='IBMMQ.Class.QueueManager']/Name$", $QManager)
    $QMgrInstance.AddProperty("$MPElement[Name='IBMMQ.Class.QueueManager']/Desc$", $QManagerDesc)
    $QMgrInstance.AddProperty("$MPElement[Name='IBMMQ.Class.QueueManager']/CreationDate$", $QManagerCreate)</pre>
<pre>
    Write-DebugInfo("Adding discovered Queue Manager instance to Discovery : $QManager")
    $QMgrDiscoveryData.AddInstance($QMgrInstance)
   
    Remove-Variable QMgrInstance
  }

Write-DebugInfo("Returning Discovery Data")
$QMgrDiscoveryData</pre>]]></description>
			<pubDate>Thu, 26 Aug 2010 22:55:30 GMT</pubDate>
			<guid>http://systemcentercentral.com/tabid/177/IndexId/78793/Default.aspx</guid>
		</item>
		<item>
			<title><![CDATA[Forums: RE: Discovering multiple instances with Powershell - Please help!]]></title>
			<link><![CDATA[http://www.systemcentercentral.com/Forums/ForumPost/tabid/177/IndexId/78807/Default.aspx]]></link>
			<description><![CDATA[<p>I finally figured it out. It had nothing to do with my script, but everything to do with the class that I was discovering. As soon as I created a new class type of an application.component, configured the relationship, and assigned a key property, it began working with my current scripts. The interesting part is that I originally had the class configured this way, but thanks to a separate issue (that has since gotten resolved), I had changed the class type to see if that might have been the problem. I didn't think it'd be an issue since the example I found on here (the walkthrough demo for discovering services) showed using a localapplication class.</p>
<p>So, regardless, all is working. If anyone knows the exact requirements of what is needed for a discovery like this (does it HAVE to be a component, have a relationship, and a key property?), I would greatly appreciate hearing from you.</p>]]></description>
			<pubDate>Fri, 27 Aug 2010 01:04:14 GMT</pubDate>
			<guid>http://www.systemcentercentral.com/Forums/ForumPost/tabid/177/IndexId/78807/Default.aspx</guid>
		</item>
		<item>
			<title><![CDATA[Forums: automate MP creation for large numbers of rules or monitors]]></title>
			<link><![CDATA[http://www.systemcentercentral.com/tabid/177/IndexId/78671/Default.aspx]]></link>
			<description><![CDATA[<p>Has anyone managed to automate management pack creation for multiple rules and monitors? It seems like this would be doable using PowerShell or vbscript to output the xml chunks to a separate file. Just wondering if anyone has any suggestions. I have about 50 event rules to create for an application. Any ideas?</p>]]></description>
			<pubDate>Thu, 26 Aug 2010 05:40:15 GMT</pubDate>
			<guid>http://www.systemcentercentral.com/tabid/177/IndexId/78671/Default.aspx</guid>
		</item>
		<item>
			<title><![CDATA[Forums: Where are my Overrides? - Missing MP Elements]]></title>
			<link><![CDATA[http://www.systemcentercentral.com/Forums/ForumPost/tabid/177/IndexId/77335/Default.aspx]]></link>
			<description><![CDATA[<p>Greetings,</p>
<p>there are times where I face really weird behavior in SCOM which make me angry, and they are always the same: Something is missing/doesn't work for no reason.</p>
<p>Most of the time it's because there is some caching/update problem with the Management Packs and in usual case it's easy to fix that: Stop Management Service, clear Health Service State folder, start it up again.</p>
<p>Actually, I'm tired of that as well since this makes the system quite unreliable.</p>
<p> </p>
<p>So, my problem is pretty simple:</p>
<p>I have various Management Packs, each has a check, and each has 3 Groups and for each group an override. The 3 groups represent an Alert Priority, and the 3 Overrides, override the alert priority for the check.</p>
<p>When I import the Management Packs in my LAB environment, no problem, the Overrides are there. When I import them in my production environment, 50% of the overrides are missing. Some MPs work, some don't.</p>
<p>I checked the eventlog, nothing about faulty Overrides or anything. Also, when I check the Management Packs in the Health Service State folder it looks just fine.</p>
<p> </p>
<p>So, if resetting the HSS folder doesn't help, any suggestions? I already tried to move the RMS to the other cluster node, didn't do the job either.</p>
<p> </p>
<p>A little bit about the MP History:</p>
<p>We first had 3 Management Packs for each Check. The Check MP, the Discoveries MP, the Overrides MP.</p>
<p>We merged them since there was no reason to have a separate MP for each. Therefore I fear that it still has to do with faulty caching/.edb file.</p>]]></description>
			<pubDate>Mon, 16 Aug 2010 09:17:51 GMT</pubDate>
			<guid>http://www.systemcentercentral.com/Forums/ForumPost/tabid/177/IndexId/77335/Default.aspx</guid>
		</item>
		<item>
			<title><![CDATA[Forums: Re: Where are my Overrides? - Missing MP Elements]]></title>
			<link><![CDATA[http://www.systemcentercentral.com/tabid/177/indexId/78342/tag/Forums+MP_Development/Default.aspx]]></link>
			<description><![CDATA[Hi, the problem wasn't the version number in that case as it was a sealed MP and you can't update them unless you increase the version number.<br><br>But yea, I actually had similar problems with unsealed Management Packs as well. It's just a bit unclear when that happens and when not.]]></description>
			<pubDate>Tue, 24 Aug 2010 08:25:38 GMT</pubDate>
			<guid>http://www.systemcentercentral.com/tabid/177/indexId/78342/tag/Forums+MP_Development/Default.aspx</guid>
		</item>
		<item>
			<title><![CDATA[Forums: Re: Where are my Overrides? - Missing MP Elements]]></title>
			<link><![CDATA[http://www.systemcentercentral.com/tabid/177/indexId/78324/tag/Forums+MP_Development/Default.aspx]]></link>
			<description><![CDATA[I had a similar issue recently and found that updating the version number seemed to stop it from happenning. ]]></description>
			<pubDate>Tue, 24 Aug 2010 06:02:02 GMT</pubDate>
			<guid>http://www.systemcentercentral.com/tabid/177/indexId/78324/tag/Forums+MP_Development/Default.aspx</guid>
		</item>
		<item>
			<title><![CDATA[Forums: Delaying a recovery task]]></title>
			<link><![CDATA[http://www.systemcentercentral.com/tabid/177/IndexId/77768/Default.aspx]]></link>
			<description><![CDATA[<p>I have a requirement to create a recovery task on a failed service.  Reasonably straight forward except that the customer has requested that the recovery not run immediately but wait a predefined amount of time before restarting.</p>
<p>Ideally someone can point me in the direction of a native module that will handle this.</p>
<p>Failing that, I have a couple of possibilities and I would appreciate some feedback.</p>
<ol>
    <li><strong>Create a script (not powershell) that sleeps for the amount of time specified</strong><br />
    Service stops, state changes<br />
    Diagnostic runs sleep then checks to make sure that the service is still stopped<br />
    Recovery task starts the service if required<br />
    <br />
    This method is reasonably simple to implement but in one case the wait time is 30 minutes.  I'm not sure if I like the idea of a cscript process hanging around for that long.<br />
     </li>
    <li><strong>Persist state to the registry</strong><br />
    A little more complicated.  Once the information is persisted in the registry a second trigger would need to be fired to check the persisted information.  This could possibly be a different workflow and would definately need a  bit of customisation<br />
     </li>
    <li><strong>Any other suggestions?</strong><br />
    Has anyone done this or had a simliar requirement?</li>
</ol>
<p>Although I'm not overly keen on either, I prefer the first option, it is relatively simple to implement, resource usage is low and a second workflow would not be required to support it. The script would be spawned and run outside the monitoringhost process so I assume that no other workflows would be delayed while it waits, please correct me if I'm mistaken.</p>
<p>Alternatively, does anyone know of a native workflow/method that could be used to persist custom information somewhere without running a script?  Maybe MS could include this in future releases if it does not exists already.</p>]]></description>
			<pubDate>Thu, 19 Aug 2010 05:51:36 GMT</pubDate>
			<guid>http://www.systemcentercentral.com/tabid/177/IndexId/77768/Default.aspx</guid>
		</item>
		<item>
			<title><![CDATA[Forums: Re: Delaying a recovery task]]></title>
			<link><![CDATA[http://www.systemcentercentral.com/tabid/177/indexId/78266/tag/Forums+MP_Development/Default.aspx]]></link>
			<description><![CDATA[Calculations won't work in the configs. But you can actually take the timeout value in the script and subtract 10 seconds.<br><br>Add a new Integer property in the Configuration Schema of the module, set the Timeout to $Config/YourValue$ and add $Config/YourValue$ to the parameters. And then in the script, $YourValue$ - x]]></description>
			<pubDate>Mon, 23 Aug 2010 21:56:33 GMT</pubDate>
			<guid>http://www.systemcentercentral.com/tabid/177/indexId/78266/tag/Forums+MP_Development/Default.aspx</guid>
		</item>
		<item>
			<title><![CDATA[Forums: Re: Delaying a recovery task]]></title>
			<link><![CDATA[http://www.systemcentercentral.com/tabid/177/indexId/78264/tag/Forums+MP_Development/Default.aspx]]></link>
			<description><![CDATA[Hard to say how many instances would run at the same time.  At this stage I only have requirement for one, however, as these things go, once the functionality exists there will likely be more requests for it.<br><br><br><br>Another consideration would be the timeout on the script.  Ideally, this would be dynamic and set to say 10 seconds longer than the sleep time (eg. Timeout=$config/SleepTime$ + 10 ).  Is this possible?  ]]></description>
			<pubDate>Mon, 23 Aug 2010 21:39:41 GMT</pubDate>
			<guid>http://www.systemcentercentral.com/tabid/177/indexId/78264/tag/Forums+MP_Development/Default.aspx</guid>
		</item>
		<item>
			<title><![CDATA[Forums: Re: Delaying a recovery task]]></title>
			<link><![CDATA[http://www.systemcentercentral.com/Forums/tabid/60/IndexId/78208/Default.aspx]]></link>
			<description><![CDATA[<p>I didn't take the workflow into account there, do you know how much resources it would actually take up? I don't think it'd be that bad though.<br />
<br />
<br />
<br />
Also, what I do here for restarting the Health Service is that I write a Temporary script, launch it and finish the workflow. <br />
<br />
That would also be a solution.</p>]]></description>
			<pubDate>Mon, 23 Aug 2010 13:41:12 GMT</pubDate>
			<guid>http://www.systemcentercentral.com/Forums/tabid/60/IndexId/78208/Default.aspx</guid>
		</item>
		<item>
			<title><![CDATA[Forums: Re: Delaying a recovery task]]></title>
			<link><![CDATA[http://www.systemcentercentral.com/tabid/177/indexId/78186/tag/Forums+MP_Development/Default.aspx]]></link>
			<description><![CDATA[there would be modest memory impact, but nothing major. How many recovery tasks will you launch at the same time?]]></description>
			<pubDate>Mon, 23 Aug 2010 10:02:58 GMT</pubDate>
			<guid>http://www.systemcentercentral.com/tabid/177/indexId/78186/tag/Forums+MP_Development/Default.aspx</guid>
		</item>
		<item>
			<title><![CDATA[Forums: Re: Delaying a recovery task]]></title>
			<link><![CDATA[http://www.systemcentercentral.com/tabid/177/indexId/78145/tag/Forums+MP_Development/Default.aspx]]></link>
			<description><![CDATA[Would there not be any impact on the monitoringhost process that spawns the script?  Is there a limitation on the number of processes that it can spawn?]]></description>
			<pubDate>Mon, 23 Aug 2010 00:03:17 GMT</pubDate>
			<guid>http://www.systemcentercentral.com/tabid/177/indexId/78145/tag/Forums+MP_Development/Default.aspx</guid>
		</item>
		<item>
			<title><![CDATA[Forums: Re: Delaying a recovery task]]></title>
			<link><![CDATA[http://www.systemcentercentral.com/tabid/177/indexId/77803/tag/Forums+MP_Development/Default.aspx]]></link>
			<description><![CDATA[Would suggest the same as Pete does. And a wscript.sleep doesn't use up any resources, it just pauses the script and that's it. ]]></description>
			<pubDate>Thu, 19 Aug 2010 11:24:22 GMT</pubDate>
			<guid>http://www.systemcentercentral.com/tabid/177/indexId/77803/tag/Forums+MP_Development/Default.aspx</guid>
		</item>
		<item>
			<title><![CDATA[Forums: Re: Delaying a recovery task]]></title>
			<link><![CDATA[http://www.systemcentercentral.com/tabid/177/indexId/77778/tag/Forums+MP_Development/Default.aspx]]></link>
			<description><![CDATA[I would go the route of a script that executes but sleeps for time specificied before taking final action. You  could expose the sleep timer as an overridable parameter if you wanted. Registry would be more complicated, but also unnecessary in cases where you don't need to pause or  persist across reboots....in which case it's an option.]]></description>
			<pubDate>Thu, 19 Aug 2010 07:17:32 GMT</pubDate>
			<guid>http://www.systemcentercentral.com/tabid/177/indexId/77778/tag/Forums+MP_Development/Default.aspx</guid>
		</item>
		<item>
			<title><![CDATA[Forums: RE: Re: Fastest way to see which management pack a class came from?]]></title>
			<link><![CDATA[http://www.systemcentercentral.com/tabid/177/IndexId/77696/Default.aspx]]></link>
			<description><![CDATA[<p>I did a blog post on this explaining something similar a long time back</p>
<p><a title="Part 5: OpsMgr 2007 and Powershell and the SDK – What MP does this class come from?" href="http://www.systemcentercentral.com/BlogDetails/tabid/143/IndexID/37836/Default.aspx"><strong><font color="#003f7d">Part 5: OpsMgr 2007 and Powershell and the SDK – What MP does this class come from?</font></strong></a></p>]]></description>
			<pubDate>Wed, 18 Aug 2010 15:54:08 GMT</pubDate>
			<guid>http://www.systemcentercentral.com/tabid/177/IndexId/77696/Default.aspx</guid>
		</item>
	</channel>
</rss>
