Automatic Visibility/Observability

 View Only
  • 1.  Create alarm to count Instana agents

    IBM Champion
    Posted Wed November 22, 2023 10:34 AM

    I need to create an alarm to count the agents connected to Instana and be able to validate that the subscription is not oversubscribed by mistake or carelessness



    ------------------------------
    saury granados
    ing
    GBM Corporation
    San José
    506-22843999
    ------------------------------


  • 2.  RE: Create alarm to count Instana agents

    Posted Thu November 23, 2023 06:23 AM
    Edited by System Test Fri May 24, 2024 11:48 AM

    I need to create an alarm to count the agents connected to Instana and be able to validate that the subscription is not oversubscribed by mistake or carelessness



    ------------------------------
    saury granados
    ing
    GBM Corporation
    San José
    506-22843999
    ------------------------------



  • 3.  RE: Create alarm to count Instana agents

    Posted Mon November 27, 2023 03:28 PM
    Edited by System Test Fri May 24, 2024 11:48 AM
    In my opinion it is possible but you have to use own script. You can use INSTANA API in order to solve this problem.
     
    1. Use this endpoint .../api/instana/usage/hosts/
    You will get number of hosts APM and INFRA.
     
    2. Next you can compare the number of host with your threshold. 
     
    3. If you cross the threshold, then send custom alarm/event by pushing information to this endpoint:



    ------------------------------
    Łukasz M
    ------------------------------



  • 4.  RE: Create alarm to count Instana agents

    Posted Mon November 27, 2023 03:28 PM
    In my opinion it is possible but you have to use own script. You can use INSTANA API in order to solve this problem.
     
    1. Use this endpoint /api/instana/usage/hosts/
    You will get number of hosts APM and INFRA.
     
    2. Next you can compare the number of host with your threshold. 
     
    3. If you cross the threshold, then send custom alarm/event by pushing information to this endpoint:

    You can find more information how to use API on: https://instana.github.io/openapi/ and https://www.ibm.com/docs/en/instana-observability/current?topic=apis-host-agent-rest-api#curl-example

    Example



    ------------------------------
    Lukas
    ------------------------------



  • 5.  RE: Create alarm to count Instana agents

    Posted Wed January 03, 2024 02:20 PM

    Nice



    ------------------------------
    James Smith
    ------------------------------