cancel
Showing results for 
Search instead for 
Did you mean: 

Alert configuration not working_neither email nor Alert Inbox

former_member323756
Participant
0 Kudos

Hello All,

For a particular interface we needed to create email alerts(for Fixed Recipients) for all errors(Failures) captured in PI.

I used following steps to configure the same:

1. Alert Category creation in Tcode: ALRTCATDEF

2. Configuring Fixed Recipients in ALRTCATDEF

                    Recipient User-ids with email ids maintained in SU01.

3.Mail server connection in T code SCOT was already set.

4.Created Alert category tested by executing the report 'RSALERTTEST'.

   -An structured but unfilled details email is sent to the users (maintained in Fixed Recipient) in their email id as well as in Alert Inbox in RWB confirming the correction of configurations done so far.

5.Creating Alert Rules in Runtime WorkBench (RWB) using Alert Configuration.

   -We can find the Alert Category created in ALRTCATDEF.

   -For This Alert category, create rules for alert mails for a particular interface by specifying the respective sender and receiver parameters

As per my understanding , this completes the alert configuration . Any error in End to end scenario should automatically trigger a mail to the recipient.

But no mail triggered for two tested cases:

-Mapping exception in SXMB_MONI

-Target service not available HTTP 404 error.

Kindly provide few points about what could be the possible reason. Have I missed any configuration step?

Accepted Solutions (1)

Accepted Solutions (1)

former_member323756
Participant
0 Kudos

Hello All,

The issue got resolved finally. We had to maintain the profile parameter rdisp/autoabaptime with value 300  in T code RZ11 (Note:1888038) .

This action resolved the "Group SPACE not found" issue hence correcting the RFC destination CentralMonitoringServer-XIAlerts.

Now mapping error alerts are triggering to both recipient mails and alert inbox in RWB.

Regards,

Shikha

Answers (8)

Answers (8)

yeeloon-khoo
Explorer
0 Kudos

Hi Shika,

1) Please check if SM59, ABAP Connection "CentralMonitoringServer-XIAlerts" is created or not? automatically created? Is it using runtime workbench system user: PIRWB<SID>?

This is needed for integration engine "pass" the error to alerting server.

2) At Tcode SE38, run program SXMSALERT_LOGREADER, see if any log is recorded or not?

If alert is triggering and running, either alert rule found/not found, surpress/not surpress, the log will be shown.

reference:
Alert Configuration - Process Integration Monitoring - SAP Library

Regards,

Yee Loon

former_member323756
Participant
0 Kudos

Hello,

1.)Thanks for mentioning this. I am already trying to rectify a situation here.

RFC destination CentralMonitoringServer-XIAlerts is created- with load balancing enabled.

Yes,Its using the mentioned Runtime Workbench user : PIRWB<SID>

But when tested, it fails with error:-

"Group SPACE not found"

I checked in SMLG Tcode for the Logon Group:SPACE and everything seems fine to me.

Any clue what can we check specifically?

2.) I executed program SXMSALERT_LOGREADER, here also we do find the error logs which indicate to The RFC connection issue.

"! Communication Failure:Error when opening an RFC connection (LB:Hostname or service of the message server unknown#DEST=XIalrt#MSHOST=10.6) "

Regards,

Shikha

Former Member
0 Kudos

Hi Shikha,

In the RFC destination configuration,  you have to give app server group at the Group field.

Ask basis if you don't know app server group.

Regards,

Santhi

former_member323756
Participant
0 Kudos

Hello Santhi,

The Logon Group is already filled with Value SPACE which is a group maintained in SMLG Tcode.

Do you mean the same or is there any other group you are referring to?

Regards,

Shikha

Former Member
0 Kudos

Hi Shikha,

I mean the same  Group. I think, the status of the Group should be active (Green) in SMLG. Is the RFC destination working?

Can you please post the screen shot how you given and the actual error?

Regards,

Santhi

former_member323756
Participant
0 Kudos

Hello,

User PIRWBUSER

Language:EN

In SMLG Tcode: The Group is in Green status.

Anything else you would like me to check? Please suggest.


Regards,

Shikha

Former Member
Former Member
0 Kudos

Hello Shikha,

The ALRTCATDEF configurations will not change, its just that the error will be recorded in the trace report. Please let us know when you are able to capture it.


Thanks,

Atul

former_member323756
Participant
0 Kudos

Hello,

Which trace report are you referring to?

I checked report RSALERTDISP but it does not capture any error, just like alert inbox in RWB and the email id of fixed recipient.

Only the alerts tested using report RSALERTTEST are captured there, not the genuine errors.

Where else can we check the logs or traces?

Regards,

Shikha

pvishnuvardan_reddy
Active Contributor
0 Kudos

Hi Shikha,

Can you cross check the below things:

Go to sxmb_adm->integration engine configuration then  Category : "Monitor"

Parameter : ALERTING_TARGET value : 0

( Use 0 for Alt: Alert Management Server AND

  1 for New: Component-Based Alerting)

Try this and let me know if you still facing the issue.

Regards

Vishnu

pvishnuvardan_reddy
Active Contributor
0 Kudos

Hi Shikha,

I forgot to mention another parameter. Please cross check the below parameter also.

set ALERTING_IS_ACTIVE current value to 1.

Regards

Vishnu

former_member323756
Participant
0 Kudos

Hello Vishnu,

ALERTING_TARGET=0 and

ALERTING_IS_ACTIVE=1

are both correctly maintained.

Regards,

Shikha

pvishnuvardan_reddy
Active Contributor
0 Kudos

Hi Shikha,

Can you please let us know whether the alert configuration is working for other interfaces or not.

Regards

Vishnu

former_member323756
Participant
0 Kudos

Hi,

Several alerts are configured but it seems nothing has been completed. No alerts triggering in the system as of now.

Regards,

Shikha

Former Member
0 Kudos

Hi Shika,

Issue resolved or still it is there?

If it is there, could you please share the screenshots of your alert configuration that you have built and logs, Traces etc ...

Regards,

Srikanth Mavuri.

former_member323756
Participant
0 Kudos

Hello,

As I replied to Atul, logging is not configured and I am still facing some issues configuring it.

Do you need configurations In ALRTCATDEF t code as well?

In RWB , Alert configuration:

Please provide your input.

Regards,

Shikha

Former Member
0 Kudos

Please reproduce the issue and attach here the trace taken as per note   913858 - XI Alerting: Troubleshooting, 6) Logs and traces

former_member323756
Participant
0 Kudos

Hi Atul,

Still working on this. Actually logging is also not configured for alerts.

In T code: ALRTCATDEF -> Settings -> Configuration the screen is blank ie no entries.

I have activated the logging using SXMSALERT_LOGCONFIG report and saved the variant. But still ALRTCATDEF configurations do not show any change. I am still trying to configure logging for pi alerts.

Regards,

Shikha

Former Member
0 Kudos

Hi Shika,

Whatever steps that you have folowed those are correct...

Could you please check three constraints:

1. Check whether " node in use " option is enabled or not in ABAP Stack under SCOT T-Code.

2. Check Whether Suppress Alerts Option disabled or not.

3. Is alert ID is generated properly or not after executing the report 'RSALERTTEST'.

Check these conditions and let me know if u need any further information.

former_member323756
Participant
0 Kudos

Hey Srikanth,

Thanks for your input.

Please find below the details you asked for:

1."Node in Use" in T Code: SCOT is checked(enabled)

2."Suppress Alerts" option in RWB->Alert Configuration is unchecked(disabled)

3. Alert ID generated in the mail triggered by report "RSALERTTEST" is of the format

                            ##55507##

Regards,

Shikha Chaudhary

dipen_pandya
Contributor
0 Kudos

Hi,

Refer to this thread

former_member323756
Participant
0 Kudos

Thanks Dipen,

I will explore the set of links given in your tagged thread and will update this post if I find any lead.

Regards,

Shikha

pvishnuvardan_reddy
Active Contributor
0 Kudos

Hi Shikha,

Alert category configuration would be good since you have tested through report.

I think some issue might be there in RWB Alert Configuration.

In Alert configuration, can you check whether you made the Alert rule as ACTIVE or not.

Also, check in Where did the error occur section, whether you have selected the right ones or not etc.

Regards

Vishnu

former_member323756
Participant
0 Kudos

Hello Vishnu,

Alert Category configuration seems to be fine to me as well.

In RWB, the Alert Rules section shows 'X' in Rule Active column.

Also Alert Rule definition section, 'Rule active' is checked.

In 'Where did the error occur' section I have selected 'No Restrictions' as I wanted to configure alerts for all possible errors. I hope that should be fine. Kindly provide your valuable input.

Regards,

Shikha

pvishnuvardan_reddy
Active Contributor
0 Kudos

Hi Shikha,

I am not sure where exactly the issue lies.

Can you check whether the alert configured for any other interface is working or not.

If it works, then can you cross check for any difference between the working interface and this interface.

Regards

Vishnu

former_member323756
Participant
0 Kudos

Vishnu,

I will have to check the other configured  alert categories for errors, though I believe the configuration may be incomplete. Still I will check the same and update.

Regards,

Shikha Chaudhary

Former Member
0 Kudos

Hello Shikha ,

While creating the alert rule in RWB have you checked suppress alerts option?

If yes , then go to  Alert Inbox in RWB and clear/complete any previous alerts that you have triggered and then try again.

Thanks

former_member323756
Participant
0 Kudos

Hi Gaurav,

No, I haven't checked "Suppress Multiple Alerts of this Rule". Do we have to? We do not have a single alert triggering..then why should we simply try to suppress multiple.

Please clarify.

Regards,

Shikha