Skip to Content
Technical Articles

Alert Configuration made easy

Hi All,

In this blog you will learn about how to configure alerts in NWA

What is an alert?

An alert is a notification that there is a failure/error in system and action needs to be taken to resolve that failure/error.

We can configure alerts through Integration builder as well as SAP NWA.

I observed that creating a common alert rule in Integration builder for all interfaces at once is a tedious process.

That’s why we opted for configuring through NWA.

Alert configuration path in NWA:

Go to SAP NWA->SOA->Monitoring->Message alert Configuration

Here you create new alert rule select all components,all error sources and you can also select all ico’s at once which is not possible if you create alertrule in Integration builder.

You need to add every single ico in ID to do this.

We select consumer as “ALERT-TO-MAIL” so that we can receive alerts to our mail

Below you can find Common Procedure for Alert configuration through NWA as well as integration builder:

Configure java mail client in SAP NWA->configuration->infrastructure->java system properties.

Java mail client configuration:

Go to services tab and search for java mail client

Select properties tab and make sure that mail.from,mail.smtp.host,mail.smtp.password,mail.smtp.user are set.

Set those properties if you have access otherwise reach out to basis team to set those properties

Create task in javascheduler that runs batch jobs periodically generating alert mails

Task creation:

Go to SAP NWA->operations->jobs->Java Scheduler

Go to Tasks,Add new task and select AlertConsumerJob.

Specify mail.from and mail.to.

Check SuppressAlerts ,AggregateAlerts according to your requirement.

Next comes the timeperiod and frequency of job.We usually set frequency to be every 5 minutes.

By default,retention period will be sent to 23 days and you can modify retention period to 7 days.

We can check executed jobs under jobs tab

I hope this information helps you

Regards,

Chaitanya K

 

2 Comments
You must be Logged on to comment or reply to a post.
  • Useful info.

    1. Any idea on whether we can change the subject of the mail template ?

    Currently i am receiving subject as "[External] [LOW] 1 alert for rule XXX_INTERFACES on component xxf.xxx.xxxxdb by scenario |BS_XXX_300|InterfaceName|"

    which is hard to understand for business. So let me know if there any ways to customize the subject of mail.

     

    2. Below 2 lines are getting added by default in mail, which are not in my mail template.

    Root cause: Messaging: General error - General error

    To navigate to the failed messages in the local message monitor, use this link