unable to convert parameter to a double value (The full error message is at
the end of this post)
I am using SCOM 2007 SP1 (evaluation)
I am trying to access a custom WMI object exposed by a windows service. The
Rule definition is as follows:
<Rule ID="MomUIGeneratedRulea9811948061142a488f9d50d251169f5" Enabled="true"
Target="ServiceStateProbePage_3a03cba913dd4938a505d55b100051ae"
ConfirmDelivery="false" Remotable="true" Priority="Normal" DiscardLevel="100">
<Category>PerformanceCollection</Category>
<DataSources>
<DataSource ID="DS" TypeID="Windows!Microsoft.Windows.WmiPerfCounterProvider">
<NameSpace>root\CementCo</NameSpace>
<Query>SELECT * FROM CementWork</Query>
<Frequency>30</Frequency>
<ObjectName>CementMixer</ObjectName>
<CounterName>LastMixBatchRate</CounterName>
<InstanceName>$Target/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/NetworkName$</InstanceName>
<Value>$Data/Property[@Name='[LastMixBatchRate]']$</Value>
</DataSource>
</DataSources>
<WriteActions>
<WriteAction ID="WriteToDB"
TypeID="SystemCenter!Microsoft.SystemCenter.CollectPerformanceData" />
<WriteAction ID="WriteToDW"
TypeID="SCDW!Microsoft.SystemCenter.DataWarehouse.PublishPerformanceData" />
</WriteActions>
</Rule>
The query can be executed outside of scom using wbemtest without any problem.
If anybody has any ideas on how to resolve this they would be very much
appreciated.
Full Error Message:
Module was unable to convert parameter to a double value
Original parameter: '$Data/Property[@Name='[LastMixBatchRate]']$'
Parameter after $Data replacement:
'' Error: 0x80020005 Details:
Type mismatch.
One or more workflows were affected by this.
Workflow name: MomUIGeneratedRulea9811948061142a488f9d50d251169f5
Instance name: Service1
Instance ID: {63D67390-AF3A-CB9E-FDE2-4995AFB5BD2A}
Management group: DL_DEV
--
Marius Sutara
Developer
http://blogs.msdn.com/MariusSutara
This posting is provided "AS IS" with no warranties, and confers no rights.
Use of attachments are subject to the terms specified at
http://www.microsoft.com/info/cpyright.htm
"RDillon UK" <RDillon U...@discussions.microsoft.com> wrote in message
news:08FB21E4-397C-4DDB...@microsoft.com...
I receive the alert given below.
I found the parameter: '$Data/Property[@Name='Value']$'is set right, still I receive it.
Log Name: Operations Manager
Description: Module was unable to convert parameter to a double value Original parameter: '$Data/Property[@Name='Value']$' Parameter after $Data replacement: '' Error: 0x80020005 Details: Type mismatch. One or more workflows were affected by this. Workflow name: Microsoft.Windows.Server.LDS.Service.MemoryUsage.PerformanceCollection Instance name: MSExchange Instance ID: {1234} Management group: ABC
Source: Health Service Modules
Event Number: 11052
Could you please advice?
>> On Friday, September 05, 2008 12:59 PM Marius Sutara [MSFT] wrote:
>> Try to change your data replacement to
>> $Data/Property[@Name='LastMixBatchRate']$
>>
>> --
>> Marius Sutara
>> Developer
>> http://blogs.msdn.com/MariusSutara
>>
>>
>> This posting is provided "AS IS" with no warranties, and confers no rights.
>> Use of attachments are subject to the terms specified at
>> http://www.microsoft.com/info/cpyright.htm
>>
>> "RDillon UK" <RDillon U...@discussions.microsoft.com> wrote in message
>> news:08FB21E4-397C-4DDB...@microsoft.com...
>>> On Monday, September 08, 2008 5:16 AM RDillonU wrote:
>>> Thanks very much! That solved it.
>>>
>>> "Marius Sutara [MSFT]" wrote:
>>> Submitted via EggHeadCafe - Software Developer Portal of Choice
>>> Autocorrelation method in C# for signal analysis
>>> http://www.eggheadcafe.com/tutorials/aspnet/d39ee525-a402-46cf-9989-72b7256f76b1/autocorrelation-method-in-c-for-signal-analysis.aspx