{"action":"opened","number":14,"pull_request":{"url":"https://api.github.com/repos/ONSdigital/eq-terraform/pulls/14","id":60532865,"html_url":"https://github.com/ONSdigital/eq-terraform/pull/14","diff_url":"https://github.com/ONSdigital/eq-terraform/pull/14.diff","patch_url":"https://github.com/ONSdigital/eq-terraform/pull/14.patch","issue_url":"https://api.github.com/repos/ONSdigital/eq-terraform/issues/14","number":14,"state":"open","locked":false,"title":"eq-13 infrastucture monitoring, add 8 alerts","user":{"login":"LJBabbage","id":14179817,"avatar_url":"https://avatars.githubusercontent.com/u/14179817?v=3","gravatar_id":"","url":"https://api.github.com/users/LJBabbage","html_url":"https://github.com/LJBabbage","followers_url":"https://api.github.com/users/LJBabbage/followers","following_url":"https://api.github.com/users/LJBabbage/following{/other_user}","gists_url":"https://api.github.com/users/LJBabbage/gists{/gist_id}","starred_url":"https://api.github.com/users/LJBabbage/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LJBabbage/subscriptions","organizations_url":"https://api.github.com/users/LJBabbage/orgs","repos_url":"https://api.github.com/users/LJBabbage/repos","events_url":"https://api.github.com/users/LJBabbage/events{/privacy}","received_events_url":"https://api.github.com/users/LJBabbage/received_events","type":"User","site_admin":false},"body":"__What__\r\nAdding 8 alerts to Cloudwatch for rabbitmq1, rabbitmq2, submitter1, submitter2 to monitor CPU usage and Status failure in each. Failures being published to the Slack Development channel\r\n\r\n__How to test__\r\n1. Review the new script and SNS configurations in Lambda called Slack\r\n2. Run terraform\r\n3. Check each EC2 instance has 2 alerts associated with them. This can also be done in the Cloudwatch section of AWS  or EC2 console (Give them a couple of minutes as initial metrics must be collected for them to work and they will appear as insufficient data to begin with)\r\n4. Open up the alert and change the threshold to trigger the alarm\r\n5. Check a message has appeared in slack and is correct\r\n\r\n__Who can test__\r\nAnyone but @LJBabbage\r\n\r\n","created_at":"2016-02-24T16:08:20Z","updated_at":"2016-02-24T16:08:20Z","closed_at":null,"merged_at":null,"merge_commit_sha":"90fd1a9d3a1bfab344363c3729b1bb31eac6d847","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/ONSdigital/eq-terraform/pulls/14/commits","review_comments_url":"https://api.github.com/repos/ONSdigital/eq-terraform/pulls/14/comments","review_comment_url":"https://api.github.com/repos/ONSdigital/eq-terraform/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ONSdigital/eq-terraform/issues/14/comments","statuses_url":"https://api.github.com/repos/ONSdigital/eq-terraform/statuses/a40fe5491d7e6fff24d4a601169d7066092f66b6","head":{"label":"ONSdigital:eq-13-infrastructure-monitoring","ref":"eq-13-infrastructure-monitoring","sha":"a40fe5491d7e6fff24d4a601169d7066092f66b6","user":{"login":"ONSdigital","id":6865137,"avatar_url":"https://avatars.githubusercontent.com/u/6865137?v=3","gravatar_id":"","url":"https://api.github.com/users/ONSdigital","html_url":"https://github.com/ONSdigital","followers_url":"https://api.github.com/users/ONSdigital/followers","following_url":"https://api.github.com/users/ONSdigital/following{/other_user}","gists_url":"https://api.github.com/users/ONSdigital/gists{/gist_id}","starred_url":"https://api.github.com/users/ONSdigital/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ONSdigital/subscriptions","organizations_url":"https://api.github.com/users/ONSdigital/orgs","repos_url":"https://api.github.com/users/ONSdigital/repos","events_url":"https://api.github.com/users/ONSdigital/events{/privacy}","received_events_url":"https://api.github.com/users/ONSdigital/received_events","type":"Organization","site_admin":false},"repo":{"id":49879277,"name":"eq-terraform","full_name":"ONSdigital/eq-terraform","owner":{"login":"ONSdigital","id":6865137,"avatar_url":"https://avatars.githubusercontent.com/u/6865137?v=3","gravatar_id":"","url":"https://api.github.com/users/ONSdigital","html_url":"https://github.com/ONSdigital","followers_url":"https://api.github.com/users/ONSdigital/followers","following_url":"https://api.github.com/users/ONSdigital/following{/other_user}","gists_url":"https://api.github.com/users/ONSdigital/gists{/gist_id}","starred_url":"https://api.github.com/users/ONSdigital/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ONSdigital/subscriptions","organizations_url":"https://api.github.com/users/ONSdigital/orgs","repos_url":"https://api.github.com/users/ONSdigital/repos","events_url":"https://api.github.com/users/ONSdigital/events{/privacy}","received_events_url":"https://api.github.com/users/ONSdigital/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ONSdigital/eq-terraform","description":"","fork":false,"url":"https://api.github.com/repos/ONSdigital/eq-terraform","forks_url":"https://api.github.com/repos/ONSdigital/eq-terraform/forks","keys_url":"https://api.github.com/repos/ONSdigital/eq-terraform/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ONSdigital/eq-terraform/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ONSdigital/eq-terraform/teams","hooks_url":"https://api.github.com/repos/ONSdigital/eq-terraform/hooks","issue_events_url":"https://api.github.com/repos/ONSdigital/eq-terraform/issues/events{/number}","events_url":"https://api.github.com/repos/ONSdigital/eq-terraform/events","assignees_url":"https://api.github.com/repos/ONSdigital/eq-terraform/assignees{/user}","branches_url":"https://api.github.com/repos/ONSdigital/eq-terraform/branches{/branch}","tags_url":"https://api.github.com/repos/ONSdigital/eq-terraform/tags","blobs_url":"https://api.github.com/repos/ONSdigital/eq-terraform/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ONSdigital/eq-terraform/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ONSdigital/eq-terraform/git/refs{/sha}","trees_url":"https://api.github.com/repos/ONSdigital/eq-terraform/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ONSdigital/eq-terraform/statuses/{sha}","languages_url":"https://api.github.com/repos/ONSdigital/eq-terraform/languages","stargazers_url":"https://api.github.com/repos/ONSdigital/eq-terraform/stargazers","contributors_url":"https://api.github.com/repos/ONSdigital/eq-terraform/contributors","subscribers_url":"https://api.github.com/repos/ONSdigital/eq-terraform/subscribers","subscription_url":"https://api.github.com/repos/ONSdigital/eq-terraform/subscription","commits_url":"https://api.github.com/repos/ONSdigital/eq-terraform/commits{/sha}","git_commits_url":"https://api.github.com/repos/ONSdigital/eq-terraform/git/commits{/sha}","comments_url":"https://api.github.com/repos/ONSdigital/eq-terraform/comments{/number}","issue_comment_url":"https://api.github.com/repos/ONSdigital/eq-terraform/issues/comments{/number}","contents_url":"https://api.github.com/repos/ONSdigital/eq-terraform/contents/{+path}","compare_url":"https://api.github.com/repos/ONSdigital/eq-terraform/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ONSdigital/eq-terraform/merges","archive_url":"https://api.github.com/repos/ONSdigital/eq-terraform/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ONSdigital/eq-terraform/downloads","issues_url":"https://api.github.com/repos/ONSdigital/eq-terraform/issues{/number}","pulls_url":"https://api.github.com/repos/ONSdigital/eq-terraform/pulls{/number}","milestones_url":"https://api.github.com/repos/ONSdigital/eq-terraform/milestones{/number}","notifications_url":"https://api.github.com/repos/ONSdigital/eq-terraform/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ONSdigital/eq-terraform/labels{/name}","releases_url":"https://api.github.com/repos/ONSdigital/eq-terraform/releases{/id}","deployments_url":"https://api.github.com/repos/ONSdigital/eq-terraform/deployments","created_at":"2016-01-18T13:41:38Z","updated_at":"2016-01-20T16:45:52Z","pushed_at":"2016-02-24T16:08:20Z","git_url":"git://github.com/ONSdigital/eq-terraform.git","ssh_url":"git@github.com:ONSdigital/eq-terraform.git","clone_url":"https://github.com/ONSdigital/eq-terraform.git","svn_url":"https://github.com/ONSdigital/eq-terraform","homepage":null,"size":37,"stargazers_count":0,"watchers_count":0,"language":"HCL","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"ONSdigital:master","ref":"master","sha":"de4c9045ab89e9a77022f9f2c9636e79a7d4e7bf","user":{"login":"ONSdigital","id":6865137,"avatar_url":"https://avatars.githubusercontent.com/u/6865137?v=3","gravatar_id":"","url":"https://api.github.com/users/ONSdigital","html_url":"https://github.com/ONSdigital","followers_url":"https://api.github.com/users/ONSdigital/followers","following_url":"https://api.github.com/users/ONSdigital/following{/other_user}","gists_url":"https://api.github.com/users/ONSdigital/gists{/gist_id}","starred_url":"https://api.github.com/users/ONSdigital/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ONSdigital/subscriptions","organizations_url":"https://api.github.com/users/ONSdigital/orgs","repos_url":"https://api.github.com/users/ONSdigital/repos","events_url":"https://api.github.com/users/ONSdigital/events{/privacy}","received_events_url":"https://api.github.com/users/ONSdigital/received_events","type":"Organization","site_admin":false},"repo":{"id":49879277,"name":"eq-terraform","full_name":"ONSdigital/eq-terraform","owner":{"login":"ONSdigital","id":6865137,"avatar_url":"https://avatars.githubusercontent.com/u/6865137?v=3","gravatar_id":"","url":"https://api.github.com/users/ONSdigital","html_url":"https://github.com/ONSdigital","followers_url":"https://api.github.com/users/ONSdigital/followers","following_url":"https://api.github.com/users/ONSdigital/following{/other_user}","gists_url":"https://api.github.com/users/ONSdigital/gists{/gist_id}","starred_url":"https://api.github.com/users/ONSdigital/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ONSdigital/subscriptions","organizations_url":"https://api.github.com/users/ONSdigital/orgs","repos_url":"https://api.github.com/users/ONSdigital/repos","events_url":"https://api.github.com/users/ONSdigital/events{/privacy}","received_events_url":"https://api.github.com/users/ONSdigital/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ONSdigital/eq-terraform","description":"","fork":false,"url":"https://api.github.com/repos/ONSdigital/eq-terraform","forks_url":"https://api.github.com/repos/ONSdigital/eq-terraform/forks","keys_url":"https://api.github.com/repos/ONSdigital/eq-terraform/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ONSdigital/eq-terraform/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ONSdigital/eq-terraform/teams","hooks_url":"https://api.github.com/repos/ONSdigital/eq-terraform/hooks","issue_events_url":"https://api.github.com/repos/ONSdigital/eq-terraform/issues/events{/number}","events_url":"https://api.github.com/repos/ONSdigital/eq-terraform/events","assignees_url":"https://api.github.com/repos/ONSdigital/eq-terraform/assignees{/user}","branches_url":"https://api.github.com/repos/ONSdigital/eq-terraform/branches{/branch}","tags_url":"https://api.github.com/repos/ONSdigital/eq-terraform/tags","blobs_url":"https://api.github.com/repos/ONSdigital/eq-terraform/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ONSdigital/eq-terraform/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ONSdigital/eq-terraform/git/refs{/sha}","trees_url":"https://api.github.com/repos/ONSdigital/eq-terraform/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ONSdigital/eq-terraform/statuses/{sha}","languages_url":"https://api.github.com/repos/ONSdigital/eq-terraform/languages","stargazers_url":"https://api.github.com/repos/ONSdigital/eq-terraform/stargazers","contributors_url":"https://api.github.com/repos/ONSdigital/eq-terraform/contributors","subscribers_url":"https://api.github.com/repos/ONSdigital/eq-terraform/subscribers","subscription_url":"https://api.github.com/repos/ONSdigital/eq-terraform/subscription","commits_url":"https://api.github.com/repos/ONSdigital/eq-terraform/commits{/sha}","git_commits_url":"https://api.github.com/repos/ONSdigital/eq-terraform/git/commits{/sha}","comments_url":"https://api.github.com/repos/ONSdigital/eq-terraform/comments{/number}","issue_comment_url":"https://api.github.com/repos/ONSdigital/eq-terraform/issues/comments{/number}","contents_url":"https://api.github.com/repos/ONSdigital/eq-terraform/contents/{+path}","compare_url":"https://api.github.com/repos/ONSdigital/eq-terraform/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ONSdigital/eq-terraform/merges","archive_url":"https://api.github.com/repos/ONSdigital/eq-terraform/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ONSdigital/eq-terraform/downloads","issues_url":"https://api.github.com/repos/ONSdigital/eq-terraform/issues{/number}","pulls_url":"https://api.github.com/repos/ONSdigital/eq-terraform/pulls{/number}","milestones_url":"https://api.github.com/repos/ONSdigital/eq-terraform/milestones{/number}","notifications_url":"https://api.github.com/repos/ONSdigital/eq-terraform/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ONSdigital/eq-terraform/labels{/name}","releases_url":"https://api.github.com/repos/ONSdigital/eq-terraform/releases{/id}","deployments_url":"https://api.github.com/repos/ONSdigital/eq-terraform/deployments","created_at":"2016-01-18T13:41:38Z","updated_at":"2016-01-20T16:45:52Z","pushed_at":"2016-02-24T16:08:20Z","git_url":"git://github.com/ONSdigital/eq-terraform.git","ssh_url":"git@github.com:ONSdigital/eq-terraform.git","clone_url":"https://github.com/ONSdigital/eq-terraform.git","svn_url":"https://github.com/ONSdigital/eq-terraform","homepage":null,"size":37,"stargazers_count":0,"watchers_count":0,"language":"HCL","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ONSdigital/eq-terraform/pulls/14"},"html":{"href":"https://github.com/ONSdigital/eq-terraform/pull/14"},"issue":{"href":"https://api.github.com/repos/ONSdigital/eq-terraform/issues/14"},"comments":{"href":"https://api.github.com/repos/ONSdigital/eq-terraform/issues/14/comments"},"review_comments":{"href":"https://api.github.com/repos/ONSdigital/eq-terraform/pulls/14/comments"},"review_comment":{"href":"https://api.github.com/repos/ONSdigital/eq-terraform/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ONSdigital/eq-terraform/pulls/14/commits"},"statuses":{"href":"https://api.github.com/repos/ONSdigital/eq-terraform/statuses/a40fe5491d7e6fff24d4a601169d7066092f66b6"}},"merged":false,"mergeable":true,"mergeable_state":"clean","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":119,"deletions":0,"changed_files":2}}