on 01-03-2014 4:25 PM
Experts,
I have created an Alert rule in SAP PI 7.31 single stack installation in my integration directory.
Have referenced the below guide from Michal:http://scn.sap.com/community/pi-and-soa-middleware/blog/2012/03/25/michals-pi-tips-component-based-m...
Created alert rules in ID and added configuration objects, message status and local consumer to it.
I have scheduled the Alert consumer job to run every hour, also attached the local consumer ALERT-TO-MAIL to this job.
Added the respective mail id's for this job as part of the set up.
Under Java system properties->Services->Mail client, the same set of properties mentioned in the blog were maintained.
Even after all these settings, still I dont see any alerts being reported, inspite of rules getting triggered.
Did I miss anything else, and is there any need for me set up the central monitoring server in exchage profile?
Appreciate your help and thanks in advance!!
Regards,
Shashi
Hey there,
I am having the same issue. Do you have any solution yet?
EDIT: How do I check if any alerts have been thrown using wsnavigator?
Greetings,
Moritz
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I know it may sound silly but i hope the alert rule created in ID has enabled
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hareesh,
Yes the alert rule is enabled with payload in the email in ID.
I have rectified the previous job log error with -1 to 0.Even after this I am not able to get the consumer job pick alerts for my failed messages.
I see in the job log, that no alerts were consumed and aggregates.
Any help on this please. Thanks!!
SHashi
Hello,
First of all using AlertRetrieveAPI (wsnavigator) check whether ur alerts are getting generated or not?
Secondly, check the AlertConsumerJob logs.
Thanks
Amit Srivastava
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks for your response Amit.
I see my WSNAVIGATOR disabled and cannot test anything presently. Might be access/authorization issue.
Related to job logs of my consumer, I see the return code as -1, and log as below:
com.sap.engine.services.jndi.persistent.exceptions720.NamenotfoundException: Path to object does not exist. First missing component is [jms], the whole lookup name is [jmsqueues/alertingVP/jms/queue/xi/monitoring/alert/ALERT-TO-MAIL].
Let me know if anything else required. Thanks!!
Shashi
You have created a local alert consumer on AS Java. You go to SAP NetWeaver Administrator > Operations > Jobs > Java Scheduler > Jobs and select a particular job. When you select theLog tab in the Job Details area, you see a message with Info severity that contains the following details:
com.sap.engine.services.jndi.persistent.exceptions720.NameNotFoundException:
|
This is a standard behavior of the system and not an issue with the local alert consumer.
With component-based message alerting, the system creates an alert when it detects an issue with a message. By default, the system creates a JMS queue when it detects a message issue for a first time. Before that there is no JMS queue for the local alert consumer. In case the system has not created this JMS queue yet, running a job checking for queue that do not exist would normally lead to the NameNotFoundException shown above.
Source : (PI) NameNotFoundException for local alert consumer - Technology Troubleshooting Guide - SCN Wiki
So that is not an issue. Are there any failure messages generated for this Alert Consumer?
Can you share screenshot of the failure message n your alert rule?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Karthik,
Have checked the document prior this discussion. I do not see central monitoring related services in my nwa.
The above blog asks to import the central monitoring related services under "ALL Config" services.
Let me know if these are mandatory to have alerting active. If these are mandatory, then I dont see them mentioned even a word in Michal's blog.
Thank you!!
Shashi
User | Count |
---|---|
81 | |
10 | |
10 | |
9 | |
7 | |
6 | |
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.