No Return of Colums with System!System.OleDbProbe

Hansi 116 Reputation points
2024-03-01T12:01:33.04+00:00

Hello!

I have a monitor for requesting a Database. The request is running without error. But I don’t get the colums.

The Query is:

SELECT Product, Mandator, State, Description FROM [xxx].[dbo].[xxx] WITH (NOLOCK) WHERE Product= '$Config/Product$' AND Mandator = '$Config/Mandator$'

Result of Data:

<DataItem type="DatabaseResultSet" time="2024-03-01T07:20:01.1085651Z" sourceHealthServiceId="d6192751-74d3-b8ae-610d-af830314c502">

<DataItem type="System.OleDbData" time="2024-03-01T08:20:01.1085651+01:00" sourceHealthServiceId="D6192751-74D3-B8AE-610D-AF830314C502">

<HRResult>0</HRResult>

<ResultLength>8</ResultLength>

<Result>Success</Result>

<InitializationTime>44</InitializationTime>

<OpenTime>0</OpenTime>

<ExecutionTime>1045</ExecutionTime>

<FetchTime>1</FetchTime>

<RowLength>0</RowLength>

<OriginalDataLength>0</OriginalDataLength>

<ErrorDescriptionLength>0</ErrorDescriptionLength>

<ResultCode>0</ResultCode>

</DataItem>

</DataItem>

RowLength is 0 but it should be 4 and i should see the 4 colums.

My Config is:

<ProbeAction ID="Probe" TypeID="System!System.OleDbProbe">

<ConnectionString>$Config/ConnectionString$</ConnectionString>

<Query>$Config/SQLQuery$</Query>

<GetValue>true</GetValue>

<IncludeOriginalItem>false</IncludeOriginalItem>

<OneRowPerItem>true</OneRowPerItem>

<QueryTimeout>30</QueryTimeout>

<GetFetchTime>true</GetFetchTime>

</ProbeAction>

What do I have forgotten?

rg

Hansi

Operations Manager
Operations Manager
A family of System Center products that provide infrastructure monitoring, help ensure the predictable performance and availability of vital applications, and offer comprehensive monitoring for datacenters and cloud, both private and public.
1,419 questions
Microsoft System Center
Microsoft System Center
A suite of Microsoft systems management products that offer solutions for managing datacenter resources, private clouds, and client devices.
845 questions
0 comments No comments
{count} votes

0 additional answers

Sort by: Most helpful