Incident Management Context and Intelligence

 View Only
  • 1.  Define Alert for Instana generic Event

    Posted Mon December 12, 2022 08:45 AM
    Hello.
    We are testing Instana generic event using Instana Agent REST api (http://localhost:42699/com.instana.plugin.generic.event).

    Is it possible to create Alert for specific generic Event to send notification on email or other target?
    Generic events ale not listed in Instana and cannot be selected under events when creating new alert.

    Thank you.
    Regards, Peter



    ------------------------------
    Peter Mismas
    ------------------------------


  • 2.  RE: Define Alert for Instana generic Event

    Posted Mon December 12, 2022 02:00 PM
    Hi Peter, could you expand a bit on the outcome that you are trying to achieve?   We have a recent blog post about how to create a SmartAlert on Custom a Event to monitor business metrics.  Maybe this is what you are looking to do, and the screenshots in this blog will help.
    https://www.instana.com/blog/how-to-use-smart-alert-on-custom-event/

    ------------------------------
    Mike Mallo 
    Head of Instana Product Management
    IBM Corporation
    mmallo@us.ibm.com
    ------------------------------



  • 3.  RE: Define Alert for Instana generic Event

    Posted Mon February 06, 2023 01:23 PM
    Edited by System Test Fri May 24, 2024 11:46 AM

    Hello Mike,
    I am trying the same scenario mentioned by Peter and facing the same issue. I have created a custom event through Agent REST API with the below API call.

    curl -XPOST http://localhost:42699/com.instana.plugin.generic.event -H "Content-Type: application/json" -d '{"title":"Custom API Event Test", "text": "Failure Redeploying Service Duration", "duration": 600000, "severity": 10}'

    We can see an event got created for the above curl call. But unable to configure Alert for the event which got created. I am sharing the steps below.

    1. Event got created after the curl call
    2. I am trying to associate an Alert for this event but unable to do so. Can you please check this in your environment and share the steps to create an alert.Generic events ale not listed in Instana and cannot be selected under events when creating new alert.

     

    3.  Create new alert

     
     4. Trying to Add Event. Custom Event created through the curl command is not appearing.

    5. If we try via Smart Alert, we don't see Custom Event Option.


    Regards,
    Karthick S


    ------------------------------
    Karthick Subramaniam
    ------------------------------



  • 4.  RE: Define Alert for Instana generic Event

    Posted Mon February 06, 2023 01:44 PM
    Hi there,

    you cannot combine smartalerts with these kinds of custom events. You need to use the legacy alert function and select the events using dynamic focus query with something like "event.text".

    ------------------------------
    Jordy Mevissen
    ------------------------------



  • 5.  RE: Define Alert for Instana generic Event

    Posted Tue February 07, 2023 03:36 AM
    Edited by System Test Fri May 24, 2024 11:46 AM
    Original Message:
    Sent: Mon February 06, 2023 01:43 PM
    From: Jordy Mevissen
    Subject: Define Alert for Instana generic Event

    Hi there,

    you cannot combine smartalerts with these kinds of custom events. You need to use the legacy alert function and select the events using dynamic focus query with something like "event.text".

    ------------------------------
    Jordy Mevissen



  • 6.  RE: Define Alert for Instana generic Event

    Posted Tue February 07, 2023 04:15 AM
    I could have elaborated with a screenshot obviously :-)... Please assure that under (2) you select "Alert on Event Type(s)" instead of the default value.

    If you configure your event like this it will work as expected:



    ------------------------------
    Jordy Mevissen
    ------------------------------



  • 7.  RE: Define Alert for Instana generic Event

    Posted Tue February 07, 2023 04:34 AM
    Edited by System Test Fri May 24, 2024 11:46 AM
    Thank you very much. right now i could see the results for the Dynamic Focus Query. I will go ahead and try to configure the Alert Channels.



    ------------------------------
    Karthick Subramaniam
    ------------------------------