cancel
Showing results for 
Search instead for 
Did you mean: 

Alert Configuration in PI 7.31 - Single Stack

Former Member
0 Kudos

Hi All

I have done the alert configuration in PI 7.31 - Single Stack as per michals-pi-tips, but still I am getting a strange error in the alerts.

I guess I have done something wrong in the configuration and not able to figure it out, so can somebody please help me.

Example:

For example, I have Interface A, Interface B, Interface C, Interface D and consumer(s) for each interface is only one "Alert-to-Mail"

and have done the config as per michal.

But the problem is, suppose interface A is failing and the subject of the alert is different but the body of the alert is related to interface A (details of interface - but subject has other interface details )

Here are the different alert mails received for same interface A with different subject containing same message in the body,

I guess somewhere I have done wrong and not able to figure it out, please help

From:
Sent:

To:

Subject: [HIGH]1 message failed for "Interface A" on "XXXXXX" by scenario "XXXXXXXXXXXXXX"

[HIGH]1 message failed for "Interface A" on "XXXXXX" by scenario "XXXXXXXXXXXXXX"
"AdapterType": "Interface A details",
"Component": " Interface A details ",
"ErrCat": " Interface A details ",
"ErrCode": " Interface A details R",
"ErrLabel": " Interface A details ",
"ErrText": Interface A details ",
"FromParty": "",
"FromService": " Interface A details ",
"Interface": " Interface A details ",
"MonitoringUrl": " Interface A details ",
"MsgId": "632b3083-8aa0-11e4-8be4-0000002f9126", (related to Interface A details)
"Namespace": " Interface A details ",
"RuleId": "c1159c4f06b934008befcbd94080e802",
(related to Interface A details)
"ScenarioId": " Interface A details ",
"Severity": "HIGH",
"Timestamp": "2014-12-23T12:52:02Z",
"ToParty": "",
"ToService": " Interface A details "
}


Mail 2

From:
Sent:

To:

Subject: [HIGH]1 message failed for "Interface A" on "XXXXXX" by scenario "XXXXXXXXXXXXXX"

[HIGH]1 message failed for "Interface A" on "XXXXXX" by scenario "XXXXXXXXXXXXXX"
"AdapterType": "Interface A details",
"Component": " Interface A details ",
"ErrCat": " Interface A details ",
"ErrCode": " Interface A details R",
"ErrLabel": " Interface A details ",
"ErrText": Interface A details ",
"FromParty": "",
"FromService": " Interface A details ",
"Interface": " Interface A details ",
"MonitoringUrl": " Interface A details ",
"MsgId": "632b3083-8aa0-11e4-8be4-0000002f9126", (related to Interface A details)
"Namespace": " Interface A details ",
"RuleId": "c1159c4f06b934008befcbd94080e802",
(related to Interface A details)
"ScenarioId": " Interface A details ",
"Severity": "HIGH",
"Timestamp": "2014-12-23T12:52:02Z",
"ToParty": "",
"ToService": " Interface A details "
}


Alert Mail 2


From:
Sent:

To:

Subject:
[HIGH]1 message failed for "Interface B" on "XXXXXX" by scenario "XXXXXXXXXXXXXX"

[HIGH]1 message failed for "Interface B" on "XXXXXX" by scenario "XXXXXXXXXXXXXX"
"AdapterType": "Interface A details",
"Component": " Interface A details ",
"ErrCat": " Interface A details ",
"ErrCode": " Interface A details R",
"ErrLabel": " Interface A details ",
"ErrText": Interface A details ",
"FromParty": "",
"FromService": " Interface A details ",
"Interface": " Interface A details ",
"MonitoringUrl": " Interface A details ",
"MsgId": "632b3083-8aa0-11e4-8be4-0000002f9126", (related to Interface A details)
"Namespace": " Interface A details ",
"RuleId": "c1159c4f06b934008befcbd94080e802",
(related to Interface B details)
"ScenarioId": " Interface A details ",
"Severity": "HIGH",
"Timestamp": "2014-12-23T12:52:02Z",
"ToParty": "",
"ToService": " Interface A details "
}

Alert Mail 3


From:
Sent:

To:

Subject:
[HIGH]1 message failed for "Interface C" on "XXXXXX" by scenario "XXXXXXXXXXXXXX"

[HIGH]1 message failed for "Interface C" on "XXXXXX" by scenario "XXXXXXXXXXXXXX"
"AdapterType": "Interface A details",
"Component": " Interface A details ",
"ErrCat": " Interface A details ",
"ErrCode": " Interface A details R",
"ErrLabel": " Interface A details ",
"ErrText": Interface A details ",
"FromParty": "",
"FromService": " Interface A details ",
"Interface": " Interface A details ",
"MonitoringUrl": " Interface A details ",
"MsgId": "632b3083-8aa0-11e4-8be4-0000002f9126", (related to Interface A details)
"Namespace": " Interface A details ",
"RuleId": "c1159c4f06b934008befcbd94080e802",
(related to Interface C details)
"ScenarioId": " Interface A details ",
"Severity": "HIGH",
"Timestamp": "2014-12-23T12:52:02Z",
"ToParty": "",
"ToService": " Interface A details "
}

Alert Mail 4


From:
Sent:

To:

Subject:
[HIGH]1 message failed for "Interface D" on "XXXXXX" by scenario "XXXXXXXXXXXXXX"

[HIGH]1 message failed for "Interface D" on "XXXXXX" by scenario "XXXXXXXXXXXXXX"
"AdapterType": "Interface A details",
"Component": " Interface A details ",
"ErrCat": " Interface A details ",
"ErrCode": " Interface A details R",
"ErrLabel": " Interface A details ",
"ErrText": Interface A details ",
"FromParty": "",
"FromService": " Interface A details ",
"Interface": " Interface A details ",
"MonitoringUrl": " Interface A details ",
"MsgId": "632b3083-8aa0-11e4-8be4-0000002f9126", (related to Interface A details)
"Namespace": " Interface A details ",
"RuleId": "c1159c4f06b934008befcbd94080e802",
(related to Interface D details)
"ScenarioId": " Interface A details ",
"Severity": "HIGH",
"Timestamp": "2014-12-23T12:52:02Z",
"ToParty": "",
"ToService": " Interface A details "
}


Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi James,

I suppose you are using a custom alert rule with multiple assigned configuration objects. Try using the 'DEFAULT ALERTRULE' for all scenarios and see if your issue is resolved.

Further if you could provide more information on the ICo you've created for these interfaces, it'd be helpful.

Regards

Bibek

Former Member
0 Kudos

Hi Bibek,

Thank you for your response,

For your information

1. Different Alert Rules set in ID for different interfaces

2. Consumer is same for all the alert rules (Alert-TO-Mail)

3. One AlerConsumerJob is the job defined for all the rules and has one PIAlertConsumer as a task for AlerConsumerJob

4. suppress is set to false

let me know what info do you need on ICO, I have created different ICOs for all differnt interfaces but has same Business Component, and channels are different for different interfaces

Former Member
0 Kudos

Hi James,

Thanks for the info. I previously assumed that you've multiple receiver interfaces for a single sender.

Anyways if you've created different Alert Rules for each of these interfaces then you should add only the corresponding ICo to the Alert Rule.(E.g. ICo 1 only for Alert Rule 1 and so on)

Refer screenshot.

Hope this helps. All configuration you've done seems alright otherwise.

Regards

Bibek

Former Member
0 Kudos

Hi Bibek

Thanks for the info

All the alert rules have only ALET-TO-MAIL as common consumer and payload enabled as YES

Former Member
0 Kudos

Try with registering more consumers and use it for different Interfaces

Thanks

Ram

Former Member
0 Kudos

Hi James,

Just keep the ICo in Assigned Configuration Objects tab of Alert Rule and remove all else like Business System, Interfaces etc. Refer to te sreenshot I've attached previously.

Please try this and reply.

Regards

Bibek

Answers (0)