![]() |
|
Pramati Server monitors the causes for errors and notifies the users by raising alerts. The Console enables an administrator to configure and monitor alerts and alert receivers. Alerts are sent to administrators when an activity has some effect on the normal performance of Pramati Server. The Console provides a set of taglibs that interact with the MBean components and send the invoked alerts to you. These taglibs can be included in the JSPs, which will help you to plug in your own JSPs without making many changes in the code.
The configured alerts are stored along with the default alerts in the Alert log. When an event is configured to raise an alarm, the alert framework calls the particular alert from the alert log. A description of this action is recorded in the log file. Notifications can be configured and are of the following types:
The types of alerts that listen to events and processes are:
Table 1: Details of an Alert
| Fields | Description |
|---|---|
| Status | Represents an active alert with a red icon and inert alert with a bell icon. |
| Name | Unique name for the alert to be configured. |
| Time | Displays the time when the alert was raised. |
| Settings | Displays the details of alerts such as alert ID, the date and time when it was raised, and the alert message. |
| Delete | Deletes the selected alert. |
| Add | Adds a new alert to the Alert Types list. |
| Refresh | Refreshes the Alert Types page to display the new alerts. |
Table 2: Modifying an Alert
| Fields | Description |
|---|---|
| Comment | Enter here a description for the alert. |
| Polling Interval | Set the time taken to evaluate the expression for checking the alert condition. This must be specified in seconds. |
| Settings | Define severity level for the alert as Critical, Severe, or Warning. Specify the allowed percentage of memory usage and number of times the limit can be allowed to exceed before an alert is raised. |
Click Save to proceed with the above alert settings.
Table 3: Add an Alert
| Fields | Description |
|---|---|
| Name | Enter here a unique name for the alert to be added to the list. |
| Description | Enter here a short description of the type of alert. |
| MBean Interface/ObjectName | Enter here an Interface or ObjectName that provides MBean notifications. MBean Interface refers to the Java class name. Use this when you need to listen to all the notifications sent by this MBean instance. ObjectName is the name of the MBean instance. Use it when you want to listen only to that particular MBean instance. |
| Alert Type | Enter here an alert type and define it as an Event or Attribute alert. Event alerts are based on notifications emitted by MBeans. Attribute alerts are based on a collection of attributes that may be defined by an expression or valuer class. An expression can be a mathematical expression containing integer, float, constant or literal values as MBean attributes and one or more binary operators such as +, -, *, /, ^ , and ( ). A valuer class can be serialized to handle the business logic and returns a value when queried. The interface for this class is com.pramati.services.admin.ObservedValue. |
| © Pramati Technologies 2007 | Runs on Pramati Server | Feedback | Legal |