Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

WSO2 Business Activity Monitoring (WSO2 BAM) is a monitoring tool , which that performs the task of  aggregatingaggregating, analyzing and  analysing and presenting information about business activities. Thereby, BAM can be used with AS in order to effectively monitor the statistics of web applications in ASin AS.

To use BAM with AS, you must first configure the AS settings that allow web application data from AS to be published in BAM. Also, each web application in AS , which you want to monitor in BAM should be individually configured to allow publish data publishing in BAM. In BAM, the in BAM. The bam_webapp_statistics default toolbox  toolbox in WSO2 BAM is dedicated by default for monitoring the web applications.

...

  1. Login and open the AS management console.

    Info

    Webapp data publishing settings need to be configured separately for the tenants.

  2. Go to the Configure tab and click Webapp Data Publishing.

  3. Select the Enable webapp stats check box.
     
  4. Leave the Stream Name, Version, Nick Name, Description as it is. These are the default values from the bam_webapp_statistics toolbox.

    Info

    Note that if you change any of the details relevant to the toolbox, e.g., stream name, version etc, you must accordingly modify the hive script of the toolbox in BAM.

  5. Enter the Receiver URL.
    This refers to the Thrift URL, which is normally tcp://{host}:7611. If you need to use SSL for this, the URL will be tcps://{host}:7711. If you change the offset of the BAM server to 1, both ports will be incremented by 1 (7612, 7712)
  6. Enter the Cassandra Username. 
  7. Enter the Cassandra Password.
  8. Click Update to successfully configure the AS for Data publishing to BAM.

...

  1. Login and open the management console of BAM.

  2. On the Main menu, under BAM Toolbox, click Add.

  3. Select the  ToolBox From URL option and enter the following URL: http://product-dist.Enter wso2.com/downloads/business-activity-monitor/tool-boxes/2.5.0/WebApps_Stats_Monitoring.tbox.

    Info

    This is the URL of

    the WebApps

    the WebApps_Stats_Monitoring toolbox

    . Note that this is the

    (default toolbox for web application data monitoring

    .info

    ). Note that all the toolboxes are hosted in the product web site for WSO2 BAM.

    If you have changed any details corresponding to the toolbox when you configured the AS (see the step on configuring AS), you must change the hive script of the toolbox according to those changes.

  4. Click Install. Refresh after a few seconds to see if the toolbox is installed.

...

  1. Login and open the BAM management console.
  2. On the Main menu, under  Analytics, click ListThe webapp statistics will be displayed.
  3. Execute the webapp statistics or schedule its running sequence.

...