Factor code from multiservercheck that will be common to different monitors out into monitor.py.

Signed-off-by: Daira Hopwood <daira@leastauthority.com>
Add initial implementation of infrastructure monitor.

Signed-off-by: Daira Hopwood <daira@leastauthority.com>
Add infrastructurecheck.py (untested).

Signed-off-by: Daira Hopwood <daira@leastauthority.com>
Make infrastructurecheck.py executable.

Signed-off-by: Daira Hopwood <daira@leastauthority.com>
check_infrastructure: send response to error, not output stream.

Signed-off-by: Daira Hopwood <daira@leastauthority.com>
Work in progress for infrastructure monitoring tests.

Signed-off-by: Daira Hopwood <daira@leastauthority.com>
Split infrastructurecheck.py into website_check.py and analytics_check.py.

Signed-off-by: Daira Hopwood <daira@leastauthority.com>
test_check_infrastructure: check that the HTTP response is printed to stderr.

Signed-off-by: Daira Hopwood <daira@leastauthority.com>
test_check_infrastructure: improve test coverage to include HTTP failures.

Signed-off-by: Daira Hopwood <daira@leastauthority.com>
Infrastructure_monitoring: print 200 responses to stdout, not stderr, and treat 201-299 as errors.

Signed-off-by: Daira Hopwood <daira@leastauthority.com>
Make the monitoring reports for website, analytics and storage servers distinguishable from each other. refs #270

Signed-off-by: Daira Hopwood <daira@leastauthority.com>
Allow monitoring reports to be sent from diverse email accounts.

Signed-off-by: Daira Hopwood <daira@leastauthority.com>
Set up crontab for new infrastructure servers.

Signed-off-by: Daira Hopwood <daira@leastauthority.com>
Correct a mistake in analytics' crontab.

Signed-off-by: Daira Hopwood <daira@leastauthority.com>
Add .sh scripts for website_check and analytics_check.

Signed-off-by: Daira Hopwood <daira@leastauthority.com>
Correct the order of arguments in calls to monitoring_check.

Signed-off-by: Daira Hopwood <daira@leastauthority.com>
Send website monitoring reports from info@ for now.

Signed-off-by: Daira Hopwood <daira@leastauthority.com>