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


Chapter 3 TIBCO Hawk Admin Agent User Interface : Rulebases Page

Rulebases Page
A rulebase is a collection of one or more rules. A rule is a user-defined monitoring policy. It specifies the following:
Figure 8 Rulebases
The Rulebases page shows all the rulebases for the agent. You can select the number of rulebases displayed on a page by selecting 10, 25, 50 or 100 from the records per page drop-down menu.
The following information is displayed for each rulebase:
Name: the name of the Rulebase
Status: whether the rulebase is deployed or undeployed
Rule Count: the number of rules in the Rulebase
Alert Count: the number of alerts generated by the Rulebase on the agent
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:
Rulebase Details Page
Click on a Rulebase name to see the details of the Rulebase. The page for a specific Rulebase displays the details of the Rules in that Rulebase in addition to its author, description, schedule used, and alert count.
Figure 9 Rulebase Details Page
The following information about the Rules is displayed:
Name: name of the rule. Click the rule name to open the Rule Details page, see Rules Details Page.
Microagent Name: name of the microagent that uses this rule
Method Name: name of the method to be invoked to retrieve data
Interval: interval in seconds between two subsequent method invocation
Schedule: schedule used by this rule
Actions: actions that can be taken on the rule are:
Click a Rule name to see the details for the Rule.
You can also do the following from an individual Rulebase page by clicking on these links:
Edit Rulebase: edit or update name, description or schedules used in the Rulebase
New Rule: create a new rule in the Rulebase
Undeploy Rulebase: undeploy the Rulebase from the current agent
Get Alerts: get a list of the alerts that are generated by this Rulebase
Export Rulebase: export this Rulebase to a .hrb file on your local machine
Deploy To: deploy this Rulebase to other agents
Undeploy From: undeploy the rulebase from an agent on which it was previously deployed
Rules Details Page
The Rule Details page provide details on the tests associated with the rule. You can also edit or create new tests for the rule.
Figure 10 Rule Details Page
Actions
The page contains the following buttons to take action on the rule:
Edit Rule - Click the Edit Rule button to update the microagent name, method name, interval, and schedule for the rule.
New Test - Click the New Test button to create a new test for the rule.
Export MAD - Click the Export MAD button to export the microagent descriptor to the .hmd file.
Rule Information
The following fields are displayed for the rule:
Test List
The page also displays the list of tests associated with the rule with some information about them. The following are the columns displayed for the tests list:
Name - The name of the test. Click on the test name to open the Test Details page.
True Condition Policy - Specifies if the true condition policy has been applied for the test. If the true condition policy has been applied, the action is triggered only after the test passed for the specified number (True Count Threshold) of test evaluations. The values are:
Clear Condition Policy - Specifies the clear policy that is applied to the test. The values are:
CLEAR_ON_FIRST_FALSE - After the test becomes true, the test is cleared when the first time the test changes from true to false.
CLEAR_TIMER - After the test becomes true it remains true until the specified interval has passed without an additional true test.
CLEAR_TEST - After the test becomes true, it becomes false only when the specified clear test expression becomes true.
Schedule - Specifies the schedule applied to the test.
Actions - Specifies the list of action that you can take on the test. The following actions are available for the test:
Test Details Page
The Test Details page provides information about the test and the actions associated with it.
Figure 11 Test Details Page
Actions
The page contains the following buttons to take action on the test:
Edit Test - Click the Edit Test button to edit the test.
New Action - Click the New Action button to create a new action for the test.
Deploy Rulebase - Click the Deploy Rulebase button to deploy the rulebase directly from the Test Details page.
Test Information
The following fields are displayed for the test:
Action List
The page also displays the list of actions associated with the test with some information about them. The following are the columns displayed for the actions list:
Name - The name of the action. Click on the action name to open the Action Details page.
Method Name - The method associated with the action type.
Policy - Specifies how the action is performed.
Escalation Time - Specifies the wait interval before the action is performed.
Schedule - Specifies the schedule applied to the action.
Actions - Specifies the list of operations that you can perform on the action. The following operations are available for the action:

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