DFSR MP Bug?

Roman Annenko 141 Reputation points
2020-12-28T16:47:57.013+00:00

Hi!

Recently I've found much events 10801 in management server OM log.

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: ca98230a-9bf6-3152-9002-b438afb8ee63
    HealthServiceId: dd17d4d0-699c-629a-46ef-561f719e17b2
    Microsoft.EnterpriseManagement.Common.DiscoveryDataAbstractClassIdNotAllowedException,Abstract class ID not allowed in a discovery data item.
    Class ID: a2e926e9-1c0a-aa31-23d1-de624e3f2981
    Rule ID: ca98230a-9bf6-3152-9002-b438afb8ee63
    Instance:
    ...

The discovery appeared to be "DFS Replication Service Configuration Discovery (Windows Server 2016 and 1709+)" from "DFS Replication Management Pack for Windows Server 2016 and 1709+" v10.1.0.3 and class is "Microsoft.Windows.FileServer" (displayname "File Services Role').
This discovery contains vbscript with code:

set oInstFs = oDiscData.CreateClassInstance("$MPElement[Name='FileServices!Microsoft.Windows.FileServer']$")
call oInstFs.AddProperty("$MPElement[Name='Windows!Microsoft.Windows.Computer']/PrincipalName$", sDfsrServerName)
call oInstFs.AddProperty("$MPElement[Name='System!System.Entity']/DisplayName$", Left(sDfsrServerName, InStr(sDfsrServerName, ".")-1))
call oInstFs.AddProperty("$MPElement[Name='FileServices!Microsoft.Windows.FileServer']/IsOnVirtualNode$", isVirtualNode)   
call oDiscData.AddInstance(oInstFs)

But "Microsoft.Windows.FileServer" is abstract class as defined in "File Services Management Pack Library" MP:
<ClassType ID="Microsoft.Windows.FileServer" Accessibility="Public" Abstract="true" Base="Windows!Microsoft.Windows.ComputerRole" Hosted="true" Singleton="false" Extension="false">

There can not be instances of abstract class and event log message confirms this.

So it looks like this discovery contains a bug in code, or I'm wrong?
Where to report it?

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,524 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Michael Østergaard 0 Reputation points
    2023-01-27T10:28:14.12+00:00

    We're seeing the same events in our environment. This still seems to be an issue with version 10.1.0.4.

    Sorry about the double post. Please delete this answer :)

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.