[mythtv-users] Feature request: e-mail notify
tommy at home.tig-grr.com
Mon Mar 1 01:33:32 EST 2004
On Sun, Feb 29, 2004 at 06:58:49PM -0500, Tony Maro wrote:
> I just noticed my mythfilldatabase failed this morning, and I think
> yesterday as well.
> So I got to thinking, what about an admin e-mail notification setting
> that would notify someone upon certain events.
Does mythfilldatabase return an error status code? If it does, you can call
it from a wrapper script. Something like this:
mythfilldatabase > $TMP
if [ $? -ne 0 ]; then
> I would want it to have an SMTP setting because I won't be running
> sendmail or postfix on the box, nor will I be checking e-mail directly
> on it. I'd want it to send outbound mail to my network server (or to
> your ISP's server.)
This can be done with a ~/.forward file or /etc/aliases.
Note you don't need an SMTP server listening on the machine to send mail,
only to receive it.
> mythfilldatabase failed
> HD Space getting low on partition holding recordings directory
> backend crashed
> Someone attempted to bypass the security locks and failed (in other
> words the kids are trying to guess passwords to watch adult shows)
> MySQL server unreachable
You should be able to do all except the security lock notification via other
I used to think I was a child; now I think I am an adult -- not because
I no longer do childish things, but because those I call adults are no
more mature than I am.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 240 bytes
Desc: not available
Url : http://mythtv.org/pipermail/mythtv-users/attachments/20040229/05d9e83e/attachment.pgp
More information about the mythtv-users