Data Item XML – creation time

Today I received what I later considered an interesting request for help. Customer wanted to use the time of event causing alert to be used inside of this alert description. He realized that it would be the time of the first event triggering such alert (assuming suppression used). He was just not able to come…

0

Data Item XML – Appllication Log File

This post explains main data types which are involved in monitoring of application log files. Depending on the monitor used, following data types are initially created by data source modules. Following is a sample of the data type created by System.ApplicationLog.GenericLogReader. <DataItem type=“System.ApplicationLog.GenericLogEntryData“ time=“2005-08-17T11:23:51.0870595-07:00“>   <LogFileDirectory>d:\test</LogFileDirectory>   <LogFileType>Generic Log File Format</LogFileType>   <LogFileName>d:\test\test.log</LogFileName>   <Params>…

0

Data Item XML – series

I started series describing some of the data items floating thru the workflows of Operations Manager 2007. I will try to cover most commonly used ones as well as those more complex ones in order to help with the creation of XPath which is later to be used with $Data/…$ context parameter replacement. I had…

0

Data Item XML – ConsolidatorData

This data type is created by consolidator condition module, which is one of the modules that creates new data item for its output. Luckily consolidator also appends its input into this newly created DT and it can be find inside of context. $Data/…$ context parameter replacement can be used and XPath queries can be created…

3

Data Item XML – MonitorTaskDataType

This data type is used as input for recovery task. Recovery can be executed on diagnostic or it can be executed on the state change where later is always present because diagnostic is always associated with state change of monitor. Because this is input data item, $Data/…$ context parameter replacement can be used and XPath…

1

Parameter replacements (part 4)

  This post is to continue Parameter replacements series. So far I talked about all but Data replacements so now I will try to describe it little more. This context replacement is unfortunately most hard to use one of all …   Data Context Parameters   Some modules accept configuration parameters that refer to the…

0

Parameter replacements (part 3)

  To continue Parameter replacements series, let’s remind ourselves that context parameters can be used and will be replaced by the runtime with the actual parameter value. So far I talked about Config and MPElement replacements before and now I will try to describe Target context parameter in this post …   Target Context Parameters…

1

Parameter replacements (part 2)

  As started in Parameter replacements (part1), context parameters can be used in any part of a text and replaced by the runtime with the actual parameter value before the module is instantiated.   Management Pack Element Context Parameters   Some monitoring objects may require having a GUID reference to some MP elements such as…

1

Parameter replacements (part 1)

  Management packs contain definitions of rules, monitors or composite module types where those monitoring objects need to be configured. In the configuration of the module type, in addition to providing constant values, you can also provide variable context parameter.   All Context parameters can be used in any part of a text and replaced by…

1

Alert description and parameter replacement

  Many of you know already that alert’s description can contain value of any of the properties of the data type causing the alert to be raised in the first place. What is little cryptic though, is how to write XPath query to receive the value from input data type. As multiple blogs tried to…

0