Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Alert email mentions backlog even if no backlog was set #1163

Closed
lennartkoopmann opened this issue May 20, 2015 · 3 comments
Closed

Alert email mentions backlog even if no backlog was set #1163

lennartkoopmann opened this issue May 20, 2015 · 3 comments
Assignees
Labels
bug
Milestone

Comments

@lennartkoopmann
Copy link
Member

@lennartkoopmann lennartkoopmann commented May 20, 2015

Alert emails are mentioning a backlog even if no backlog was configured:

Last messages accounting for this alert:
/end of email

You can reproduce this by triggering an alert email with backlog set to 0 in alert condition.

@lennartkoopmann lennartkoopmann added the bug label May 20, 2015
@lennartkoopmann lennartkoopmann modified the milestones: 1.2.0, 1.1.0 May 20, 2015
@joschi
Copy link
Contributor

@joschi joschi commented May 21, 2015

Could you please check the template being used for that alert? The default template should only print this line ("Last message […]") if the backlog contains at least 1 message: https://github.com/Graylog2/graylog2-server/blob/1.1.0-beta.2/graylog2-server/src/main/java/org/graylog2/alerts/FormattedEmailAlertSender.java#L46-52

@lennartkoopmann
Copy link
Member Author

@lennartkoopmann lennartkoopmann commented Jun 1, 2015

Thanks! Will check later today.

@dennisoelkers
Copy link
Member

@dennisoelkers dennisoelkers commented Jun 2, 2015

Fixed in fdcd77a.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
4 participants