cancel
Showing results for 
Search instead for 
Did you mean: 

PI 7.31 Component-Based Message Alerting, problem with Consumer

0 Kudos

I have a problem setting up component-based message alerting (CBMA) on a 7.31 SP4 system.

Everything seems to be ok, except for the CONSUMER field. Here's what's been done:

- new task for job AlertConsumerJob has been created. This task references consumer VENDORALERTCONSUMER

- consumer VENDORALERTCONSUMER is connected to message alert configuration with name VENDORALERT

however, when job runs it fails with errorcode -1 saying :

com.sap.engine.services.jndi.persistent.exceptions720.NameNotFoundException: Object not found in lookup of VENDORALERTCONSUMER

I have also tried to use the , but this gives the errror: Consumer queue is not available: VENDORALERTCONSUMER

Must the consumer ID be created somewhere?

Accepted Solutions (0)

Answers (2)

Answers (2)

former_member184876
Active Participant
0 Kudos

Hi Hans,

Are you able to use a consumer other than ALERT-TO-MAIL.

I have similar requirement.

Could you please suggest how you resolved the error.

Thanks in advance,

Venu

JaySchwendemann
Active Contributor
0 Kudos

See 's answer. You may stick to "ALERT-TO-MAIL" for pre-configured mail alerts but with the limitation that alerts can only be sent to one email. Or you may register other (there may be more than one per alert rule) consumers.

If you happen to run Solman 7.1 SP2 or higher you could have solman as a consumer which then may leverage its own alerting via rules and mails and the like. If not, you may use API to consume alerts, for example using Nagios or any other alerting system that can consume a webservice to trigger alerts.

Cheers

Jens

Former Member
0 Kudos

Hi Hans,

I am having the same issue.

Kindly post the solution if you found any.

Thanks,

Divyesh Vasani

Former Member
0 Kudos

Hello,

I also tried this to provide some other alert consumer other than ALERT-TO-MAIL.

Please check this link:

http://help.sap.com/saphelp_nw73ehp1/helpdata/en/8e/61764230824a1497566cd26f842d9f/content.htm

it says in Prerequisites:

Make sure the alert rules for which you need to configure e-mail notification meet all of the following requirements:

  •   The alert consumer is ALERT-TO-MAIL, and all other rule parameters are configured as needed.
  •   The alert rule is enabled and activated.

So I think if you need any other alert consumer, you need to consume APIs as per this link:

http://help.sap.com/saphelp_nw73ehp1/helpdata/en/03/cdec71261a4f8c9b9349c625911e91/content.htm?frame...

Also check this excellent blog:

http://scn.sap.com/community/pi-and-soa-middleware/blog/2012/05/05/michals-pi-tips-component-based-m...

Thanks,

Beena.