<?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>Adding custom information to alert description (s) and notifications</title><link>http://blogs.technet.com/kevinholman/archive/2007/12/12/adding-custom-information-to-alert-descriptions-and-notifications.aspx</link><description>This is just a dump of some alert description variables I pulled from several other bloggers: Custom Properties for Alert Description and Notification: Alert Description Variables: &amp;#160; For event Rules: EventDisplayNumber (Event ID):&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;</description><dc:language>en-US</dc:language><generator>CommunityServer 2.1 SP1 (Build: 61025.2)</generator><item><title>www.contoso.se  &amp;raquo; Blog Archive   &amp;raquo; Script: Notification Logfile</title><link>http://blogs.technet.com/kevinholman/archive/2007/12/12/adding-custom-information-to-alert-descriptions-and-notifications.aspx#3005625</link><pubDate>Sun, 16 Mar 2008 20:51:31 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3005625</guid><dc:creator>www.contoso.se  » Blog Archive   » Script: Notification Logfile</dc:creator><description>&lt;p&gt;PingBack from &lt;a rel="nofollow" target="_new" href="http://contoso.se/blog/?p=265"&gt;http://contoso.se/blog/?p=265&lt;/a&gt;&lt;/p&gt;
</description></item><item><title>re: Adding custom information to alert description (s) and notifications</title><link>http://blogs.technet.com/kevinholman/archive/2007/12/12/adding-custom-information-to-alert-descriptions-and-notifications.aspx#3037402</link><pubDate>Tue, 15 Apr 2008 12:01:50 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3037402</guid><dc:creator>Emeric</dc:creator><description>&lt;p&gt;Do you think,I can used a another performance threshold monitor in alerte description ?&lt;/p&gt;</description></item><item><title>Some more Command Notification Tricks and Tips</title><link>http://blogs.technet.com/kevinholman/archive/2007/12/12/adding-custom-information-to-alert-descriptions-and-notifications.aspx#3038261</link><pubDate>Thu, 17 Apr 2008 03:17:25 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3038261</guid><dc:creator>OpsMgr, SCE And MOM Blog</dc:creator><description>&lt;p&gt;Here are a couple a tidbits on command notification with Operations Manager 2007 I&amp;amp;#8217;ve seen people&lt;/p&gt;
</description></item><item><title>re: Adding custom information to alert description (s) and notifications</title><link>http://blogs.technet.com/kevinholman/archive/2007/12/12/adding-custom-information-to-alert-descriptions-and-notifications.aspx#3048520</link><pubDate>Fri, 02 May 2008 09:31:18 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3048520</guid><dc:creator>Brian Soh</dc:creator><description>&lt;p&gt;For Correlated event Monitor; &lt;/p&gt;
&lt;p&gt;Below is the variable for event Description&lt;/p&gt;
&lt;p&gt;$Data/Context/DataItem/Item0Context/DataItem/EventDescription$ $Data/Context/DataItem/Item1Context/DataItem/EventDescription$ &lt;/p&gt;
</description></item><item><title>Are your Alert Descriptions Ugly?</title><link>http://blogs.technet.com/kevinholman/archive/2007/12/12/adding-custom-information-to-alert-descriptions-and-notifications.aspx#3081979</link><pubDate>Wed, 02 Jul 2008 01:02:02 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3081979</guid><dc:creator>Kevin Holman's OpsMgr Blog</dc:creator><description>&lt;p&gt;When you create an Alert Description in OpsMgr 2007 for alerting rules and monitors.... you might have&lt;/p&gt;
</description></item><item><title>Collecting and Monitoring information from WMI as performance data</title><link>http://blogs.technet.com/kevinholman/archive/2007/12/12/adding-custom-information-to-alert-descriptions-and-notifications.aspx#3082609</link><pubDate>Thu, 03 Jul 2008 01:43:58 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3082609</guid><dc:creator>Kevin Holman's OpsMgr Blog</dc:creator><description>&lt;p&gt;Many times, we would like to collect information for reporting, or measure and alert on something.&amp;amp;#160;&lt;/p&gt;
</description></item><item><title>re: Adding custom information to alert description (s) and notifications</title><link>http://blogs.technet.com/kevinholman/archive/2007/12/12/adding-custom-information-to-alert-descriptions-and-notifications.aspx#3124200</link><pubDate>Mon, 15 Sep 2008 09:34:26 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3124200</guid><dc:creator>Habeeb</dc:creator><description>&lt;p&gt;What do you do when you have monitors created from Web application template, like in case an Base page status code monitor should be able to send out mail indicating from which web site that Alert is raised and also the exact base page status code which generated the error&lt;/p&gt;
</description></item><item><title>re: web application template alerts</title><link>http://blogs.technet.com/kevinholman/archive/2007/12/12/adding-custom-information-to-alert-descriptions-and-notifications.aspx#3124915</link><pubDate>Tue, 16 Sep 2008 23:30:54 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3124915</guid><dc:creator>kevinhol</dc:creator><description>&lt;p&gt;For these - please see &lt;a rel="nofollow" target="_new" href="http://blogs.technet.com/momteam/archive/2008/09/04/actionable-alerts-for-web-applications-in-operations-manager-2007.aspx"&gt;http://blogs.technet.com/momteam/archive/2008/09/04/actionable-alerts-for-web-applications-in-operations-manager-2007.aspx&lt;/a&gt;&lt;/p&gt;
</description></item><item><title>SCOM 2007 Useful Links</title><link>http://blogs.technet.com/kevinholman/archive/2007/12/12/adding-custom-information-to-alert-descriptions-and-notifications.aspx#3131501</link><pubDate>Thu, 02 Oct 2008 20:57:32 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3131501</guid><dc:creator>Dario IT Solutions Blog</dc:creator><description>&lt;p&gt;Main Downloads page (catalog, documentation) &lt;a rel="nofollow" target="_new" href="http://technet.microsoft.com/en-us/opsmgr/bb498232.aspx"&gt;http://technet.microsoft.com/en-us/opsmgr/bb498232.aspx&lt;/a&gt;&lt;/p&gt;
</description></item><item><title>re: Adding custom information to alert description (s) and notifications</title><link>http://blogs.technet.com/kevinholman/archive/2007/12/12/adding-custom-information-to-alert-descriptions-and-notifications.aspx#3138096</link><pubDate>Fri, 17 Oct 2008 21:47:08 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3138096</guid><dc:creator>David Strebel</dc:creator><description>&lt;p&gt;Is there a way to add company knowledge to notifications.&lt;/p&gt;
</description></item><item><title>re: Adding custom information to alert description (s) and notifications</title><link>http://blogs.technet.com/kevinholman/archive/2007/12/12/adding-custom-information-to-alert-descriptions-and-notifications.aspx#3142944</link><pubDate>Tue, 28 Oct 2008 07:59:57 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3142944</guid><dc:creator>ray</dc:creator><description>&lt;p&gt;great resource. you saved my day.&lt;/p&gt;
</description></item><item><title>re: Adding custom information to alert description (s) and notifications</title><link>http://blogs.technet.com/kevinholman/archive/2007/12/12/adding-custom-information-to-alert-descriptions-and-notifications.aspx#3216901</link><pubDate>Mon, 23 Mar 2009 15:44:28 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3216901</guid><dc:creator>Tom Speijer</dc:creator><description>&lt;p&gt;Kevin nice one, but when i try the alerting in a monitor which monitors a basic service. and for example i use $Data/Context/EventDescription$ my alert will result in {0}..&lt;/p&gt;
&lt;p&gt;shouldn't that be anything more helpfull?&lt;/p&gt;
&lt;p&gt;and can you use multiple lines? because when i try it, the alert just won't come..?&lt;/p&gt;
</description></item><item><title>re: Adding custom information to alert description (s) and notifications</title><link>http://blogs.technet.com/kevinholman/archive/2007/12/12/adding-custom-information-to-alert-descriptions-and-notifications.aspx#3216933</link><pubDate>Mon, 23 Mar 2009 17:00:24 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3216933</guid><dc:creator>kevinhol</dc:creator><description>&lt;p&gt;Tom - the reason this doesnt work - is because there IS NO &amp;quot;EventDescription&amp;quot; for a server monitor.&lt;/p&gt;
&lt;p&gt;Event Description is for Events, in the Event log. &amp;nbsp;The Service unit monitor is its own module, and it has no relation to the event log module. &amp;nbsp;You need to uses variabled applicable to the Service Unit Monitor.... which are posted above.&lt;/p&gt;
</description></item><item><title>re: Adding custom information to alert description (s) and notifications</title><link>http://blogs.technet.com/kevinholman/archive/2007/12/12/adding-custom-information-to-alert-descriptions-and-notifications.aspx#3216967</link><pubDate>Mon, 23 Mar 2009 18:32:11 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3216967</guid><dc:creator>Tom Speijer</dc:creator><description>&lt;p&gt;Kevin, &lt;/p&gt;
&lt;p&gt;i've already tried about anything shown above&lt;/p&gt;
&lt;p&gt;now i've tried this one : &lt;/p&gt;
&lt;p&gt;$Data/Context/Property[@Name='Name']$ it still gives me {0}&lt;/p&gt;
</description></item><item><title>re: Adding custom information to alert description (s) and notifications</title><link>http://blogs.technet.com/kevinholman/archive/2007/12/12/adding-custom-information-to-alert-descriptions-and-notifications.aspx#3217289</link><pubDate>Tue, 24 Mar 2009 13:33:55 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3217289</guid><dc:creator>Tom Speijer</dc:creator><description>&lt;p&gt;it's fixed..&lt;/p&gt;
&lt;p&gt;when i changed something in the alert description, i immediatly looked in the alert what was showing op in the active alerts. it always said {0}.&lt;/p&gt;
&lt;p&gt;i never waited for a new alert to popup.&lt;/p&gt;
&lt;p&gt;apparantly when a new one shows, the event description is populated perfectly.&lt;/p&gt;
&lt;p&gt;thx for you assistance!&lt;/p&gt;
</description></item><item><title>re: Adding custom information to alert description (s) and notifications</title><link>http://blogs.technet.com/kevinholman/archive/2007/12/12/adding-custom-information-to-alert-descriptions-and-notifications.aspx#3242946</link><pubDate>Mon, 18 May 2009 21:46:10 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3242946</guid><dc:creator>Rajeev</dc:creator><description>&lt;p&gt;can I get the ip address of the host?&lt;/p&gt;
</description></item><item><title>re: IP address</title><link>http://blogs.technet.com/kevinholman/archive/2007/12/12/adding-custom-information-to-alert-descriptions-and-notifications.aspx#3243377</link><pubDate>Wed, 20 May 2009 00:04:09 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3243377</guid><dc:creator>kevinhol</dc:creator><description>&lt;p&gt;You can add anything that is a property of your data source.... like event, perf, etc... that our data source mudule understands.&lt;/p&gt;
&lt;p&gt;The IP address is an ATTRIBUTE of the Windows Computer object... and is not tied to the alert, or the data source.&lt;/p&gt;
&lt;p&gt;So - I dont know a way to add the IP address of the object to all alerts.... and this wont always even make sense - for alerts that come from &amp;quot;SQL Database&amp;quot; for instance. &amp;nbsp;&lt;/p&gt;
&lt;p&gt;The only thing I can think of is writing a custom product connector - which would modify alerts via the SDK after they are created on a polling cycle.... this connector would examin the alert - query up the containment/hosting relationships to find the windows computer object - gather the IP attribute - and populate a custom field with the IP, on the alert.&lt;/p&gt;
</description></item><item><title>Using a Generic Text Log rule to monitor an ASCII text file – even when the file is a UNC path</title><link>http://blogs.technet.com/kevinholman/archive/2007/12/12/adding-custom-information-to-alert-descriptions-and-notifications.aspx#3256946</link><pubDate>Sat, 20 Jun 2009 02:30:09 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3256946</guid><dc:creator>Kevin Holman's OpsMgr Blog</dc:creator><description>&lt;p&gt;There are several examples in blogs on how to create a generic text log rule to monitor for a local text&lt;/p&gt;
</description></item><item><title>re: Adding custom information to alert description (s) and notifications</title><link>http://blogs.technet.com/kevinholman/archive/2007/12/12/adding-custom-information-to-alert-descriptions-and-notifications.aspx#3262838</link><pubDate>Fri, 10 Jul 2009 23:11:25 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3262838</guid><dc:creator>CJH</dc:creator><description>&lt;p&gt;The event Monitor variables don't work. &lt;/p&gt;
&lt;p&gt;I'm trying to put information in the subject of the notification subscription based on a monitor. &amp;nbsp;I'm using&lt;/p&gt;
&lt;p&gt;$Data/Context/UserName$ is logging in to $Data/Context/LoggingComputer$&lt;/p&gt;
&lt;p&gt;as the subject. &amp;nbsp;When the email goes out, I get&lt;/p&gt;
&lt;p&gt;&amp;quot; is logging in to &amp;quot;&lt;/p&gt;
</description></item><item><title>re: Adding custom information to alert description (s) and notifications</title><link>http://blogs.technet.com/kevinholman/archive/2007/12/12/adding-custom-information-to-alert-descriptions-and-notifications.aspx#3263628</link><pubDate>Tue, 14 Jul 2009 05:14:34 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3263628</guid><dc:creator>Gurpreet</dc:creator><description>&lt;p&gt;If I have a configuration parameter in the monitor like a threshold number, how do i access this value in the alert? &lt;/p&gt;
&lt;p&gt;For e.g. I have a monitor that generates an alerts if 5 samples have value of call duration of more than 100ms. Both the number of samples and duration threshold need to be displayed in the alert. These are not properties of any of the classes. &lt;/p&gt;
</description></item><item><title>re: Adding custom information to alert description (s) and notifications</title><link>http://blogs.technet.com/kevinholman/archive/2007/12/12/adding-custom-information-to-alert-descriptions-and-notifications.aspx#3273404</link><pubDate>Fri, 14 Aug 2009 08:59:36 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3273404</guid><dc:creator>PaulD</dc:creator><description>&lt;p&gt;Hi Kevin.&lt;/p&gt;
&lt;p&gt;using get-alert cmdlet we have field named &amp;quot;NetbiosComputerName&amp;quot;. Is there any Xpath equivalent for this field?&lt;/p&gt;
</description></item><item><title>re: Computername</title><link>http://blogs.technet.com/kevinholman/archive/2007/12/12/adding-custom-information-to-alert-descriptions-and-notifications.aspx#3273413</link><pubDate>Fri, 14 Aug 2009 09:12:40 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3273413</guid><dc:creator>kevinhol</dc:creator><description>&lt;p&gt;Not that I am aware of - but I am working on just that issue. &amp;nbsp;We really need this - and if there is a way to xpath this - it would really help.&lt;/p&gt;
&lt;p&gt;I am trying to find out if this is possible from the product group right now - but I dont think it is. &amp;nbsp;Sure would be nice.&lt;/p&gt;
&lt;p&gt;I am develping a spreadsheet to cross reference the alert view in the console/alert view in DB/alert notification variables/SDK Get-Alert/R2 connector key pairs.&lt;/p&gt;
</description></item><item><title>re: Adding custom information to alert description (s) and notifications</title><link>http://blogs.technet.com/kevinholman/archive/2007/12/12/adding-custom-information-to-alert-descriptions-and-notifications.aspx#3291190</link><pubDate>Tue, 03 Nov 2009 20:20:06 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3291190</guid><dc:creator>Mark Benoit</dc:creator><description>&lt;p&gt;Are there any Alert Description variables available for Aggregate rollup monitors? &amp;nbsp;At best, I would like to be able to have the Aggregate monitor alert description show the actual value that triggerd the unhealthy state of the child monitors (in this case, CPU% utilization) like $Data/Context/Property[@Name='PctUsage'], but that does not work. &amp;nbsp;If that is not available to the parent monitor, then it would be nice to be able to include a Alert Description variable for the Alert Severity of the child monitor that went unhealthy (Warning or Critical).&lt;/p&gt;
</description></item><item><title>re: Adding custom information to alert description (s) and notifications</title><link>http://blogs.technet.com/kevinholman/archive/2007/12/12/adding-custom-information-to-alert-descriptions-and-notifications.aspx#3291194</link><pubDate>Tue, 03 Nov 2009 20:28:35 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3291194</guid><dc:creator>kevinhol</dc:creator><description>&lt;p&gt;Aggregate rollup monitors roll up state only. &amp;nbsp;They have no idea or information about the values or details on the monitors below them. &amp;nbsp;They have a state-rollup algorithm (best of, worst of) and then they simply change state according to that policy.&lt;/p&gt;
&lt;p&gt;In this way - by design if you alert from an aggregate monitor - you cannot get deep level details about the root cause monitor - it could be one - or many that are problematic at any given time.&lt;/p&gt;
&lt;p&gt;For the details - you must alert on the unit monitor.&lt;/p&gt;
</description></item><item><title>re: Adding custom information to alert description (s) and notifications</title><link>http://blogs.technet.com/kevinholman/archive/2007/12/12/adding-custom-information-to-alert-descriptions-and-notifications.aspx#3299529</link><pubDate>Thu, 10 Dec 2009 07:22:14 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3299529</guid><dc:creator>Ashutosh</dc:creator><description>&lt;p&gt;even when i have created a unit monitor for % CPU utilization. When i use the same string in Alert description i don't get the value for CPU utilization.&lt;/p&gt;
</description></item><item><title>re: Adding custom information to alert description (s) and notifications</title><link>http://blogs.technet.com/kevinholman/archive/2007/12/12/adding-custom-information-to-alert-descriptions-and-notifications.aspx#3299817</link><pubDate>Fri, 11 Dec 2009 09:09:40 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3299817</guid><dc:creator>ashujoshi27</dc:creator><description>&lt;p&gt;How to get the source server name in alert description for the alerts that we are receiving for services going down. The string i am using here is as &lt;/p&gt;
&lt;p&gt;$Data/Context/Property[@Name='Name']$ has stopped running.&lt;/p&gt;
&lt;p&gt;This gives me only the service name. How to get the affected server anme in this.&lt;/p&gt;
&lt;p&gt;any help will appreciated.&lt;/p&gt;
</description></item></channel></rss>