DX Operational Intelligence

Expand all | Collapse all

Use MdrProduct/MdrProdInstance/MDRElementID in Alert SelectorSet?

  • 1.  Use MdrProduct/MdrProdInstance/MDRElementID in Alert SelectorSet?

    Posted 08-21-2017 09:46 PM

    The documentation says that the SelectorSet to access/update/delete an alert via WS-Man uses MdrProduct, MdrProdInstance, MDRElementID - however, EVERY example provided by CA uses AlertId.

     

    Is it possible to access an alert using the MdrID triple - or is the documentation in error?

     

    This works:

     <wsman:SelectorSet><wsman:Selector Name="AlertID">alertid</wsman:Selector></wsman:SelectorSet>

     

    But this (as documented) does not:
     <wsman:SelectorSet>

       <wsman:Selector Name="MdrProduct">CA:09996</wsman:Selector>
       <wsman:Selector Name="MdrProdInstance">somehost.net</wsman:Selector>
       <wsman:Selector Name="MdrElementID">somealert</wsman:Selector>
     </wsman:SelectorSet>



  • 2.  Re: Use MdrProduct/MdrProdInstance/MDRElementID in Alert SelectorSet?

    Broadcom Employee
    Posted 08-29-2017 03:46 PM

    Hi Brian,

    See "Example: Update the ticket number of an alert" section in

    https://docops.ca.com/ca-service-operations-insight/4-0-cu1-sp2/en/web-services/ws-man-web-services/alert-web-services#AlertWebServices-AlertWebServicesExamples

    The example uses all those properties to update an alert with ticket id.

    Just FYI - We are not developing WS anymore, it is going away, we recommend using REST instead.

    Thanks

    Shaheen



  • 3.  Re: Use MdrProduct/MdrProdInstance/MDRElementID in Alert SelectorSet?

    Posted 09-08-2017 01:14 PM

    Thanks Shaheen

     

    Regarding the FYI about WS:  REST does not support complete functionality to create/update/remove ALL of the SOI objects (eg binary relationships for example) - so we must continue to use WS webservices.

     

    Brian



  • 4.  Re: Use MdrProduct/MdrProdInstance/MDRElementID in Alert SelectorSet?

    Broadcom Employee
    Posted 09-12-2017 03:32 PM

    Hi Brian,

    Let me see if I can get some information on this from our developers. I'll let you know once I hear from them.

    Thanks

    Shaheen



  • 5.  Re: Use MdrProduct/MdrProdInstance/MDRElementID in Alert SelectorSet?

    Posted 09-13-2017 10:52 AM

    Thanks. At a minumum we need to be able to

    1. create service
    2. create ci (computer system, businessprocessserver, etc)
    3. create relationship (service-to-service or service-to-device)
    4. delete service
    5. delete device
    6. delete relationship

    Currently, REST only supports 1 and 4 (and using GCEventAddCmd is not a robust solution).