DX NetOps

 View Only
  • 1.  Rest API Examples - Microsoft SCOM

    Posted Feb 18, 2020 08:07 AM

    Hi All,

    I have a requirement to send via the REST API Spectrum model information i.e Model Name - IP Address to Microsoft SCOM (System Center Operations Manager). I would welcome any script examples, please.

    Kind Regards,

    Andy

    ------------------------------
    Andy Sumton

    Pre-Sales Consultant

    +31 (0) 6 21 33 04 82


    Enable U Dé Integratiespecialist

    +31 (0) 20 716 38 66 info@enable-u.nl

    Kaap Noord, Asterweg 19d12 1031 HL Amsterdam
    ------------------------------


  • 2.  RE: Rest API Examples - Microsoft SCOM

    Posted Feb 18, 2020 10:27 AM
    $SPECROOT/RestfulExamples for some Rest examples and $SPECROOT/vnmsh/sample_scripts for some sample VNMSH scripts.

    It would depend on what you're trying to achieve, maybe a combination of the 2 can be used.

    ------------------------------
    Senior Consultant
    SolvIT Networks
    ------------------------------



  • 3.  RE: Rest API Examples - Microsoft SCOM
    Best Answer

    Broadcom Employee
    Posted Feb 18, 2020 12:32 PM
    Hi Andy,

    You can use the below REST API
    http://<hostname><:portnumber>/spectrum/restful/model/<model_handle>[?attr=<attr_ID>]
    Doc link below
    https://techdocs.broadcom.com/content/broadcom/techdocs/us/en/ca-enterprise-software/it-operations-management/spectrum/10-4-1/programming/web-services-api-reference/how-to-use-the-ca-spectrum-web-services-api/restful-resources-nouns/model.html#concept.dita_1d06a0d76f000e6edd18de492383983feefced4e_GETmodel

    Some examples mentioned at $Spectrum\RestfulExamples\xml\Models

    Thanks
    Channa


    ------------------------------
    Broadcom - CA Technologies
    ------------------------------



  • 4.  RE: Rest API Examples - Microsoft SCOM

    Posted Feb 19, 2020 08:35 AM
    You say send from Spectrum to SCOM?
    I guess your loocking for the Notifier App which can forward information to third party. The Spectrum REST-API works the other way -> SCOM could get/retrive information from Spectrum.

    /R