Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

unable to convert parameter to a double value

1,308 views
Skip to first unread message

UK@discussions.microsoft.com RDillon UK

unread,
Sep 5, 2008, 12:57:02 PM9/5/08
to
I Receive the following error from a Performance Collection Rule that I have
created:

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 [MSFT]

unread,
Sep 5, 2008, 12:59:39 PM9/5/08
to
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...

RDillon UK

unread,
Sep 8, 2008, 5:16:10 AM9/8/08
to
Thanks very much! That solved it.

Preeti Sasi Kumar

unread,
Sep 29, 2010, 3:25:38 AM9/29/10
to
Hi,

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

ashishr...@gmail.com

unread,
Jun 5, 2014, 6:49:13 AM6/5/14
to
Hi Marius,

Need help.

I am getting

Module was unable to convert parameter to a double value Original parameter: '$Data/Property[@Name='FreeSpacePercent']$' Parameter after $Data replacement: '' Error: 0x80020005 Details: Type mismatch. One or more workflows were affected by this. Workflow name: Microsoft.SQLServer.2008.Monitoring.DBFileSpaceMonitor Instance name: master Instance ID: {B0B0C14E-9097-A0E1-6DBD-7BE686673284} Management group: AARPDataCenters

Error on SCOM


Please help to correct it, also let me know how and where I can change it .
If any change needed where I can do this.

Thank you
0 new messages