Copyright © TIBCO Software Inc. All Rights Reserved
Copyright © TIBCO Software Inc. All Rights Reserved


Chapter 11 Deploying, Starting and Monitoring a TIBCO BusinessWorks Service : Monitoring the Application

Monitoring the Application
Monitoring an application can be done in two ways, discussed in this section:
Viewing Default Monitoring Information
Some monitoring information for the application is available by default. To view the log from TIBCO Administrator, follow these steps:
1.
Choose Application Management> Timer Application > bwtutorial > Service Instances and select the machine-FileActivitiesTest service instance, and then the Tracing tab.
2.
In the Search box, make sure that the log for your application (in this case bwtutorial-FileActivityTest.log) is selected, and then click Search.
TIBCO Administrator displays information about the instance, which includes starting, termination, and any errors that occurred.
Figure 71 Viewing Default Monitoring Information
3.
4.
In the window that appears, click All Activities to have execution of each activity included in the log; click All Starters to have execution of all starters included, and then click Save.
Figure 72 Configure Tracing
5.
Specifying a Custom Alert
In addition to tracing, using TIBCO Administrator you can specify that you wish to be alerted if certain conditions are met. This section gives one example. A detailed discussion of tracing is included in Adding a Custom Rulebase to a Process or Service.
To specify a custom alert, follow these steps:
1.
Choose Application Management> Timer Application > bwtutorial > Configuration.
2.
In the Configuration Builder panel, expand the bwtutorial application and click FileActivityTest.par, and then click the Monitoring tab.
Figure 73 Specifying a Custom Alert
3.
4.
a.
In the General pane, select First Component Failure in the Event Type drop-down list.
b.
In the Alert pane, select the Generate Alert checkbox.
c.
Select the All Occurrences radio button and select High in the Level drop-down list.
d.
In the Message field, type First component failure - FileActivityTest.
e.
Click OK, and then click Save.
TIBCO Administrator will now display a high-level alert with the message upon first failure of this process. If you wanted, you could also have an email sent in the event of component failure.
Figure 74 Add Event
5.

Copyright © TIBCO Software Inc. All Rights Reserved
Copyright © TIBCO Software Inc. All Rights Reserved