![]() |
Copyright © TIBCO Software Inc. All Rights Reserved |
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 10The Rulebases Page for the Hawk Agent
• 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:
− export the rulebase to a .hrb file
• 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.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 11Variables Usage in Alert Messages
Figure 12 Drilling Down RulebasesAlso, 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.Figure 13Rule Details Page
• 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.
•
• 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.Figure 14 Test Details Page
• 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.
−
−
−
−
•
•
• 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.Figure 15 Action Details Page
• 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.
![]() |
Copyright © TIBCO Software Inc. All Rights Reserved |