Hello
we hav an old MP with a monitor for special url-check.
The Monitor is running a script and returns a property bag with uri,state and request-time.
Now I want to change the monitor that data are written as performance values.
I want to run a powershell-script after condition-detection with property-bag-values as input parameters.
How can I do this?
#UnitMonitorType ID="MyID"#
...
#DataSource ID="Scheduler" TypeID="System!System.SimpleScheduler"#
#IntervalSeconds#$Config/IntervalSeconds$#/IntervalSeconds#
#SyncTime#$Config/SyncTime$#/SyncTime#
#/DataSource#
#ProbeAction ID="Script" TypeID="Windows!Microsoft.Windows.PowerShellPropertyBagProbe"#
#ScriptName#MyScript.ps1#/ScriptName#
#ScriptBody#$IncludeFileContent/Resources/Scripts/MyScript.ps1$#/ScriptBody#
#Parameters#
...
#/ProbeAction#
#ConditionDetection ID="RequestFilter" TypeID="System!System.ExpressionFilter"#
#Expression#
#SimpleExpression#
#ValueExpression#
#XPathQuery Type="String"#Property[@Name='URI']#/XPathQuery#
#/ValueExpression#
#Operator#Equal#/Operator#
#ValueExpression#
#Value Type="String"#$Target/Property[Type="My.Class"]/URI$#/Value#
#/ValueExpression#
#/SimpleExpression#
#/Expression#
#/ConditionDetection#
...
sorry, but I can't put in "<" and ">"
rg
Hansis