AIOps

 View Only
  • 1.  Custom observer development

    Posted Wed April 24, 2024 06:36 AM

    We are developing a custom Observer that should obtain topology data by querying a custom CMDB.

    Is there any document that guides how to develop a custom Observer?

    The idea is to use the concept of matchTokens to associate alerts with topology data.

    How can we include the matchTokens information in the topology data generated by Observer?

    We are looking at two alternatives for Observer development: File observer and Rest API Observer.

    Initial tests with File observer were promising but it is not including matchTokens information.

    Thanks in advance for any suggestions.



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


  • 2.  RE: Custom observer development

    IBM Champion
    Posted Thu April 25, 2024 09:35 AM

    Hi,

    once you define vertex in file observer input, it has property "matchTokes". 

    here is example : 

    V:{"_operation":"InsertReplace","uniqueId":"NCIM:%s","entityTypes":["router"],"_status":[],"matchTokens":["%s"],"name":"%s","tags":["Service"]}

    Marek



    ------------------------------
    Marek Zidek
    ------------------------------



  • 3.  RE: Custom observer development

    Posted Fri April 26, 2024 04:43 AM

    Hello

    Yes, you can place match tokens in the vertex, but those values will be forever associated with the ASM entity – you can't change them without modifying the Vertex definition and reimporting the file.

    I would recommend using rules to define the way thigs are matched, this lets you define and change them more easily.

    https://www.ibm.com/docs/en/cloud-paks/cloud-pak-aiops/4.5.1?topic=rules-defining-match-tokens

     

    John Postoyko
    IBM Software Support

    Unless otherwise stated above:

    IBM United Kingdom Limited
    Registered in England and Wales with number 741598
    Registered office: PO Box 41, North Harbour, Portsmouth, Hants. PO6 3AU





  • 4.  RE: Custom observer development

    Posted Fri April 26, 2024 06:41 AM

    The suggestions were important and helped to clarify my doubts.

    I thank everyone.



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



  • 5.  RE: Custom observer development

    Posted Fri April 26, 2024 07:10 AM

    Hi Antonio

    There are some other aspects of constructing topology files that may be of interest.

    These cookbooks out line relationships that should be established between related / contained entities.

    https://www.ibm.com/docs/en/nasm/1.1.21?topic=reference-cookbook



    John Postoyko
    IBM Software Support

    Unless otherwise stated above:

    IBM United Kingdom Limited
    Registered in England and Wales with number 741598
    Registered office: PO Box 41, North Harbour, Portsmouth, Hants. PO6 3AU