[prev in list] [next in list] [prev in thread] [next in thread] 

List:       openbsd-misc
Subject:    Re: Use daily(8), weekly(8), or monthly(8) but read less mail
From:       Puru Shartha <purushartha () gmx ! com>
Date:       2022-12-27 14:38:54
Message-ID: trinity-3495d274-3852-473a-82f1-17fa6ece4569-1672151934859 () 3c-app-mailcom-bs06
[Download RAW message or body]

Hallo Ibsen,

> I want to use the altroot facility, but I don't want to read the mails
> about the the backup succeeding and nothing else failing.
> 
> Reading the scripts and the manual pages, I see no support for sending
> the daily, weekly, or monthly mails only on failure. I also see
> no support for running ROOTBACKUP outside of the daily script.
> Of course I could change the scripts, but I would rather not.
> Also, once I receive the mail, I don't see an easy way to classify
> it as having a failure or not.
> 
> What do you do if you want to use the altroot facility (or some
> other part of the periodic system maintenance scripts) and want
> to read reports only when something failed?

Based on my limited understanding, the ask is for an email to be sent
only when there is a failure.

Failures could be in multiple places, including the very mechanism of 
the mail being sent.

An email in the inbox represents the entire chain of maintenance having  
executed successfully.

Lack of an email in the inbox may seem to be a successful execution, but
may not always be the case.

Given a multitude of machines, it is possible that reading an email a
day per machine may be an onerous task.

However, on the balance, it may still seem to be a better tradeoff than
believing everything to be ok, when it is not.

Just my two øres.
 
> With great humility,
> 
> Ibsen S. Ripsbusker
> 
> 

Dhanyavaad,
Dharma Artha Kama Moksha.

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic