From owner-freebsd-questions@freebsd.org Wed Feb 22 12:18:21 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 01D47CE9807 for ; Wed, 22 Feb 2017 12:18:21 +0000 (UTC) (envelope-from luzar722@gmail.com) Received: from mail-it0-x235.google.com (mail-it0-x235.google.com [IPv6:2607:f8b0:4001:c0b::235]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id BE496797 for ; Wed, 22 Feb 2017 12:18:20 +0000 (UTC) (envelope-from luzar722@gmail.com) Received: by mail-it0-x235.google.com with SMTP id 203so136778210ith.0 for ; Wed, 22 Feb 2017 04:18:20 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-transfer-encoding; bh=F7/3TybcjbRtYE4dyRkDrByHzOs9nrxZpfNj24Btmzw=; b=eOg4biIQ62n27ePytL0D+lnuRxTP8bjFJMNUc/heeyltztOqjlkJB6APjO0t5a92jJ +vQD4LeO91DMcMLsAXeWqwRIR+s0xcdkTX+RMCtVnlMiLIMZ7HYm3xjyTvERO+RSRDAq MWFjZvJRS5N3OjWdv15bm789pITip3B++KAJzB0mUFDbbHcySC7zz2fkbzoDlqPUP1QA C8IHSWlAUI2RHq/Jx73wDoxhxjcHSNUj7okVSxxQFjmmWKbl+uncAsFgK3uLqqXQHS2K wKj5l/Ej2Y7NqL/pTZZGet8VBZQS8DG3izQ5cZDF32jA/o7lUuybVPYR9qR5YDJREW/e vhHg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:message-id:date:from:user-agent:mime-version:to :cc:subject:references:in-reply-to:content-transfer-encoding; bh=F7/3TybcjbRtYE4dyRkDrByHzOs9nrxZpfNj24Btmzw=; b=kzBbRC8JSVFXgX6FxxGlpufYFRiZNpIJG9wTzP7AqXq1U4xU8XD+9RFxBmMpHfo8RG VuVnOResDVZP59LZM3naLRxNlBfIoNRbdlldWyuIaB6pzg04RH7KExKnWYVSANhy0kRv YBiZ4oD/7quvWkJiiWCxMjWgWtHkYKUyziqn8y45Xmmtgx8EwQ0oOeKRd8s/bAoXqOgf aev4uIvVbaD0BFnqFmA7sfMEngAusafuJfyS2XcRzKW5lseXVkFRrcOATluoMRFNXP49 bXQRbLwh9Fm70P+C7c4J75F/PuxZIeeeOdDovUINtI1ug3l5eeiSz8PESrsAttheNzIV 9bkw== X-Gm-Message-State: AMke39lLcFCK9SIEApy7a3gErXO5Bf7JllgC1JMZB36k4HCWMPZM61V0WrwV1/Yi6XIvjQ== X-Received: by 10.36.33.72 with SMTP id e69mr1650129ita.39.1487765900182; Wed, 22 Feb 2017 04:18:20 -0800 (PST) Received: from [10.0.10.3] (cpe-24-165-207-226.neo.res.rr.com. [24.165.207.226]) by smtp.googlemail.com with ESMTPSA id i189sm484530ita.23.2017.02.22.04.18.19 (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 22 Feb 2017 04:18:19 -0800 (PST) Message-ID: <58AD8190.5040702@gmail.com> Date: Wed, 22 Feb 2017 07:18:24 -0500 From: Ernie Luzar User-Agent: Thunderbird 2.0.0.24 (Windows/20100228) MIME-Version: 1.0 To: frank2@fjl.co.uk CC: freebsd-questions@freebsd.org Subject: Re: Daily and Weekly Periodic Scripts References: <18376E93-56AB-4D07-AC78-C66DE4ABFB11@lafn.org> <58AD5A9A.7070407@fjl.co.uk> In-Reply-To: <58AD5A9A.7070407@fjl.co.uk> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 22 Feb 2017 12:18:21 -0000 Frank Leonhardt wrote: > For what it's worth, in a similar situation I simply have a cron > triggered script that greps certain files (or the output of certain > utilities) and fires off an email if it finds/doesn't find certain > things. Very simple and flexible, and it keeps nagging if I don't do > anything about it. I keep thinking of doing something more gala, but > over many years I've found this actually works for me. > > Regards, Frank. > > On 21/02/2017 22:02, Doug Hardie wrote: >> I used to have a few servers and reading the daily and weekly periodic >> reports was a bit time consuming, but still viable. However, now I >> have a bunch of servers and am swamped with those reports daily. I >> have even less time available to read them and generally end up >> deleting them in mass. I have on occasion, although not in a few >> years, identified issues in those reports that need to be addressed. >> That part bothers me. >> >> I was wondering if anyone has done anything to create code to review >> those scripts and identify issues and only report those issues. For >> example, looking at the network counts, the collision rate should >> always be zero on ethernet. Finding a number there greater than zero >> is a problem that needs to be addressed. Likewise the error counts >> should also be zero. However, some systems do have a normal low level >> of errors so that rate would need to be configurable per system. >> >> — Doug Frank: Would you please share your scripts with the list?