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.
Michal's PI tips: Component-Based Message Alerting
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 "
}