mirror of
https://github.com/healthchecks/healthchecks.git
synced 2026-04-25 23:15:49 +03:00
[GH-ISSUE #156] sendalerts not sending notificaions #107
Labels
No labels
bug
bug
bug
feature
good-first-issue
new integration
pull-request
question
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/healthchecks#107
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @mgeorgy on GitHub (Mar 9, 2018).
Original GitHub issue: https://github.com/healthchecks/healthchecks/issues/156
I'm using healthchecks in a development environment and am able to send login emails, however, notification emails are never sent. I'm assuming the notifications flow uses the same configuration so not sure why this isn't working properly.
Configuration:
Expected Behavior:
Actual Behavior:
@cuu508 commented on GitHub (Mar 9, 2018):
You are right,
manage.py sendalertsis using the same email settings as the main app.First thing to check would be the output of
manage.py sendalertscommand to see if it throws any errors:journalctl -f -u sendalerts-task-nameAlso, healthchecks will not send alerts to unverified email addresses -- in the web UI, "Integrations" page you can check if there is "(unverified)" next to the email address.
@cuu508 commented on GitHub (Mar 9, 2018):
PS. the hourly/daily reminders are sent by
manage.py sendreports. If you are looking for the reminders, this command needs to be running as well.@mgeorgy commented on GitHub (Mar 9, 2018):
Thank you. sendreports worked!
Is it ideal to run this as a cronjob?
@cuu508 commented on GitHub (Mar 9, 2018):
Good stuff!
Yes, running it as a cronjob is fine. Or, for consistency, you can run it as a systemd process, same way as
sendalerts. In that case, you would run it with the--loopflag:@mgeorgy commented on GitHub (Mar 9, 2018):
Perfect! Thanks again.