DevPortal

How do I Manage Alerts?


Table of Contents


How do I manage Alerts with Pramati Server?

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:

What are the Alert details?

Configuring alerts according to the information required can save monitoring time for a process. Alerts sent by e-mails or WAP devices reflect immediately on the browser. The alert notification can also be sent through the log files. To view details regarding alerts using Console, select Configure > Alerts. This displays the Alert Types page.

Table 1: Details of an Alert

FieldsDescription
StatusRepresents an active alert with a red icon and inert alert with a bell icon.
NameUnique name for the alert to be configured.
TimeDisplays the time when the alert was raised.
SettingsDisplays the details of alerts such as alert ID, the date and time when it was raised, and the alert message.
DeleteDeletes the selected alert.
AddAdds a new alert to the Alert Types list.
RefreshRefreshes the Alert Types page to display the new alerts.

How do I modify Alert Settings?

To view or edit the settings of an alert in the Configure > Alerts page, select Settings against the alert name. Enter the following details to set an alert:

Table 2: Modifying an Alert

FieldsDescription
CommentEnter here a description for the alert.
Polling IntervalSet the time taken to evaluate the expression for checking the alert condition. This must be specified in seconds.
SettingsDefine 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.

How do I add Alerts?

To create an alert, click Add in the Configure > Alerts page. Enter the following details:

Table 3: Add an Alert

FieldsDescription
NameEnter here a unique name for the alert to be added to the list.
DescriptionEnter here a short description of the type of alert.
MBean Interface/ObjectNameEnter 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 TypeEnter 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