commit a9112af77952605aaceb7a3381477a830ecf434e Author: Damian Johnson atagar@torproject.org Date: Sat Sep 21 14:59:26 2013 -0700
Sending descriptor_checker.py notices to me rather than the list
On reflection descriptor_checker.py provides us an alert of only two things:
1. An inability by stem to parse descriptors. This could be either due to malformed descriptor content or an issue with stem.
2. Directory authority outages.
The first I'd rather not send to tor-consensus-health@, and the second is already provided by consensus_health_checker.py (though this script's notices are a little nicer).
Hence I'm gonna keep this around as-is, except with notices going to me rather than the list. --- descriptor_checker.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/descriptor_checker.py b/descriptor_checker.py index 5df9092..ee715a9 100755 --- a/descriptor_checker.py +++ b/descriptor_checker.py @@ -86,7 +86,7 @@ def main(): def send_email(subject, descriptor_type, query): try: timestamp = datetime.datetime.now().strftime("%m/%d/%Y %H:%M") - util.send(subject, body_text = EMAIL_BODY % (descriptor_type, query.download_url, timestamp, query.error)) + util.send(subject, body_text = EMAIL_BODY % (descriptor_type, query.download_url, timestamp, query.error, destination = util.ERROR_ADDRESS)) except Exception, exc: log.warn("Unable to send email: %s" % exc)