XML Cheat Sheet

These are the XML equivalents to various data exposed to Operations Manager in rules, events, and alerts.
The majority of this information can be found online, and this particular version was copied from the excellent SystemCenterForum.Org XML Master PDF.

 Event Rules:

Property
 XML
 EventDisplayNumber (Event ID)
 $Data/EventDisplayNumber$
 Event Description (Description)
 $Data/EventDescription$
 Publisher Name (Event Source)
 $Data/PublisherName$
 EventCategory
 $Data/EventCategory$
 LoggingComputer  $Data/LoggingComputer$
 Event Level (Severity)
 $Data/EventLevel$
 Channel  $Data/Channel$
 EventNumber
 $Data/EventNumber$

 

 

 Pictorial example:

SCOM-XML-EventRules.jpg

SCOM-XML-EventRuleDataChannel.jpg

 

Event Monitors

Property XML
 EventDisplayNumber (Event ID)  EventDisplayNumber (Event ID)
 EventDescription (Description)  $Data/Context/EventDescription$
 Publisher Name (Event Source)  $Data/Context/PublisherName$
 EventCategory  $Data/Context/EventCategory$
 LoggingComputer  $Data/Context/LoggingComputer$
 EventLevel  $Data/Context/EventLevel$
 Channel  $Data/Context/Channel$
 UserName  $Data/Context/UserName$
EventNumber
 $Data/Context/EventNumber$

Repeating Event Monitors

 

 Property XML
 EventDisplayNumber (Event ID)  $Data/Context/DataItem/EventDisplayNumber$
 EventDescription (Description)  $Data/Context/DataItem/EventDescription$
 Publisher Name (Event Source)  $Data/Context/DataItem/PublisherName$
 EventCategory  $Data/Context/DataItem/EventCategory$
 LoggingComputer  $Data/Context/DataItem/LoggingComputer$
 EventLevel  $Data/Context/DataItem/EventLevel$
 Channel  $Data/Context/DataItem/Channel$
 UserName  $Data/Context/Context/DataItem/UserName$
 EventNumber  $Data/Context/DataItem/EventNumber$

 

Performance Theshold Monitors

 

 Property XML
 Object (Perf Object Name)
$Data/Context/ObjectName$
 Counter (Perf Counter Name)
$Data/Context/CounterName$
 Instance (Perf Instance Name)
$Data/Context/InstanceName$
 Value (Perf Counter Value)
$Data/Context/Value$

 

 

 Pictorial Example:

Tag page
You must login to post a comment.


Wik portal where you can upload your ideas and interests and educational mind set for a free website account please apply here