I'm trying to debug a failed discovery event id number 10801, after importing a new custom management pack:
Log Name: Operations Manager
Source: Health Service Modules
Date: 24/05/2022 16:45:59
Event ID: 10801
Task Category: None
Level: Error
Keywords: Classic
User: N/A
Computer: SRV1086B0K.con.test.me
Description:
Discovery data couldn't be inserted to the database. This could have happened because of one of the following reasons:
- Discovery data is stale. The discovery data is generated by an MP recently deleted.
- Database connectivity problems or database running out of space.
- Discovery data received is not valid.
The following details should help to further diagnose:
DiscoveryId: c11738ad-fda0-2244-8b4b-309a6f4c7817
HealthServiceId: d5c7f4e6-e256-a718-a7d2-c55f411e3613
Microsoft.EnterpriseManagement.Common.DiscoveryDataUnresolvedClassPropertyNameException,Unable to resolve the class property name specified in the discovery data item. Try using a fully qualified name.
Class property name: 0dd4b731-cdfe-098e-6eab-0dbd8ee51e5c
Rule ID: c11738ad-fda0-2244-8b4b-309a6f4c7817
Instance:
<?xml version="1.0" encoding="utf-16"?><ClassInstance TypeId="{6e0ca46a-5dcf-6003-be15-ba9575930e1e}"><Settings><Setting><Name>0dd4b731-cdfe-098e-6eab-0dbd8ee51e5c</Name><Value>T24CONT</Value></Setting><Setting><Name>3d24de39-becc-a048-b35e-48a473fefb8d</Name><Value>AUTOMATION_4_1_10</Value></Setting><Setting><Name>5c4dfee9-d0ea-7515-a86b-f72b123bda3a</Name><Value>NIX12763.con.test.me</Value></Setting><Setting><Name>c2ec02fc-fa4d-65c9-82da-fa76476433eb</Name><Value>NIX12763.con.test.me</Value></Setting></Settings></ClassInstance>.
Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
<System>
<Provider Name="Health Service Modules" />
<EventID Qualifiers="0">10801</EventID>
<Level>2</Level>
<Task>0</Task>
<Keywords>0x80000000000000</Keywords>
<TimeCreated SystemTime="2022-05-24T13:45:59.061262400Z" />
<EventRecordID>4086339</EventRecordID>
<Channel>Operations Manager</Channel>
<Computer>SRV1086B0K.con.test.me</Computer>
<Security />
</System>
<EventData>
<Data>c11738ad-fda0-2244-8b4b-309a6f4c7817</Data>
<Data>d5c7f4e6-e256-a718-a7d2-c55f411e3613</Data>
<Data>Microsoft.EnterpriseManagement.Common.DiscoveryDataUnresolvedClassPropertyNameException,Unable to resolve the class property name specified in the discovery data item. Try using a fully qualified name.
Class property name: 0dd4b731-cdfe-098e-6eab-0dbd8ee51e5c
Rule ID: c11738ad-fda0-2244-8b4b-309a6f4c7817
Instance:
<?xml version="1.0" encoding="utf-16"?><ClassInstance TypeId="{6e0ca46a-5dcf-6003-be15-ba9575930e1e}"><Settings><Setting><Name>0dd4b731-cdfe-098e-6eab-0dbd8ee51e5c</Name><Value>T24CONT</Value></Setting><Setting><Name>3d24de39-becc-a048-b35e-48a473fefb8d</Name><Value>AUTOMATION_4_1_10</Value></Setting><Setting><Name>5c4dfee9-d0ea-7515-a86b-f72b123bda3a</Name><Value>NIX12763.con.test.me</Value></Setting><Setting><Name>c2ec02fc-fa4d-65c9-82da-fa76476433eb</Name><Value>NIX12763.con.test.me</Value></Setting></Settings></ClassInstance></Data>
</EventData>
</Event
Class and class relationship are valid, same for the class property key, and the hosting class property key.
I've also check the PowerShell script in the discovery, and the AddProperty values are valid, also for the AddInstance and $discoveryData.
But I don't understand,
Which class property name in the problematic one.