pcp
[Top] [All Lists]

pcp updates: rc scripts, email vs syslog

To: pcp developers <pcp@xxxxxxxxxxx>
Subject: pcp updates: rc scripts, email vs syslog
From: Nathan Scott <nathans@xxxxxxxxxx>
Date: Wed, 22 Jul 2015 03:51:59 -0400 (EDT)
Delivered-to: pcp@xxxxxxxxxxx
In-reply-to: <1217413841.2305353.1437551494088.JavaMail.zimbra@xxxxxxxxxx>
Reply-to: Nathan Scott <nathans@xxxxxxxxxx>
Thread-index: seieH/hR/uINSDRKHu2A0etakDALMw==
Thread-topic: pcp updates: rc scripts, email vs syslog
Changes committed to git://git.pcp.io/nathans/pcp.git master

Nathan Scott (1):
      rc scripts: use syslog over email for error notification


 src/pmcd/rc_pmcd         |   22 ++------------------
 src/pmie/rc_pmie         |   51 +++++++++++++----------------------------------
 src/pmlogger/rc_pmlogger |   26 +++++------------------
 3 files changed, 24 insertions(+), 75 deletions(-)


commit 903ac3fb6106736ae54e16b8d9ddb767c4ba08ff
Author: Nathan Scott <nathans@xxxxxxxxxx>
Date:   Wed Jul 22 15:52:48 2015 +1000

    rc scripts: use syslog over email for error notification
    
    After many requests from folks in production environments, we
    now only send email in situations where explicitly requested,
    prefering to log rc script errors to syslog instead.
    
    Where the error messages are potentially bulky (pmie/pmlogger
    cases) post to syslog with a pointer to a log file containing
    the detail.  Overwrite this logfile on subsequent errors such
    that they do not grow indefinitely, but always contain detail
    from the most recent failure for subsequent triage activity.

<Prev in Thread] Current Thread [Next in Thread>
  • pcp updates: rc scripts, email vs syslog, Nathan Scott <=