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

Add a way to test email alerts easily #7

Closed
alaudet opened this issue Mar 3, 2016 · 5 comments
Closed

Add a way to test email alerts easily #7

alaudet opened this issue Mar 3, 2016 · 5 comments

Comments

@alaudet
Copy link
Owner

alaudet commented Mar 3, 2016

Feature to add: Add an option in raspisump.conf that allows testing to ensure email is in fact sending alerts.

@alaudet
Copy link
Owner Author

alaudet commented Oct 31, 2016

Have not forgotten about this. Just have not had any time to work on it.

@alaudet
Copy link
Owner Author

alaudet commented Feb 23, 2017

Going to close this for now. I just have not had time to work on anything and will reopen at a later date.

@alaudet alaudet closed this as completed Feb 23, 2017
@alaudet
Copy link
Owner Author

alaudet commented Apr 3, 2019

Heartbeat email will be added in the next release.

@alaudet alaudet reopened this Apr 3, 2019
@alaudet
Copy link
Owner Author

alaudet commented Apr 5, 2019

Working code in devel branch for anyone wanting to test it.

Must add the following to your raspisump.conf at the end of the file in the [email] section.
If these sections are not added to the conf file, the default will be to not run a heartbeat test.

# Set a heartbeat sms or email interval in order to regularly test that your
# notifications are working as intended.
# 0 = No notifications
# 1 = Send notifications
heartbeat = 1

# Set the frequency of the sms/email heartbeat notifications.
# Values are in minutes.  You can enter any amount of minutes you like
# examples below
# hourly = 60
# daily   = 1440
# weekly  = 10080
# Monthly = 43200
heartbeat_interval = 10080

Output of Heartbeat SMS/Email Alert

Raspi-Sump 
Subj: Raspi-Sump Heartbeat Notification
bigpapi - 08:36pm EDT - Raspi-Sump Email Notifications Working.
Next email test in 10080 minutes

@alaudet
Copy link
Owner Author

alaudet commented Apr 5, 2019

Version 1.2 has been released which includes Heartbeat email capability.
Now available on PyPi for installation with pip.

@alaudet alaudet closed this as completed Apr 5, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant