Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 20 Jun 2007 12:56:46 -0700
From:      "Kurt Buff" <kurt.buff@gmail.com>
To:        "Jo Rhett" <jrhett@svcolo.com>
Cc:        freebsd-stable@freebsd.org
Subject:   Re: how much beer do I need to get this patch applied?
Message-ID:  <a9f4a3860706201256s5c4543d6t93448c9c12cf3439@mail.gmail.com>
In-Reply-To: <44A91A3E-96EA-46F3-ABE4-01C4662B5A5F@svcolo.com>
References:  <E745210E-A5B8-48E0-B6A8-A467F1054BD7@svcolo.com> <20070620151306.GM45993@therub.org> <20070620115023971992.49dc4616@kjsl.com> <20070620164749.GN45993@therub.org> <a9f4a3860706201040u1f7e89eane68a7588cd017b96@mail.gmail.com> <44A91A3E-96EA-46F3-ABE4-01C4662B5A5F@svcolo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 6/20/07, Jo Rhett <jrhett@svcolo.com> wrote:
> On Jun 20, 2007, at 10:40 AM, Kurt Buff wrote:
>
> > On 6/20/07, Dan Rue <drue@therub.org> wrote:
> >> If it's too broken to complain, then the behavior is the same with or
> >> without this patch.
> >
> > Indeed, which is why this patch might not be such a good idea. In this
> > case, absence of evidence is indeed evidence of absence, which is
> > contrary to the general case.
>
> You appear to be completely confused about what this change does.
> All it does is TO ALLOW (not require) the OP to disable the spurious
> and empty output from successful cron jobs.
>
> If I get a message every day saying "No output", how do I know when a
> failure has occurred?  This patch changes nothing about that
> behavior.  Getting no message is equally useless in the situation
> where no output was generated *AND* the result code is positive.

Currently, if you get no message from that box, *something* is broken.

> The more likely is that the OP starts deleting the messages unread
> each day and thus never sees an actual failure report.

Failure of imagination.

> > Perhaps the OP needs a better way of dealing with the notifications
> > than simply turning them off.
>
> How do you suggest dealing with 1200-1800 messages which simply say
> "no output" each day?  The commands were successful, and the
> processes had no output.
>
> 1. In that load level I won't notice one missing, so absence of the e-
> mail is not useful.
>
> 2. In that load level I can't possibly read them all.  So actual
> reports of failure will be overlooked.
>
> 3. Actual errors *will* be reported, and *will be read* if I don't
> have to delete thousands of non-errors.

Perhaps a separate mailbox dedicated to this task, with a script
(grep?) that parses the emails in that mailbox daily looking for
expected messages, noting and deleting them, with unsent messages
noted via an email and messages with unexpected content forwarded as
well?

Kurt



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?a9f4a3860706201256s5c4543d6t93448c9c12cf3439>