AIOps

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

    Posted Tue May 28, 2024 05:30 AM

    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 Fri May 31, 2024 09:54 AM

    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 Mon June 03, 2024 11:03 AM

    Matthew,

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



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