Automation Analytics & Intelligence (AAI)

 View Only
  • 1.  Automating the creation of Job Streams

    Posted 12 hours ago

    I have a user that has about 200 processes from Automic they would like to have added to AAI to monitor.  Is there an automated process to set up Job Streams or it is only a manual process?  



    -------------------------------------------


  • 2.  RE: Automating the creation of Job Streams

    Broadcom Employee
    Posted 2 hours ago

    HI Jared,

    There are multiple means of creating jobstreams:

    • Via the traditional means, the AAI User Interface
    • Via the AAI REST API
    • Via the AAI Command Line Interface (CLI)

    While not automatic, leveraging a template JSON request to use the REST API and/or a template Python script to use the CLI can ease the creation of multiple jobstreams. 

    REST API

    There is documentation along with an example of usage within the swagger documentation found at:
    http[s]://<aai_server>:<port>/aai/swagger-aai.html#/jobstreams/JobStreamsService_addJobStream

    CLI

    You will find an example script named add_jobstream.py on the AAI server within the <INSTALL_DIR>/batch/examples directory.

    I hope that this helps. 

    Many thanks and kind regards,
    Jon

    -------------------------------------------