Rules and Alerts
In BusinessEvents Enterprise Administrator Agent, you can create rules on monitored entities based on their metrics.
The monitored entities are those entities for which certain metrics are computed. Using the BusinessEvents Enterprise Administrator Agent, you can write rules on these monitored entities, such that in the case a change in a specified metric, an action takes place or an alert is generated.
You can specify set conditions and set actions while authoring rules. When the specified set conditions are satisfied, the defined set actions of the rule are triggered. For example, you can create a rule to mark the cluster health as critical when the total number of running processing unit instances is less than 50% of the total number of processing unit instances.
You can also specify clear conditions and clear actions to counter the effects of the set condition and set actions. When the clear conditions are met, their associated clear actions are triggered. Clear conditions and clear actions are enabled only if the corresponding set conditions are satisfied. For example, you can create a clear action to mark the cluster health as normal when the total number of running processing unit instances is more than or equal to 50% of the total number of processing unit instances.
You can also author a nested expression for the set condition and clear condition using the AND and OR operators.
The BusinessEvents Enterprise Administrator Agent provide two different views for Rules and Alerts.
Rules View
The Rules view displays the list of rules for the application deployment. The Rules view provides the option to configure rules and also to disable them if required.
Rules which determine the health of a monitored entity are called health rules. Health rules are considered as global rules spanning across the user base and since the health of a system cannot be different as seen by different users, only users with the RULE_AUTHOR_ADMIN role can author health rules.
Additionally, users with the RULE_AUTHOR_ADMIN role can view and modify rules created by non RULE_AUTHOR_ADMIN privileged users. If a rules admin user edits a non-admin rule and introduces a health action, the rule ownership is transferred to the rule admin user.
Alerts View
The Alerts view lists all the alerts generated by the rules. You can see the number of new generated alerts on the Alerts tab icon. In the Alerts view, new alerts are displayed using the bold font. The font of new alerts is changed back to the normal font, after clicking Refresh or after switching to another view.
You can use the column filter to view only the specific alerts. If required you can also clear out all alerts using the Clear Alerts icon. You can view alerts generated by your own rules or generated by RULE_ADMIN users. Similarly, you can clear only those alerts which are generated by your rules. The RULE_ADMIN users can view and clear all users alerts. These alerts are stored in memory, so in case of BusinessEvents engine restart, the previous are alerts are lost.