Configuring using UDP
You can configure process monitoring using UDP.
Procedure
-
Update the following properties in the bwagent configuration files,
bwagent_as.json,
bwagent_db.json or
bwagent_ftl.json based on your bwagent configuration.
- Set statstransport to UDP
- Set statsprovider to true
- Set dbprovidertype to <db type>
- Set dbproviderdriver to <db provider>
- Set dbproviderconnectionurl to <db connection url>
- Set dbprovideruser to <db user>
- Set dbproviderpassword to <db password>
Run the bwadmin config command with the -cf option to push the changes from the bwagent configuration JSON file to the bwagent.ini file. - Start the bwagent and create the AppNode(s).
-
To ensure minimum data loss, set the values of the following two AppNode properties on the lower side: For example, you can set
bw.monitor.publishtimer= 1500 and
bw.monitor.batchsize= 1.
batchsize: Process Monitoring data is published in batches. This property specifies batch size for the data.
publishtimer: This property specifies the time interval for publishing Process Monitoring data.
The criteria that is fulfilled first will take effect.
You can configure the AppNode properties using the Configure icon from the Admin UI AppNode level 2 page or from the BWAppNode's config.ini file.Ensure the monitor provider property (bw.monitor.provider=UDP) is present in the the AppNode config.ini file and in the bwagent.ini file.
- Start the Appnode(s).
- Upload and deploy the Application. Start the Application.
- You can enable pocess monitoring for any particular application by navigating to the Application Level 2 page, turning the Process Monitor button ON and restarting the Application.
-
Navigate to
Application Level 2
> Processes > Graph View > Process Instance. Alternatively you can also use the shortcut key Shift + P from the Application Level 2 Page to directly open the Process Monitoring landing Page.
To enable process monitoring form CLI, run the following commands:
bwadmin[admin]> enablestats -d D -a AS processinstance b1.application 1.0 TIBCO-BW-ADMIN-300413: Enabled statistics collection for Application [b1.application:1.0]. bwadmin[admin]> enablestats -d D -a AS activityinstance b1.application 1.0 TIBCO-BW-ADMIN-300413: Enabled statistics collection for Application [b1.application:1.0].
Alternatively, you can run the single command as follows:
bwadmin[admin]> enablestats -d D -a AS processmonitor b1.application 1.0 TIBCO-BW-ADMIN-300413: Enabled statistics collection for Application [b1.application:1.0].
-
Select any activity in the process diagram and verify the details in the Details, Configurations, Input data or the Output data tabs.
In your production environment, it is recommended to use TIBCO FTL®.
Copyright © Cloud Software Group, Inc. All rights reserved.