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


Chapter 4 Rulebase Management : Rulebases Tab

Rulebases Tab
The Rulebases tab shows all the rulebases for the agent. You can select the number of rulebases displayed on a page by selecting 5, 10, 25, 50 or 100 from the records per page drop-down menu.
Figure 10 The Rulebases Page for the Hawk Agent
The following information is displayed for each rulebase:
Name - the name of the Rulebase
State - whether the rulebase is deployed or undeployed
Rule Count - the number of rules in the Rulebase
Author - name of person or entity that created the Rulebase
Description - text used to describe the Rulebase
Schedule - the name of the schedule that is used by the Rulebase
Actions - you can take the following actions on the Rulebase:
Apart from this information, can also perform two more operations on the Rulebases tab:
Import a rulebase - Click the Import icon to import an existing rulebase (the .hrb file) to the Hawk agent. For details, see Importing a Rulebase to the Hawk Agent.
Create a new rulebase - Click the Add icon to create a new rulebase for the Hawk agent, see Adding a Rulebase to the Hawk Agent.
Rulebase Variables in Alert Messages
You can use rulebase internal variables while defining rulebase alert actions message, along with microagent specific variables in the alert message text. For example, in a rulebase with Self microagent as the data source, you can choose rulebase internal variables such as rulebase name, rule name, test name, and so on. You can also use Self microagent specific variables such as Uptime, TotalHours, and so on in your alert message text. For details, see Variables in a Rulebase.
Figure 11 Variables Usage in Alert Messages
Drilling Down Rulebases
In the Rulebase tab, you can drill down the rulebase details to the action level. You can drill down the rulebase details in the following hierarchy:
Figure 12 Drilling Down Rulebases
At each level, you can view the details of that entity and list of its subsequent entities. For example, when you click a rulebase name, the rulebase details are displayed and also the list of rules associated with it is displayed.
Also, at each level, you can perform some actions specific to that level. For example, on the Rulebases tab, click the plus icon to add a new rulebase, when you drill down to the rulebase details page, you can click the plus icon to add a new rule to the rulebase.
Rule Details Page
In the Rule details page, you can view all the details of a rule as well as you can add test conditions for the rule.
Figure 13 Rule Details Page
Details
Microagent Name - The microagent whose methods can act as the data source for the rule.
Method Name - The microagent method which acts as the data source for the rule.
Interval - The time interval after which Hawk Console checks the rule.
Schedule - The schedule applied to the rule. For details about schedule, see Chapter 5, Schedule Management.
Tests - List of all the tests, associated with the rule, and their details. For tests details, see Test Details Page.
Actions
Edit a test condition - Select the Edit option under the Actions column for an test condition to edit it.
Derive a test condition - Select the Derive option under the Actions column to duplicate the test.
Delete a test condition - Select the Delete option under the Actions column for a test condition to delete it.
Test Details Page
In the Test details page, you can view details of the test condition and add an action for the test condition.
Figure 14 Test Details Page
Details
Schedule - The schedule applied to the rule. For details about schedule, see Chapter 5, Schedule Management.
True Condition Policy - A counter which specifies after how many times, when the condition is true, the action is triggered.
Clear Condition - The condition which when true triggers a clear action.
Actions - List of all the actions, associated with the test condition, and their details.
Click the action Name to view the Action details page, see Actions Details Page.
Actions
Edit an action - Select the Edit option under the Actions column for an action to edit it.
Derive an action - Select the Derive option under the Actions column to duplicate the action.
Delete an action - Select the Delete option under the Actions column for an action to delete it.
Actions Details Page
In the Action details page, you can view details of the action configured for the test condition.
Figure 15 Action Details Page
Details
Action type - Type of the action configured. Based on the action type other fields are displayed.
Alert Level - Severity of the alert.
Microagent - The microagent associated with the rulebase.
Message - Alert message to be displayed.
Actions

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