You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@eagle.apache.org by pkuwm <gi...@git.apache.org> on 2016/08/19 05:41:36 UTC
[GitHub] incubator-eagle pull request #365: Test email alert publisher: configuration...
GitHub user pkuwm opened a pull request:
https://github.com/apache/incubator-eagle/pull/365
Test email alert publisher: configuration and connecting authentication.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/pkuwm/incubator-eagle EAGLE-483
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/incubator-eagle/pull/365.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #365
----
commit 0e016851e0524f0d9c48c331cee8f96a594ea44a
Author: pkuwm <ih...@gmail.com>
Date: 2016-08-19T05:38:58Z
Test email alert publisher: configuration and connecting authentication.
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---
[GitHub] incubator-eagle pull request #365: Test email alert publisher: configuration...
Posted by pkuwm <gi...@git.apache.org>.
Github user pkuwm commented on a diff in the pull request:
https://github.com/apache/incubator-eagle/pull/365#discussion_r75637810
--- Diff: eagle-core/eagle-alert-parent/eagle-alert/alert-engine/src/test/resources/publishments1.json ---
@@ -1,20 +1,25 @@
[
-{
- "name":"test-stream-output",
- "type":"org.apache.eagle.alert.engine.publisher.impl.AlertEmailPublisher",
- "policyIds": [
- "perfmon_cpu_host_check", "perfmon_cpu_pool_check"
- ],
- "properties": {
- "subject":"UMP Test Alert",
- "template":"",
- "sender": "sender@corp.com",
- "recipients": "services@corp.com",
- "smtp.server":"sender.mailhost.com",
- "connection": "plaintext",
- "smtp.port": "25"
- },
- "dedupIntervalMin" : "PT1M",
- "serializer" : "org.apache.eagle.alert.engine.publisher.impl.StringEventSerializer"
-}
+ {
+ "name": "test-stream-output",
+ "type": "org.apache.eagle.alert.engine.publisher.impl.AlertEmailPublisher",
+ "policyIds": [
+ "perfmon_cpu_host_check",
+ "perfmon_cpu_pool_check"
+ ],
+ "properties": {
+ "subject": "UMP Test Alert",
+ "template": "",
+ "sender": "sender@corp.com",
+ "recipients": "services@corp.com",
+ "mail.smtp.host": "smtp.office365.com",
--- End diff --
@haoch Removed. Thanks.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---
[GitHub] incubator-eagle issue #365: Test email alert publisher: configuration and co...
Posted by DadanielZ <gi...@git.apache.org>.
Github user DadanielZ commented on the issue:
https://github.com/apache/incubator-eagle/pull/365
merged, please close it.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---
[GitHub] incubator-eagle pull request #365: Test email alert publisher: configuration...
Posted by pkuwm <gi...@git.apache.org>.
Github user pkuwm closed the pull request at:
https://github.com/apache/incubator-eagle/pull/365
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---
[GitHub] incubator-eagle pull request #365: Test email alert publisher: configuration...
Posted by haoch <gi...@git.apache.org>.
Github user haoch commented on a diff in the pull request:
https://github.com/apache/incubator-eagle/pull/365#discussion_r75456181
--- Diff: eagle-core/eagle-alert-parent/eagle-alert/alert-engine/src/test/resources/publishments1.json ---
@@ -1,20 +1,25 @@
[
-{
- "name":"test-stream-output",
- "type":"org.apache.eagle.alert.engine.publisher.impl.AlertEmailPublisher",
- "policyIds": [
- "perfmon_cpu_host_check", "perfmon_cpu_pool_check"
- ],
- "properties": {
- "subject":"UMP Test Alert",
- "template":"",
- "sender": "sender@corp.com",
- "recipients": "services@corp.com",
- "smtp.server":"sender.mailhost.com",
- "connection": "plaintext",
- "smtp.port": "25"
- },
- "dedupIntervalMin" : "PT1M",
- "serializer" : "org.apache.eagle.alert.engine.publisher.impl.StringEventSerializer"
-}
+ {
+ "name": "test-stream-output",
+ "type": "org.apache.eagle.alert.engine.publisher.impl.AlertEmailPublisher",
+ "policyIds": [
+ "perfmon_cpu_host_check",
+ "perfmon_cpu_pool_check"
+ ],
+ "properties": {
+ "subject": "UMP Test Alert",
+ "template": "",
+ "sender": "sender@corp.com",
+ "recipients": "services@corp.com",
+ "mail.smtp.host": "smtp.office365.com",
--- End diff --
Avoid sensitive information.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---