Skip to Content
Author's profile photo Fei Wang

Setup alerts specific to one interface in PI 7.4 Java stack

Recently we have a requirement to setup alerts specific to the interface.

There is standard consumer ALERT-TO-MAIL can be used for Alert rule for all interfaces.

What we need to do is to register a new consumer for the Specfic Alert rule from web service navigator.

Step 1.

Create new Alert Rule in Integration Directory, sample Test_Alert. assign Specific configuration Objects here. save and active.

No need to Insert consumer in Extended tab, casue this will be done in Step2.

未命名.jpg

Step 2. Register Consumer, we will use web service navigator to do this

未命名.jpg

You will find Register Consumer operation from Service Interface “AlertRuleIn”, chose this and click Next

未命名.jpg

Chose RegisterConsumer operation and click Next

未命名.jpg

Here we need to type parameters:

AlertRuleID:  the one we create from Step 1 in ID

ConsumerName: type any name, here I use test_to_mail.

EnableAlertRules: True

Continue by click Next Button

未命名.jpg

It will ask user account and Password. the user must have role SAP_XI_ALERTCONFIGURATOR_J2EE

Message shows RegisterConsumer excuted successfully

未命名.jpg

After complete this, you will see your Consumer been assigned to Alert rule

未命名.jpg

Step 3, Schedule Job by NWA–>Operations–>Jobs–>Jave scheduler

Reference blog from Step 3

Michal’s PI tips: Component-Based Message Alerting

Assigned Tags

      8 Comments
      You must be Logged on to comment or reply to a post.
      Author's profile photo Arun Kumar Gopinathan
      Arun Kumar Gopinathan

      Thank you for sharing this information.

      regards,

      Arun

      Author's profile photo Former Member
      Former Member

      Thanks, very useful. I guess this is used mainly for communication channel monitoring, right? 🙂

      Author's profile photo Azhar Shaikh
      Azhar Shaikh

      Hi,

      Thanks for sharing.

      AFAIK - if you enter / key in some Consumer name in ID in Alert Rule in Extended Tab, upon activation it will auto create the Consumer for you in backend.

      Regards,

      Azhar

      Author's profile photo Fei Wang
      Fei Wang
      Blog Post Author

      Yes, you are right, this way is much easier.

      Thank you.

      Author's profile photo Former Member
      Former Member

      How can I Setup alerts for specific to one interface in PI. Is this possible in 7.1?

      Author's profile photo Former Member
      Former Member

      Hi Wang,

      It not possible in PI 7.1? I am not seeing these option in 7.1

      Can you please confirm.

      Thanks,

      Uma Shanker

      Author's profile photo Former Member
      Former Member

      Hi Fei,

      could you help me?

      When i press next in the next step, send me a pop-up and error:

      Invalid transport binding settingsConnection refused: connect (port 80 to address 127.0.0.1

      when i go to step 4: the three in result is empty

      I hope you can support me

      Best Regards

      Author's profile photo Vivek Jain
      Vivek Jain

      Hi Alejandra,

       

      is your issue resolved? If yes , please let me know how as facing the same issue.

       

      Regards,

      Vivek Jain