Commit 3b6ea20a authored by Damian Johnson's avatar Damian Johnson
Browse files

Change administrative notifications to Georg

Georg has requested ownership of this service so changing all administrative
notifications to him.

That said, I'll keep package_versions.py since it is unrelated to network
health.
parent dca22d9b
......@@ -104,7 +104,7 @@ def main():
if len(alarm_for) == 1:
subject += ' (%s:%s)' % alarm_for.values()[0][:2]
util.send(subject, body = body, to = ['tor-network-alerts@lists.torproject.org', 'atagar@torproject.org'])
util.send(subject, body = body, to = ['tor-network-alerts@lists.torproject.org', 'gk@torproject.org'])
# register that we've notified for these
......
......@@ -212,7 +212,7 @@ if __name__ == '__main__':
if has_issue:
try:
util.send('Packages wiki possibly outdated', body = content, to = [util.ERROR_ADDRESS])
util.send('Packages wiki possibly outdated', body = content, to = ['atagar@torproject.org'])
except Exception as exc:
log.warn("Unable to send email: %s" % exc)
......
......@@ -21,7 +21,7 @@ RELAY_OR_PORT = 1443
RELAY_NAME = 'caersidi'
RELAY_FINGERPRINT = '3BB34C63072D9D10E836EE42968713F7B9325F66'
EMAIL_ADDRESS = 'atagar@torproject.org'
EMAIL_ADDRESS = 'gk@torproject.org'
RELAY_LINK = 'https://metrics.torproject.org/rs.html#details/%s' % RELAY_FINGERPRINT
......
......@@ -100,7 +100,7 @@ def get_tracked_relays():
for relay in expired:
body += '* %s (%s)\n' % (relay.identifier, relay.expires.strftime('%Y-%m-%d'))
util.send('tracked_relays.cfg entries expired', body = body, to = ['atagar@torproject.org'])
util.send('tracked_relays.cfg entries expired', body = body, to = ['gk@torproject.org'])
return results
......@@ -164,7 +164,7 @@ def main():
body += ' address: %s:%s, fingerprint: %s\n' % (desc.address, desc.or_port, desc.fingerprint)
last_notified_config.set('%s:%s' % (desc.address, desc.or_port), current_time)
util.send(EMAIL_SUBJECT, body = body, to = ['bad-relays@lists.torproject.org', 'atagar@torproject.org'])
util.send(EMAIL_SUBJECT, body = body, to = ['bad-relays@lists.torproject.org', 'gk@torproject.org'])
last_notified_config.save()
......
......@@ -14,9 +14,9 @@ from email.mime.text import MIMEText
import stem.util.connection
import stem.util.log
FROM_ADDRESS = 'atagar@torproject.org'
FROM_ADDRESS = 'gk@torproject.org'
TO_ADDRESSES = ['tor-consensus-health@lists.torproject.org']
ERROR_ADDRESS = 'atagar@torproject.org'
ERROR_ADDRESS = 'gk@torproject.org'
TEST_RUN = getpass.getuser() != 'doctor' # print script results rather than emailing
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment