AIOps

 View Only
  • 1.  Integration AIOps and Impact: REST data source

    Posted 28 days ago

    In the process of configuring an AIOps integration with Netcool Impact, a REST data source is created in Impact to enable querying of AIOps resources.

    We searched the documentation and the community, still without success, for examples of how to use this data source to query AIOps information.

    Any guidance on how to use this data source in Impact policies?



    ------------------------------
    Antonio Gadelha
    ------------------------------


  • 2.  RE: Integration AIOps and Impact: REST data source
    Best Answer

    Posted 25 days ago

    There is a basic example in the documentation for configuring the integration. The full library of helper functions that allow you to interact with that API is in the "AIOPS_Utils" policy. There are functions in there that allow you to query, insert and modify events, alerts and incidents.

    For example, the following policy will pull the current list of alerts:

    Load('AIOPS_Utils');
    
    // <UUID> should be obtained by following the instructions in the above documentation
    var alerts = aiopsUtils.getAlertsDSA("AIOps-<UUID>");
    
    Log("Alerts are:" + JSON.stringify(alerts, null, 2));

    It is also possible to use the REST data source directly, which will allow you to use any of the APIs listed in this documentation.



    ------------------------------
    MATTHEW THORNHILL
    ------------------------------



  • 3.  RE: Integration AIOps and Impact: REST data source

    Posted 22 days ago

    Matthew,

    Thank you for your information. It will be very useful for me to progress with policy development.



    ------------------------------
    Antonio Gadelha
    ------------------------------