DevPortal

How do I add Attribute Alerts?


Table of Contents


How do I add Attribute Alerts?

To set an Attribute Alert, select Attribute Alert and Expression from the drop-down list. It displays the following details:

Table 1: Setting an Attributes Alert

FieldsDescription
Time IntervalTime taken to evaluate the expression for checking the alert condition. This must be specified in seconds.
Evaluating ExpressionThis specifies criteria for the alert. For example, the evaluating expression may be: (queue_size)/(maximum_queue_size) for a JMS Queue MBean.
LevelThis indicates the importance of an alert and is based on the evaluating expression. For example, (queue_size)/(maximum_queue_size) > 0.5 may be set as Attention; (queue_size)/(maximum_queue_size) > 0.6 may be set as Warning; and (queue_size)/(maximum_queue_size) > 0.7 may be set as Severe.
Issue AlertYou can choose to issue an alert when the value of the expression exceeds or falls short of the defined levels.

How do I add Expression-Based Attribute Alerts?

To add an expression-based attribute alert, supply the following details after selecting Valuer class from the drop-down list:

Table 2: Details to be provided for an attribute alert page

FieldsDescription
Notification TypeSpecify the MBean notification type. The value of this field should be the result returned by the getType() method of javax.management.Notification emitted by the MBeans, that you are is listening to. For example, the j2ee.state.running notification is emitted by the Application MBean when an application starts successfully and is captured by the Application State Changed Alert which issues the alert.
LevelThis indicates the importance of an alert. The level can be defined as Critical, Serious, Warning, or Attention.

Click Save to save the added alert.


© Pramati Technologies 2007 Runs on Pramati Server | Feedback | Legal