# WLOC Administration Console Online Help

# Configure notification defaults

Before you begin

Review Configure and manage the Controller.

A notification in WLOC is an action that generates and distributes a message when triggered. For example, you can create a policy that generates an SNMP trap (notification) when a WebLogic Server JDBC data source fails to connect to its underlying database.

You can configure WLOC to generate the following types of notifications when a service operates outside of a specified constraint:

Notification Type | Description
--- | ---
JMS Notification | Send a notification to a Java Message Service (JMS) destination (topic or queue).
JMX Notification | Send a Java Management Extensions (JMX) notification (`javax.management.Notification`).
SMTP Notification | Send a notification to a set of email addresses using the Simple Mail Transfer Protocol (SMTP).
SNMP Notification | Send a notification as a Simple Network Management Protocol (SNMP) trap.

You can configure the default values for each notification type to expedite the creation of policies that generate notifications. For information about defining notification actions, see Define actions.

To configure notification defaults:

1. Access the Controller page in one of the following ways:
   - Click the Controller tab in the WLOC navigation bar.
   - Click the Home tab in the WLOC navigation bar and click Controller under Manage Configuration.
2. Click the Default Notifications tab on the Controller page.
3. Modify the values for each notification type, as required.

   SMTP Notification:

   Field | Description
   --- | ---
   Name | Name of the SMTP notification.
   Description | Description of the SMTP notification. This field is optional.
   To Address | Comma-separated list of email addresses to which the message is sent. For example, `somebody@somecompany.com.`
   From Address | Email address from which the message is sent. For example, `somebody@somecompany.com.`
   SMTP Server | Address of the SMTP server. For example, `smtpserver.somecompany.com.`
   Enabled | Flag that specifies whether SMTP notifications are enabled.

   JMS Notification:

   Field | Description
   --- | ---
   Name | Name of the JMS notification.
   Description | Description of the JMS notification. This field is optional.
   Destination JNDI Name | JNDI name of the JMS destination. For example, `com.bea.adaptive.loc.notification.JMSNotifier.`
   Connection Factory JNDI Name | JNDI name of the JMS connection factory. For example, `QueueConnectionFactory`.
   JNDI Initial Factory | JNDI initial factory. For example, `org.mom4j.jndi.InitialCtxFactory`.
   JNDI Security Prinicipal | User name used for authenticating with the JNDI provider.
   Password | Password used for authenticating with the JNDI provider.
   Enabled | Flag that specifies whether JMS notifcations are enabled.

   JMX Notification:

   Field | Description
   --- | ---
   Name | Name of the JMX notification.
   Description | Description of the JMX notification. This field is optional.
   Enabled | Flag that specifies whether JMX notifications are enabled.

   SNMP Notification:

   Field | Description
   --- | ---
   Name | Name of the SNMP notification.
   Description | Description of the SNMP notification. This field is optional.
   Enabled | Flag that specifies whether SNMP notifications are enabled.

4. Click Save.
   The changes are saved and the following message confirmation is displayed:

       Settings updated successfully