Opened 5 years ago

Closed 21 months ago

#13292 closed enhancement (wontfix)

Script for sending relay email notifications

Reported by: DerTorSteher Owned by: atagar
Priority: Low Milestone:
Component: Archived/Stem Version:
Severity: Minor Keywords: website
Cc: cc@… Actual Points:
Parent ID: Points:
Reviewer: Sponsor:


In the last days I thought about a possibility to send mail notifications if a (maybe configurable) loglevel is firing.
Mail_Notification_Level = error (written in the config)
then ARM should send this message via email to the given address (written in config too.

This would enhance the ability to monitor your relay and to be up-to-date with every error that occured.

Child Tickets

Change History (8)

comment:1 Changed 5 years ago by atagar

Component: armStem

Hi DerTorSteher. This is an interesting idea but sounds like scope creep for arm. Also, how would arm send the email? Prompt the user for an SMTP server and credentials? Shell out to a local mail daemon?

Doing what you suggest wouldn't be hard as its own standalone script. Maybe I'll bundle a script for this with Stem - I can certainly see folks finding it useful.

comment:2 Changed 5 years ago by DerTorSteher

At first I have to say, that I'm not really familiar with python. I just thought there would be some easy implementation like PHPMail, where you don't need SMTP auth to send a mail.
If there isn't then it is more complicated then I thought because even if you are prompting the user for credentials or letting him write those down in the cfg it will be a security problem.

A script sounds good too. It doesn't has to be complicated. Maybe I should go and learn some python so that I can try to write a script myself and contribute it.

comment:3 Changed 5 years ago by atagar

Keywords: website added
Priority: normalminor

comment:4 Changed 5 years ago by atagar

Summary: mail notification on warning/errorScript for sending relay email notifications

comment:5 Changed 2 years ago by ewong

Cc: cc@… added
Severity: Blocker

comment:6 Changed 2 years ago by ewong

Severity: BlockerNormal

comment:7 Changed 2 years ago by ewong

Severity: NormalMinor

comment:8 Changed 21 months ago by atagar

Resolution: wontfix
Status: newclosed

Recently I wrote a relay health check daemon that emails me if my relay goes down. Nyx won't do email any time soon but if you'd like a notification daemon I'd suggest giving this a try...

Note: See TracTickets for help on using tickets.