SDK get top level host monitoring object RRS feed

  • Question

  • Hi all,

    I'm trying to get top level host object for any given monitoring object with scom SDK.
    OperationsManager database table "BaseManagedEntity" contains the Id of top host for every monitoring object in the "[TopLevelHostEntityId]" field.
    Therefore I'd expect to find it as a property of MonitoringObject sdk class but surprisingly there's nothing.
    Because of this getting the top level host object of any arbitrary monitoring object is quite complicated.
    For now I've managed to get it using recursive calls to GetRelationshipObjectsWhereTarget(objectId,...) but it's very slow.

    Maybe anyone knows better method to get it?


    Thursday, April 12, 2018 9:54 AM

All replies