Configuring using UDP
You can configure the process monitoring using UDP.
- Procedure
- Update the following properties in the BWAgent configuration files
bwagent_db.json
orbwagent_ftl.json
based on your BWAgent configuration.Setstatstransport
to UDPSetstatsprovider
to trueSetdbprovidertype
to <db type>Setdbproviderdriver
to <db provider>Setdbproviderconnectionurl
to <db connection url>Setdbprovideruser
to <db user>Setdbproviderpassword
to <db password>Run the BWAdminconfig
command with the-cf
option to push the changes from the BWAgent configuration JSON file to thebwagent.ini
file.To start the BWAgent in thedbems
modeBW_HOME\bin>bwadmin config -cf ../config/bwagent_db.json agent
To start the BWAgent in thedbftl
modeBW_HOME\bin>bwadmin config -cf ../config/bwagent_ftl.json agent
- 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
andbw.monitor.batchsize= 1
.Batchsize
: Process Monitoring data is published in batches. This property specifies the batch size for the data.Publishtimer
: This property specifies the time interval for publishing Process Monitoring data.The criteria that is fulfilled first is considered first.
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 AppNodeconfig.ini
file and in thebwagent.ini
file. - Start the AppNode(s).
- Upload and deploy the Application. Start the Application.
- You can enable process 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
To enable process monitoring from the CLI, run the following commands:
bwadmin[admin]> enablestats -d domain -a appspace processinstance b1.application 1.0 TIBCO-BW-ADMIN-300413: Enabled statistics collection for Application [b1.application:1.0]. bwadmin[admin]> enablestats -d domain -a appspace 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 domain -a appspace processmonitor b1.application 1.0 TIBCO-BW-ADMIN-300413: Enabled statistics collection for Application [b1.application:1.0].
. Alternatively you can also use the shortcut key Shift + P from the Application Level 2 Page to open the Process Monitoring landing Page directly.
- 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®.