DevPortal

How do I add Event Alerts?


Table of Contents


How do I add Event Alerts?

When you set an alert as an Event Alert, the Event Alert page appears displaying the following details:

Table 1: Setting an Events Alert

FieldsDescription
Notification TypeSpecify the type of result to be returned by the getType() method of javax.management.Notification emitted by the MBeans involved. 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.
LevelDefine the alert severity as Critical, Serious, Warning, or Attention.

What are Canned Alerts?

The EventAlertManager class in Server maintains a list of valid notification types for which Event Alerts can be added. Select the notification type from the drop-down list. At the end of alert creation, the alert framework gives a warning if the specified type of notification is not emitted. Click Save to define the alert.

Table 2: Notification type for an Alert

StreamNotification TypeDescription
AllSTATE_CHANGEDWhen the state of any resource/service is changed. See com.pramati.util.admin.StateManageable for different states.
ResourceMAIL_DELIVERY_FAILUREWhen a mail could not be sent properly.
-AUTHENTICATION_FAILEDWhen the mail server failed to authenticate the username/password.
-MAX_POOL_SIZE_EXCEEDEDWhen the pool size exceeds the datasource maximum pool size.
-FATAL_CONNECTION_ERRORWhen a fatal error occurred in connection to the Enterprise Information Systems.
JTATX_STARTEDWhen a new transaction is started.
-TX_COMMITTEDWhen a transaction is committed.
-TX_ROLLEDBACK_SYSTEM_EXCEPTIONWhen a transaction is rolledback due to system exception.
-TX_ROLLEDBACK_MARKED_ROLLBACKWhen a transaction is rolledback due to marked (setRollbackOnly) by application.
-TX_ROLLEDBACK_COLLISIONWhen a transaction is rolledback due to collision.
-TX_ROLLEDBACK_TIMEDOUTWhen a transaction is rolledback due to timeout.
ServicesPOOL_ENTITY_CREATEDWhen a new poolable entity is created.
-POOL_ENTITY_DESTROYEDWhen a poolable entity is destroyed.
-POOL_ENTITY_LENTWhen a poolable entity is given (from pool) to application for use.
-POOL_ENTITY_RETURNEDWhen a poolable entity is returned back to the pool.
-POOL_ENTITY_DEMANDEDWhen a thread request for a poolable entity and there is no more free entity.
-POOL_THREAD_WAIT_STARTEDWhen a thread starts the wait for a connection due to unavailability of any free poolable entity in pool.
-POOL_THREAD_WAIT_ENDEDWhen a thread end the wait due to becoming a poolable entity available in pool.
ClusterCLUSTER_NODE_BECOMES_SLSWhen Node has become an SLS.
-CLUSTER_NODE_CONNECTION_BROKENWhen a connection is broken. Should identify how many attempts were made if connection is re-established.
-CLUSTER_NODE_CONNECTION_ESTABLISHEDWhen a connection is established. Should identify how many attempts were made if connection is established.
-CLUSTER_NODE_GOES_DOWNWhen a Node goes down. Could contain information if that was an SLS.
-STATE_CHANGEDWhen a node moves to upstate from bootstate.
-CLUSTER_NODE_STATE_CHANGED-
UtilUNAUTHORIZED_ACCESS_ATTEMPTWhen an unsuccessful attempt is made to access the secure resource.
-POOL_SIZE_CHANGEDWhen the pool size changes.
-TARGET_REACED/TARGET_REACH_OVERWhen the idle thread count reaches target.
-POSITIVE_CHANGEWhen the job queue size changes.
-MAX_POOL_SIZE_REACHEDWhen the pool size changes.
J2EEDEPLOY_TASK_FINISHEDWhen the particular deployment task is finished.
-DEPLOY_TASK_ABORTEDWhen a deployment task is aborted.
-DEPLOY_PROCESS_FINISHEDWhen deployment is finished successfully.
-DEPLOY_PROCESS_ABORTEDWhen deployment is aborted.
-APPLICATION_STARTEDWhen a deployed application is started.
-APPLICATION_STOPPEDWhen a deployed application is stopped.
-J2EE_STATE_RUNNINGWhen an application is running.
-J2EE_STATE_STARTINGWhen an application is starting.
-J2EE_STATE_FAILEDWhen the application start/stop has failed.
-J2EE_STATE_STOPPEDWhen an application has stopped.
-J2EE_STATE_STOPPINGWhen an application is stopping.


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