<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.msdn.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>Notification Subscriptions</title><link>http://blogs.msdn.com/jakuboleksy/archive/2007/01/18/notification-subscriptions.aspx</link><description>There have been a few requests recently for more granular notification subscriptions. While this is fully supported, our UI is limited in what it exposes for users to tweak. Here is a look at the SDK and how to use it to create a subscription (and related</description><dc:language>en</dc:language><generator>CommunityServer 2.1 SP1 (Build: 61025.2)</generator><item><title>re: Notification Subscriptions</title><link>http://blogs.msdn.com/jakuboleksy/archive/2007/01/18/notification-subscriptions.aspx#3795695</link><pubDate>Tue, 10 Jul 2007 12:49:15 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:3795695</guid><dc:creator>Denis Orlov</dc:creator><description>&lt;p&gt;How I can use this C+ code?&lt;/p&gt;
&lt;p&gt;I must make an exe file?&lt;/p&gt;
</description></item><item><title>re: Notification Subscriptions</title><link>http://blogs.msdn.com/jakuboleksy/archive/2007/01/18/notification-subscriptions.aspx#3798772</link><pubDate>Tue, 10 Jul 2007 16:55:14 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:3798772</guid><dc:creator>JakubOleksy</dc:creator><description>&lt;p&gt;This is C# and yes, you would need to make an exe.&lt;/p&gt;
</description></item><item><title>re: Notification Subscriptions</title><link>http://blogs.msdn.com/jakuboleksy/archive/2007/01/18/notification-subscriptions.aspx#3800208</link><pubDate>Tue, 10 Jul 2007 19:05:37 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:3800208</guid><dc:creator>Denis Orlov</dc:creator><description>&lt;p&gt;Oh, I see.&lt;/p&gt;
&lt;p&gt;Will it create new Subscription, new Recipient and new Notification Channel?&lt;/p&gt;
&lt;p&gt;Shall I have opportunity to see it in UI?&lt;/p&gt;
&lt;p&gt;Shall I have opportunity to change it through UI?&lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;
</description></item><item><title>re: Notification Subscriptions</title><link>http://blogs.msdn.com/jakuboleksy/archive/2007/01/18/notification-subscriptions.aspx#3800670</link><pubDate>Tue, 10 Jul 2007 19:42:28 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:3800670</guid><dc:creator>JakubOleksy</dc:creator><description>&lt;p&gt;To answer your questions in order:&lt;/p&gt;
&lt;p&gt;Yes&lt;/p&gt;
&lt;p&gt;Yes&lt;/p&gt;
&lt;p&gt;Yes (depending on the complexity of the criteria, however, some things are not supported in the UI)&lt;/p&gt;
</description></item><item><title>re: Notification Subscriptions</title><link>http://blogs.msdn.com/jakuboleksy/archive/2007/01/18/notification-subscriptions.aspx#3810876</link><pubDate>Wed, 11 Jul 2007 09:54:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:3810876</guid><dc:creator>Denis Orlov</dc:creator><description>&lt;p&gt;Thanks a Lot!&lt;/p&gt;</description></item><item><title>re: Notification Subscriptions</title><link>http://blogs.msdn.com/jakuboleksy/archive/2007/01/18/notification-subscriptions.aspx#3811664</link><pubDate>Wed, 11 Jul 2007 11:41:01 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:3811664</guid><dc:creator>Denis Orlov</dc:creator><description>&lt;p&gt;Thanks a Lot!&lt;/p&gt;
&lt;p&gt;I try to run this code, but get a error:&lt;/p&gt;
&lt;p&gt;&amp;quot;The type or namespace name 'EnterpriseManagement' does not exist in the namespace 'Microsoft' (are you missing an assembly reference?)&amp;quot;	&lt;/p&gt;
</description></item><item><title>re: Notification Subscriptions</title><link>http://blogs.msdn.com/jakuboleksy/archive/2007/01/18/notification-subscriptions.aspx#3811907</link><pubDate>Wed, 11 Jul 2007 12:09:53 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:3811907</guid><dc:creator>Denis Orlov</dc:creator><description>&lt;p&gt;I could create a new Subscription!!!&lt;/p&gt;
&lt;p&gt;Thanks!&lt;/p&gt;
</description></item><item><title>re: Notification Subscriptions</title><link>http://blogs.msdn.com/jakuboleksy/archive/2007/01/18/notification-subscriptions.aspx#3812977</link><pubDate>Wed, 11 Jul 2007 14:08:41 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:3812977</guid><dc:creator>Denis Orlov</dc:creator><description>&lt;p&gt;The first results&lt;/p&gt;
&lt;p&gt;(It is my first operational experience with C# and VS)&lt;/p&gt;
&lt;p&gt;First of all I can’t see new Notification channel.&lt;/p&gt;
&lt;p&gt;How to remove already created channels (by this code)?&lt;/p&gt;
&lt;p&gt;I want to add new subscription to the concrete monitor (alerts from only one monitor) and I don’t see how I can do this by this code. &lt;/p&gt;
&lt;p&gt;Where I can get all parameters, if I must use “Criteria” property of AlertChangedSubscriptionConfiguration Class for this? And I do not know where I can get Monitor ID.&lt;/p&gt;
&lt;p&gt;Thanks!&lt;/p&gt;
</description></item><item><title>re: Notification Subscriptions</title><link>http://blogs.msdn.com/jakuboleksy/archive/2007/01/18/notification-subscriptions.aspx#3815988</link><pubDate>Wed, 11 Jul 2007 17:50:55 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:3815988</guid><dc:creator>JakubOleksy</dc:creator><description>&lt;p&gt;1. To find the notification channel, go to the Administration pane -&amp;gt; Settings -&amp;gt; Notification.&lt;/p&gt;
&lt;p&gt;2. You can delete from there, or programatically using the ManagementGroup.DeleteNotificationAction()/DeleteNotificationEndpoint() methods.&lt;/p&gt;
&lt;p&gt;3/4. You need to use criteria for this. Essentially, you can use any property that is defined on the MonitoringAlert object. For a monitor it is ProblemId.&lt;/p&gt;
</description></item><item><title>re: Notification Subscriptions</title><link>http://blogs.msdn.com/jakuboleksy/archive/2007/01/18/notification-subscriptions.aspx#3826221</link><pubDate>Thu, 12 Jul 2007 09:18:49 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:3826221</guid><dc:creator>Denis Orlov</dc:creator><description>&lt;p&gt;Thanks Jakub!&lt;/p&gt;
&lt;p&gt;1. I can find there only channels which have been created through UI, and not one channel &amp;nbsp;through &amp;nbsp;this code.&lt;/p&gt;
&lt;p&gt;2. Thanks for advice&lt;/p&gt;
&lt;p&gt;3. I'll try.&lt;/p&gt;
&lt;p&gt;Thanks a lot!&lt;/p&gt;
</description></item><item><title>re: Notification Subscriptions</title><link>http://blogs.msdn.com/jakuboleksy/archive/2007/01/18/notification-subscriptions.aspx#3834116</link><pubDate>Thu, 12 Jul 2007 19:53:06 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:3834116</guid><dc:creator>JakubOleksy</dc:creator><description>&lt;p&gt;1. Looks like the UI uses specific names for the channels it shows:&lt;/p&gt;
&lt;p&gt;SmtpEndpoint and DefaultSmtpAction&lt;/p&gt;
&lt;p&gt;ImEndpoint and DefaultImAction&lt;/p&gt;
&lt;p&gt;SmsEndpoint and DefaultSmsAction&lt;/p&gt;
</description></item><item><title>re: Notification Subscriptions</title><link>http://blogs.msdn.com/jakuboleksy/archive/2007/01/18/notification-subscriptions.aspx#4864021</link><pubDate>Tue, 11 Sep 2007 14:06:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:4864021</guid><dc:creator>Rico_Chang</dc:creator><description>&lt;p&gt;Hi Jakub,&lt;/p&gt;
&lt;p&gt;I have tested your sample code to create a subscription for our customer's requirement for a while. However I could not find the code to control &amp;quot;Alert Aging&amp;quot; option in your sample code and SDK. Could you tell me how to control alert aging option under subscription? Thank you for your help. &lt;/p&gt;
</description></item><item><title>re: Notification Subscriptions</title><link>http://blogs.msdn.com/jakuboleksy/archive/2007/01/18/notification-subscriptions.aspx#4866866</link><pubDate>Tue, 11 Sep 2007 18:29:35 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:4866866</guid><dc:creator>JakubOleksy</dc:creator><description>&lt;p&gt;Are you looking for alerts that haven't changed in some time? For that, you should use AlertNotChangedSubscriptionConfiguration and the IdleMinutes property.&lt;/p&gt;
</description></item><item><title>re: Notification Subscriptions</title><link>http://blogs.msdn.com/jakuboleksy/archive/2007/01/18/notification-subscriptions.aspx#4875787</link><pubDate>Wed, 12 Sep 2007 09:18:11 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:4875787</guid><dc:creator>Rico_Chang</dc:creator><description>&lt;p&gt;Thanks Jakub. That is what I need. Now I can understand the sdk descirption of IdleMinutes &amp;quot;Gets or sets the interval of time, in minutes, that alerts do not change.&amp;quot;.&lt;/p&gt;
&lt;p&gt;I also find out you have sample code which used this property in another post.&lt;/p&gt;
&lt;p&gt;&lt;a rel="nofollow" target="_new" href="http://blogs.msdn.com/jakuboleksy/archive/2006/11/21/differences-between-mcf-in-mom-2005-and-scom-2007.aspx"&gt;http://blogs.msdn.com/jakuboleksy/archive/2006/11/21/differences-between-mcf-in-mom-2005-and-scom-2007.aspx&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;BTW, will MS plan to release a enhanced SCOM console that support creating complex subscription? I got exception window each time when I double-click subscription created by coding. It's a little hard to maintain.&lt;/p&gt;
</description></item><item><title>re: Notification Subscriptions</title><link>http://blogs.msdn.com/jakuboleksy/archive/2007/01/18/notification-subscriptions.aspx#4880778</link><pubDate>Wed, 12 Sep 2007 18:19:45 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:4880778</guid><dc:creator>JakubOleksy</dc:creator><description>&lt;p&gt;Unfortunately, there is no current plan to expand the UI support for creating subscriptions.&lt;/p&gt;
</description></item><item><title>re: Notification Subscriptions</title><link>http://blogs.msdn.com/jakuboleksy/archive/2007/01/18/notification-subscriptions.aspx#4880792</link><pubDate>Wed, 12 Sep 2007 18:21:10 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:4880792</guid><dc:creator>JakubOleksy</dc:creator><description>&lt;p&gt;It would actually be helpful if you submitted feedback requesting this functionality as the largest reason for not doing it is not having a lot of feedback that it is necessary (and thus it gets prioritized below other issues). Here's the site for feedback:&lt;/p&gt;
&lt;p&gt;&lt;a rel="nofollow" target="_new" href="http://connect.microsoft.com/site/sitehome.aspx?SiteID=209"&gt;http://connect.microsoft.com/site/sitehome.aspx?SiteID=209&lt;/a&gt;&lt;/p&gt;
</description></item><item><title>Set-NotificationForAlert</title><link>http://blogs.msdn.com/jakuboleksy/archive/2007/01/18/notification-subscriptions.aspx#4996498</link><pubDate>Wed, 19 Sep 2007 15:05:14 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:4996498</guid><dc:creator>code4ward.net</dc:creator><description>&lt;p&gt;In MOM 2005 it was easy to notify someone on specific alerts. SCOM 2007 - with it&amp;amp;#39;s subscription&lt;/p&gt;
</description></item><item><title>A few questions of interest - Question 8</title><link>http://blogs.msdn.com/jakuboleksy/archive/2007/01/18/notification-subscriptions.aspx#7184635</link><pubDate>Mon, 21 Jan 2008 17:36:23 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:7184635</guid><dc:creator>Steve Rachui's Manageability blog - SMS/MOM</dc:creator><description>&lt;p&gt;1. Is it possible to create notifications on a rule by rule basis? If so, how? If not, why not? Yes,&lt;/p&gt;
</description></item><item><title>re: Notification Subscriptions</title><link>http://blogs.msdn.com/jakuboleksy/archive/2007/01/18/notification-subscriptions.aspx#7617863</link><pubDate>Mon, 11 Feb 2008 22:06:02 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:7617863</guid><dc:creator>jdpickering</dc:creator><description>&lt;p&gt;I've looked over your code above and I understand everything till you get down to the Alert Configuration. &amp;nbsp;Where do I get that? &amp;nbsp;I have a rule that I created and i want it to send out an Email when that alert is generated and I follow the creating the endpoint and everything but don't understand where do i point it to my rule to say send email?&lt;/p&gt;
</description></item><item><title>re: Notification Subscriptions</title><link>http://blogs.msdn.com/jakuboleksy/archive/2007/01/18/notification-subscriptions.aspx#7617970</link><pubDate>Mon, 11 Feb 2008 22:12:10 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:7617970</guid><dc:creator>JakubOleksy</dc:creator><description>&lt;p&gt;The send email part is the actions. For picking a particular rule, you need to change the xml configuration. If you look at the linked powershell example, that has another example of configuration for generating an email off a particular monitor. Check out that post and related comments and see if that clears things up. &lt;/p&gt;
</description></item><item><title>re: Notification Subscriptions</title><link>http://blogs.msdn.com/jakuboleksy/archive/2007/01/18/notification-subscriptions.aspx#7819615</link><pubDate>Wed, 20 Feb 2008 18:45:36 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:7819615</guid><dc:creator>andydominey</dc:creator><description>&lt;p&gt;Hey Jakub,&lt;/p&gt;
&lt;p&gt;I need to be able to subscribe to a single alert in OpsMgr for a product connector here at the client site I am working on. I know this is possible for e-mail alerts as you have demonstrated. Is it possible to do the same for a connector subscription?&lt;/p&gt;
&lt;p&gt;Andy&lt;/p&gt;
</description></item><item><title>re: Notification Subscriptions</title><link>http://blogs.msdn.com/jakuboleksy/archive/2007/01/18/notification-subscriptions.aspx#7819749</link><pubDate>Wed, 20 Feb 2008 18:56:10 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:7819749</guid><dc:creator>JakubOleksy</dc:creator><description>&lt;p&gt;Yep, you just need to use the MonitoringConnectorSubscription instead:&lt;/p&gt;
&lt;p&gt;&lt;a rel="nofollow" target="_new" href="http://msdn2.microsoft.com/en-us/library/microsoft.enterprisemanagement.connectorframework.monitoringconnectorsubscription.aspx"&gt;http://msdn2.microsoft.com/en-us/library/microsoft.enterprisemanagement.connectorframework.monitoringconnectorsubscription.aspx&lt;/a&gt;&lt;/p&gt;
</description></item><item><title>re: Notification Subscriptions</title><link>http://blogs.msdn.com/jakuboleksy/archive/2007/01/18/notification-subscriptions.aspx#8497271</link><pubDate>Tue, 13 May 2008 01:16:45 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8497271</guid><dc:creator>vsefcik</dc:creator><description>&lt;p&gt;Subscriptions that I add with this code all have a Last Modified Date in the e-mail body that is in UTC and not localized. &amp;nbsp;However, if I edit the e-mail format in the Operations Console and save it, the Last Modified Date is then localized. &amp;nbsp;Is there a property that needs to be set to have the Last Modified Date localized? &amp;nbsp;There is a TimeZone property in the AlertSubscriptionConfiguration object, but either I don't know the format of the string or it is being ignored.&lt;/p&gt;
</description></item><item><title>re: Notification Subscriptions</title><link>http://blogs.msdn.com/jakuboleksy/archive/2007/01/18/notification-subscriptions.aspx#8497627</link><pubDate>Tue, 13 May 2008 02:38:59 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8497627</guid><dc:creator>JakubOleksy</dc:creator><description>&lt;p&gt;I am not 100% sure what the timezone format is, but if you export the Notifications.Internal.Library from the console you can see what the value is set to in the xml and set it to the same thing in code. &lt;/p&gt;
</description></item><item><title>re: Notification Subscriptions</title><link>http://blogs.msdn.com/jakuboleksy/archive/2007/01/18/notification-subscriptions.aspx#8500590</link><pubDate>Tue, 13 May 2008 18:48:26 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8500590</guid><dc:creator>vsefcik</dc:creator><description>&lt;p&gt;Many thanks for the lead, Jakub. &amp;nbsp;Your suggestion worked. &amp;nbsp;In case anyone else is interested, the TimeZone value for my area (Pacific coast) was: &lt;/p&gt;
&lt;p&gt;E001000000000000C4FFFFFF00000B0000000100020000000000000000000300000002000200000000000000|Pacific Standard Time &lt;/p&gt;
</description></item><item><title>re: Notification Subscriptions</title><link>http://blogs.msdn.com/jakuboleksy/archive/2007/01/18/notification-subscriptions.aspx#8744187</link><pubDate>Thu, 17 Jul 2008 18:30:09 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8744187</guid><dc:creator>StefanKoell</dc:creator><description>&lt;p&gt;Hi!&lt;/p&gt;
&lt;p&gt;I realize that you are now in another team, but maybe you can give us more insight on how to implement your solution to work with rules instead of monitors. Somehow this subscription only works with alerts generated by monitors. Any thoughts?&lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;
&lt;p&gt;cheers&lt;/p&gt;
&lt;p&gt;Stefan&lt;/p&gt;
</description></item><item><title>re: Notification Subscriptions</title><link>http://blogs.msdn.com/jakuboleksy/archive/2007/01/18/notification-subscriptions.aspx#8744514</link><pubDate>Thu, 17 Jul 2008 20:11:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8744514</guid><dc:creator>JakubOleksy</dc:creator><description>&lt;p&gt;If you use ProblemId in your configuration, that should be the MonitorId when the alert is generated from a monitor. Is that not working?&lt;/p&gt;
</description></item><item><title>re: Notification Subscriptions</title><link>http://blogs.msdn.com/jakuboleksy/archive/2007/01/18/notification-subscriptions.aspx#8762444</link><pubDate>Mon, 21 Jul 2008 22:40:11 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8762444</guid><dc:creator>Richard K</dc:creator><description>&lt;p&gt;The problem is that with Rules, the ProblemID isn't the same each time an Alert is generated. &amp;nbsp;I've been attempting to use the MonitoringRuleId instead, but haven't had much luck so far.&lt;/p&gt;
</description></item><item><title>re: Notification Subscriptions</title><link>http://blogs.msdn.com/jakuboleksy/archive/2007/01/18/notification-subscriptions.aspx#8762603</link><pubDate>Tue, 22 Jul 2008 00:12:33 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8762603</guid><dc:creator>JakubOleksy</dc:creator><description>&lt;p&gt;Yeah, you want to use MonitoringRuleId for rules and ProblemId for monitors. &lt;/p&gt;
</description></item><item><title>re: Notification Subscriptions</title><link>http://blogs.msdn.com/jakuboleksy/archive/2007/01/18/notification-subscriptions.aspx#9160435</link><pubDate>Mon, 01 Dec 2008 16:33:55 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9160435</guid><dc:creator>TheBowMan</dc:creator><description>&lt;p&gt;Hello!&lt;/p&gt;
&lt;p&gt;I want to create a Connector that takes new alerts generated by specific &lt;/p&gt;
&lt;p&gt;computers &amp;nbsp;and export them in an external applications.&lt;/p&gt;
&lt;p&gt;In order to filter the alerts I create a subscription but I am facing two &lt;/p&gt;
&lt;p&gt;problems:&lt;/p&gt;
&lt;p&gt;1st: I know that the only possible fields that I can apply the subscription &lt;/p&gt;
&lt;p&gt;on are the dbo.Alert fields of OperationsManager SQL DB. Here I cannot find a &lt;/p&gt;
&lt;p&gt;field containg the Computer name (nor the FQDN) that generates the alert. &lt;/p&gt;
&lt;p&gt;Therefore I thought to check for the hostname in the Alert Context field.&lt;/p&gt;
&lt;p&gt;2nd: the Alert Context field does not contain only the hostname but many &lt;/p&gt;
&lt;p&gt;field, therefore I decided to use &amp;quot;Like&amp;quot; as operator and the hostname as &lt;/p&gt;
&lt;p&gt;value. Ufortunately the &amp;quot;Like&amp;quot; operator does not work.&lt;/p&gt;
&lt;p&gt;I tried the enclosed subscriptions in order to understand how they works but &lt;/p&gt;
&lt;p&gt;I can only have working the subscriptions with &amp;quot;Equal&amp;quot; as operator.&lt;/p&gt;
&lt;p&gt;- Equal works.&lt;/p&gt;
&lt;p&gt;- Like (AlertName) should send to connector every alert generated by &lt;/p&gt;
&lt;p&gt;alertname with &amp;quot;core&amp;quot; occurrences instead nothing is passed. This is &lt;/p&gt;
&lt;p&gt;extremely odd because with equal I see the specific alerts. With Like &lt;/p&gt;
&lt;p&gt;(AlertName) I should see at least the alerts filtered by equal, &lt;/p&gt;
&lt;p&gt;instead...nothing.&lt;/p&gt;
&lt;p&gt;- Like (AlertContext) I thought to see all alerts coming from MASTERDC, &lt;/p&gt;
&lt;p&gt;instead: nothing.&lt;/p&gt;
&lt;p&gt;I actually made another try putting the value with the &amp;quot;Like&amp;quot; operator &lt;/p&gt;
&lt;p&gt;between two ( ' ) but still notihng&lt;/p&gt;
&lt;p&gt;Where did I made wrong? Could you supply me the correct subscription synthax ?&lt;/p&gt;
&lt;p&gt;Moreover: do you think that the solution I found (look for hostname in the &lt;/p&gt;
&lt;p&gt;alert context) is good or you suggest to look in someother place ?&lt;/p&gt;
&lt;p&gt;If yes, could give me some snippet?&lt;/p&gt;
&lt;p&gt;Thank you!&lt;/p&gt;
&lt;p&gt;Federico&lt;/p&gt;
&lt;p&gt;[equal]&lt;/p&gt;
&lt;p&gt;&amp;lt;SimpleExpression&amp;gt;&lt;/p&gt;
&lt;p&gt; &amp;nbsp;&amp;lt;ValueExpression&amp;gt;&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp;&amp;lt;Property&amp;gt;AlertName&amp;lt;/Property&amp;gt;&lt;/p&gt;
&lt;p&gt; &amp;nbsp;&amp;lt;/ValueExpression&amp;gt;&lt;/p&gt;
&lt;p&gt; &amp;nbsp;&amp;lt;Operator&amp;gt;Euqal&amp;lt;/Operator&amp;gt;&lt;/p&gt;
&lt;p&gt; &amp;nbsp;&amp;lt;ValueExpression&amp;gt;&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp;&amp;lt;Value&amp;gt;SIMATIC IT 6.3 SP2 - Core - Program Registration Server - &lt;/p&gt;
&lt;p&gt;6002&amp;lt;/Value&amp;gt;&lt;/p&gt;
&lt;p&gt; &amp;nbsp;&amp;lt;/ValueExpression&amp;gt;&lt;/p&gt;
&lt;p&gt;&amp;lt;/SimpleExpression&amp;gt;&lt;/p&gt;
&lt;p&gt;[Like (AlertName)]&lt;/p&gt;
&lt;p&gt;&amp;lt;SimpleExpression&amp;gt;&lt;/p&gt;
&lt;p&gt; &amp;nbsp;&amp;lt;ValueExpression&amp;gt;&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp;&amp;lt;Property&amp;gt;AlertName&amp;lt;/Property&amp;gt;&lt;/p&gt;
&lt;p&gt; &amp;nbsp;&amp;lt;/ValueExpression&amp;gt;&lt;/p&gt;
&lt;p&gt; &amp;nbsp;&amp;lt;Operator&amp;gt;Like&amp;lt;/Operator&amp;gt;&lt;/p&gt;
&lt;p&gt; &amp;nbsp;&amp;lt;ValueExpression&amp;gt;&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp;&amp;lt;Value&amp;gt;Core&amp;lt;/Value&amp;gt;&lt;/p&gt;
&lt;p&gt; &amp;nbsp;&amp;lt;/ValueExpression&amp;gt;&lt;/p&gt;
&lt;p&gt;&amp;lt;/SimpleExpression&amp;gt;&lt;/p&gt;
&lt;p&gt;[Like (AlertContext)]&lt;/p&gt;
&lt;p&gt;&amp;lt;SimpleExpression&amp;gt;&lt;/p&gt;
&lt;p&gt; &amp;nbsp;&amp;lt;ValueExpression&amp;gt;&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp;&amp;lt;Property&amp;gt;Context&amp;lt;/Property&amp;gt;&lt;/p&gt;
&lt;p&gt; &amp;nbsp;&amp;lt;/ValueExpression&amp;gt;&lt;/p&gt;
&lt;p&gt; &amp;nbsp;&amp;lt;Operator&amp;gt;Like&amp;lt;/Operator&amp;gt;&lt;/p&gt;
&lt;p&gt; &amp;nbsp;&amp;lt;ValueExpression&amp;gt;&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp;&amp;lt;Value&amp;gt;MASTERDC&amp;lt;/Value&amp;gt;&lt;/p&gt;
&lt;p&gt; &amp;nbsp;&amp;lt;/ValueExpression&amp;gt;&lt;/p&gt;
&lt;p&gt;&amp;lt;/SimpleExpression&amp;gt;&lt;/p&gt;
</description></item><item><title>re: Notification Subscriptions</title><link>http://blogs.msdn.com/jakuboleksy/archive/2007/01/18/notification-subscriptions.aspx#9393758</link><pubDate>Tue, 03 Feb 2009 23:59:03 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9393758</guid><dc:creator>kramersteve</dc:creator><description>&lt;p&gt;What do you do with this script? Where is it loaded into SCOM?&lt;/p&gt;
</description></item><item><title>re: Notification Subscriptions</title><link>http://blogs.msdn.com/jakuboleksy/archive/2007/01/18/notification-subscriptions.aspx#9393877</link><pubDate>Wed, 04 Feb 2009 00:59:30 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9393877</guid><dc:creator>JakubOleksy</dc:creator><description>&lt;p&gt;The script in the post? You need to compile and run the code.&lt;/p&gt;
</description></item><item><title>re: Notification Subscriptions</title><link>http://blogs.msdn.com/jakuboleksy/archive/2007/01/18/notification-subscriptions.aspx#9393881</link><pubDate>Wed, 04 Feb 2009 01:00:33 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9393881</guid><dc:creator>JakubOleksy</dc:creator><description>&lt;p&gt;About the post on Dec 1st, sorry, I never received a notification about it. For your issue, you'd want to look at the filtering the subscriptions by group and/or type, outside of criteria. This is supported in the UI and you should be able to create the subscrption you want. &lt;/p&gt;
</description></item><item><title>re: Notification Subscriptions</title><link>http://blogs.msdn.com/jakuboleksy/archive/2007/01/18/notification-subscriptions.aspx#9402402</link><pubDate>Fri, 06 Feb 2009 18:52:59 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9402402</guid><dc:creator>kramersteve</dc:creator><description>&lt;p&gt;Sorry, I probably didnt word that correctly. I see the script and I can copy and paste that into a .ps1 file. Do you have a link to the process to compile and use it in the tool? I am very new to this tool and I havent been through this before.&lt;/p&gt;
</description></item><item><title>re: Notification Subscriptions</title><link>http://blogs.msdn.com/jakuboleksy/archive/2007/01/18/notification-subscriptions.aspx#9402543</link><pubDate>Fri, 06 Feb 2009 20:02:05 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9402543</guid><dc:creator>JakubOleksy</dc:creator><description>&lt;p&gt;Which script? The code in my post is C# and needs to be compiled.&lt;/p&gt;
</description></item><item><title>Notification Subscription pointing to a specific Computer Group</title><link>http://blogs.msdn.com/jakuboleksy/archive/2007/01/18/notification-subscriptions.aspx#9556607</link><pubDate>Mon, 20 Apr 2009 15:32:46 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9556607</guid><dc:creator>Elizabeth1978</dc:creator><description>&lt;p&gt;Hello all!&lt;/p&gt;
&lt;p&gt;I want to create a subscription that forwards to my connector (created via SCOM SDK) the alerts coming from a custom computer group I created and called &amp;quot;MyGroup&amp;quot;.&lt;/p&gt;
&lt;p&gt;In order to achieve this goal I completed these steps:&lt;/p&gt;
&lt;p&gt;1) I created the connector via SDK&lt;/p&gt;
&lt;p&gt;2) I created manually the subscription via the SCOM UI selecting only &amp;quot;MyGroup&amp;quot;, the first option of Targets and checking all the checkboxes in the criteria&lt;/p&gt;
&lt;p&gt;3) I exported in a XML file via SCOM SDK the subscription just created&lt;/p&gt;
&lt;p&gt;...then I read the XML file and I noticed that it contains the criteria but does not mention any Computer Group (nor &amp;quot;MyGroup&amp;quot;).&lt;/p&gt;
&lt;p&gt;Now I need to understand how PROGRAMMATICALLY associate a specific subscription to a specific computer group.&lt;/p&gt;
&lt;p&gt;Can some gentleman help me?&lt;/p&gt;
&lt;p&gt;Thank you!&lt;/p&gt;
&lt;p&gt;Bye&lt;/p&gt;
&lt;p&gt;Lizzy&lt;/p&gt;
</description></item><item><title>re: Notification Subscriptions</title><link>http://blogs.msdn.com/jakuboleksy/archive/2007/01/18/notification-subscriptions.aspx#9556874</link><pubDate>Mon, 20 Apr 2009 19:22:22 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9556874</guid><dc:creator>JakubOleksy</dc:creator><description>&lt;p&gt;If you look at the sample in this post, the AlertNotChangedSubscriptionConfiguration has a MonitoringObjectGroupIds that you would add the Id of your group to.&lt;/p&gt;
</description></item><item><title>re: Notification Subscriptions</title><link>http://blogs.msdn.com/jakuboleksy/archive/2007/01/18/notification-subscriptions.aspx#9558549</link><pubDate>Tue, 21 Apr 2009 10:53:32 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9558549</guid><dc:creator>Elizabeth1978</dc:creator><description>&lt;p&gt;Hi Jakubm and thank's for the support!&lt;/p&gt;
&lt;p&gt;Actually in your post I did not find mention about &amp;quot;MonitoringObjectGroupIds&amp;quot;.&lt;/p&gt;
&lt;p&gt;I tried anyway to set the GUID of the Computer Group I created in this way:&lt;/p&gt;
&lt;p&gt;...&lt;/p&gt;
&lt;p&gt;config.Criteria = XML_File_With_Criteria;&lt;/p&gt;
&lt;p&gt;Guid ComputerGroupGuid = new Guid(&amp;quot;c8635b06-fbb1-cf1a-d019-38851f0505c0&amp;quot;);&lt;/p&gt;
&lt;p&gt;config.MonitoringObjectGroupIds[0] = ComputerGroupGuid;&lt;/p&gt;
&lt;p&gt;...&lt;/p&gt;
&lt;p&gt;The I compiled (no errors at all) and launched.&lt;/p&gt;
&lt;p&gt;The result is that the connector is created but the subscription creation is stopped (it seems paused) in le line of &amp;quot;config.MonitoringObjectGroupIds[0]&amp;quot;.&lt;/p&gt;
&lt;p&gt;I put I try...catch but no errors are raised.&lt;/p&gt;
&lt;p&gt;Where I make wrong ?&lt;/p&gt;
&lt;p&gt;Thank you again!&lt;/p&gt;
&lt;p&gt;Elizabeth&lt;/p&gt;
</description></item><item><title>re: Notification Subscriptions</title><link>http://blogs.msdn.com/jakuboleksy/archive/2007/01/18/notification-subscriptions.aspx#9559620</link><pubDate>Tue, 21 Apr 2009 19:16:49 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9559620</guid><dc:creator>JakubOleksy</dc:creator><description>&lt;p&gt;You need:&lt;/p&gt;
&lt;p&gt;config.MonitoringObjectGroupIds.Add(ComputerGroupGuid);&lt;/p&gt;
</description></item><item><title>re: Notification Subscriptions</title><link>http://blogs.msdn.com/jakuboleksy/archive/2007/01/18/notification-subscriptions.aspx#9566721</link><pubDate>Fri, 24 Apr 2009 16:39:57 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9566721</guid><dc:creator>Elizabeth1978</dc:creator><description>&lt;p&gt;Work greatly!&lt;/p&gt;
&lt;p&gt;Thank you!&lt;/p&gt;
&lt;p&gt;Huges and kisses!&lt;/p&gt;
&lt;p&gt;Lizzy!&lt;/p&gt;
</description></item></channel></rss>