How to configure a rule in TIBCO BusinessWorks ProcessMonitor (BWPM) for notification of a process whose execution is past a given threshold.

How to configure a rule in TIBCO BusinessWorks ProcessMonitor (BWPM) for notification of a process whose execution is past a given threshold.

book

Article ID: KB0085535

calendar_today

Updated On:

Products Versions
TIBCO BusinessWorks ProcessMonitor -
Not Applicable -

Description

Description:
TIBCO BusinessWorks ProcessMonitor (BWPM) server does allow the configuration of monitoring rules, which can trigger various actions. For example, an Administrator may want to receive email alerts whenever a certain BW job’s execution time or an individual activity exceeds a given threshold. This rule will be helpful in monitoring  processes which take more time than a configured threshold. Depending on your requirement, you can create a rule for getting notifications/alerts once only or multiple times based on conditions set in the rule.

Issue/Introduction

How to configure a rule in TIBCO BusinessWorks ProcessMonitor (BWPM) for notification of a process whose execution is past a given threshold.

Resolution

You have to create a rule in TIBCO BusinessWorks ProcessMonitor (BWPM) GUI from Administration -> Rules category after logging through the user with Admin privileges. The Rule can be created for the following two requirements on a condition process duration greater than a predefined threshold and additionally the condition of Process Jobend after 1970-01-01 05:29:59 respectively.


Getting Notified Multiple time:


Create a simple rule with a condition process duration greater than the threshold (100000 ms). Set this rule ON. By default, the BWPM Client will send log messages every 30 seconds. Each log message will trigger the rules engine and an alert will be fired if the condition evaluates to True. You can change the frequency by using the following parameter in the client’s tra file: tibco.clientVar.nJAMS/DataProvider/timeoutPush=30000 . The default value is 30000. Currently, BWPM is not executing rules continuously until the job ends, so you may not be notified until the process ends but you will be notified 2 - 4 times.

Being Notified Once Only after a process is complete:

You can update/add Conditions on the above rule with condition process jobend after 1970-01-01 05:29:59. This rule will check process the duration on completing the job and if the duration is greater than 100000 ms. The condition will be evaluated to True and actions will be triggered. You will receive only one alert per job. Refer to the attached snapshot (Filename: AlertRuleProcesscompletedTimeMoreThan100000ms.jpg) for details.

Note: If the BW process is designed as an endless loop or it goes into an infinite loop, you will never receive an alert since the job never terminates.

/* Style Definitions */ table.MsoNormalTable {mso-style-name:"Table Normal"; mso-tstyle-rowband-size:0; mso-tstyle-colband-size:0; mso-style-noshow:yes; mso-style-priority:99; mso-style-qformat:yes; mso-style-parent:""; mso-padding-alt:0in 5.4pt 0in 5.4pt; mso-para-margin-top:0in; mso-para-margin-right:0in; mso-para-margin-bottom:10.0pt; mso-para-margin-left:0in; line-height:115%; mso-pagination:widow-orphan; font-size:11.0pt; font-family:"Calibri","sans-serif"; mso-ascii-font-family:Calibri; mso-ascii-theme-font:minor-latin; mso-fareast-font-family:"Times New Roman"; mso-fareast-theme-font:minor-fareast; mso-hansi-font-family:Calibri; mso-hansi-theme-font:minor-latin;}
/* Style Definitions */ table.MsoNormalTable {mso-style-name:"Table Normal"; mso-tstyle-rowband-size:0; mso-tstyle-colband-size:0; mso-style-noshow:yes; mso-style-priority:99; mso-style-qformat:yes; mso-style-parent:""; mso-padding-alt:0in 5.4pt 0in 5.4pt; mso-para-margin-top:0in; mso-para-margin-right:0in; mso-para-margin-bottom:10.0pt; mso-para-margin-left:0in; line-height:115%; mso-pagination:widow-orphan; font-size:11.0pt; font-family:"Calibri","sans-serif"; mso-ascii-font-family:Calibri; mso-ascii-theme-font:minor-latin; mso-fareast-font-family:"Times New Roman"; mso-fareast-theme-font:minor-fareast; mso-hansi-font-family:Calibri; mso-hansi-theme-font:minor-latin;}

Additional Information

TIBCO BusinessWorks ProcessMonitor  Server User Guide>Rules

Attachments

How to configure a rule in TIBCO BusinessWorks ProcessMonitor (BWPM) for notification of a process whose execution is past a given threshold. get_app