on 06-05-2015 11:18 AM
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?
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
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
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Please reproduce the issue and attach here the trace taken as per note 913858 - XI Alerting: Troubleshooting, 6) Logs and traces
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.