Skip to content

Commit

Permalink
Merge branch 'master' of git://github.com/tostan/rapidsms-tostan
Browse files Browse the repository at this point in the history
  • Loading branch information
root committed Apr 29, 2010
2 parents 70b391c + 850ef1c commit c1aa3e7
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions utilities/deployment/servermonitor.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
#!/usr/bin/env python
#!/usr/bin/python

# CONFIGURATION ##########################################################
# email address to use in the to field
recipient = 'rluk@dimagi.com'
recipient = 'jokkoinitiative@gmail.com'

# email address to use in the from field
sender = '[email protected]'
Expand Down Expand Up @@ -59,9 +59,9 @@ def main_loop():
# create a list of tests that failed
problemlist = ''
if http_200 == False:
problemlist = problemlist + 'could not connect\n'
problemlist = problemlist + 'SMS Process is not responding.\n'
if http_success == False:
problemlist = problemlist + 'did not display\n'
problemlist = problemlist + 'SMS Process status is not available.\n'
print problemlist
send_email(problemlist)
print 'attempted to send mail'
Expand Down

0 comments on commit c1aa3e7

Please sign in to comment.