The alerts.xml
file is in <
install directory>\conf
. The default configuration allows certain events in the high, warning and error categories to publish to the user interface. You can edit the file to send the same events by email. This file is only for publishing events for Activator.
The default configuration of alerts.xml
calls for publishing some but not all of the predefined events cataloged in Event tables. The default configuration reports events in the following general categories:
From an XML editor, you can edit the file to extend reporting to other categories of events.
Use this procedure to configure alerts.xml
to have Activator send events via email to any recipients. This procedure takes advantage of default settings and requires only minimal changes to alerts.xml
to deliver events by email.
alerts.xml
uses this as the “from” address for emailed events.alerts.xml
uses the SMTP delivery address for this exchange as the “from” address for emailed events.alerts.xml
and keep it as a backup.alerts.xml
for editing. alerts.xml
file.
<Communities> <!-- Uncomment and configure <Community id="PC1"> <ActionParameters> <Parameter name="AlertEmailAddresses" value="mail@domain.com"/> </ActionParameters> </Community> --> <!-- Used whenever there is an event for which there is no community routing ID or there is no configuration for the community ID for which the event was generated. --> <!-- Uncomment to enable <Community id="default"> <ActionParameters> <Parameter name="FromEmailAddress" value="mail@domain.com"/> <Parameter name="AlertEmailAddresses" value="mail@domain.com"/> </ActionParameters> </Community> --> </Communities> |
name1@domain.com
, name2@domain.com
.name1@domain.com
,name2@domain.com
.alerts.xml
.alerts.xml
is triggered, email messages about the event are delivered to the specified “to” addresses.You can edit the alerts.xml
file to alter the events that are published to the database or delivered by email. You must understand XML to change this file. The following describes some of the key elements in the file.
AlertDefinition.Name
Event.EventType
Event.EventLevel
Event.ExtendedEventContent
Message.SenderRoutingId
Message.ReceiverRoutingId
Message.BusinessProtocolType
Message.BusinessProtocolVersion
The following metadata are available to all events in alerts.xml
.
Metadata |
Description |
AlertDefinition.Name |
Name of the alert definition |
Event.Name |
Name of event |
Event.EventType |
Type of event (usually same as Event.Name) |
Event.EventLevel |
Level of event (high, warning, error) |
Event.Timestamp |
Time event was triggered. |
Event.ExtendedEventContent |
Extra information that may be with the event |
Event.NumberOfOccurances |
Number of times the event has been published |
The following metadata are available to events at the Messaging level (see Messaging) in the default configuration of alerts.xml
. All of these fields names are included in generated email messages. Fields without data display as blank in email messages.