{"action":"created","comment":{"url":"https://api.github.com/repos/rcbops/rpc-openstack/pulls/comments/72244903","id":72244903,"diff_hunk":"@@ -34,3 +34,57 @@ alarms      :\n             if (percentage(metric[\"mysql_current_connections\"], metric[\"mysql_max_configured_connections\"]) > {{ mysql_connection_warning_threshold }} ) {\n                 return new AlarmStatus(WARNING, \"Mysql connectons has exceeded {{ mysql_connection_warning_threshold }}% of configured maximum\");\n             }\n+    open_file_size_limit_reached :\n+        label                   : open_file_size_limit_reached--{{ ansible_hostname }}\n+        notification_plan_id    : \"{{ maas_notification_plan }}\"\n+        criteria                : |\n+            :set consecutiveCount={{ maas_alarm_local_consecutive_count }}\n+            if (metric[\"num_of_open_files\"] > metric[\"open_files_limit\"]) {","path":"rpcd/playbooks/roles/rpc_maas/templates/galera_check.yaml.j2","position":9,"original_position":9,"commit_id":"2c18409b616a80309374f30e63f8ccdc5db6fe93","original_commit_id":"2c18409b616a80309374f30e63f8ccdc5db6fe93","user":{"login":"alextricity25","id":4964964,"avatar_url":"https://avatars.githubusercontent.com/u/4964964?v=3","gravatar_id":"","url":"https://api.github.com/users/alextricity25","html_url":"https://github.com/alextricity25","followers_url":"https://api.github.com/users/alextricity25/followers","following_url":"https://api.github.com/users/alextricity25/following{/other_user}","gists_url":"https://api.github.com/users/alextricity25/gists{/gist_id}","starred_url":"https://api.github.com/users/alextricity25/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alextricity25/subscriptions","organizations_url":"https://api.github.com/users/alextricity25/orgs","repos_url":"https://api.github.com/users/alextricity25/repos","events_url":"https://api.github.com/users/alextricity25/events{/privacy}","received_events_url":"https://api.github.com/users/alextricity25/received_events","type":"User","site_admin":false},"body":"Good catch!","created_at":"2016-07-26T13:09:51Z","updated_at":"2016-07-26T13:09:51Z","html_url":"https://github.com/rcbops/rpc-openstack/pull/1242#discussion_r72244903","pull_request_url":"https://api.github.com/repos/rcbops/rpc-openstack/pulls/1242","_links":{"self":{"href":"https://api.github.com/repos/rcbops/rpc-openstack/pulls/comments/72244903"},"html":{"href":"https://github.com/rcbops/rpc-openstack/pull/1242#discussion_r72244903"},"pull_request":{"href":"https://api.github.com/repos/rcbops/rpc-openstack/pulls/1242"}}},"pull_request":{"url":"https://api.github.com/repos/rcbops/rpc-openstack/pulls/1242","id":77809446,"html_url":"https://github.com/rcbops/rpc-openstack/pull/1242","diff_url":"https://github.com/rcbops/rpc-openstack/pull/1242.diff","patch_url":"https://github.com/rcbops/rpc-openstack/pull/1242.patch","issue_url":"https://api.github.com/repos/rcbops/rpc-openstack/issues/1242","number":1242,"state":"open","locked":false,"title":"Add more checks for the galera MaaS plugins","user":{"login":"alextricity25","id":4964964,"avatar_url":"https://avatars.githubusercontent.com/u/4964964?v=3","gravatar_id":"","url":"https://api.github.com/users/alextricity25","html_url":"https://github.com/alextricity25","followers_url":"https://api.github.com/users/alextricity25/followers","following_url":"https://api.github.com/users/alextricity25/following{/other_user}","gists_url":"https://api.github.com/users/alextricity25/gists{/gist_id}","starred_url":"https://api.github.com/users/alextricity25/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alextricity25/subscriptions","organizations_url":"https://api.github.com/users/alextricity25/orgs","repos_url":"https://api.github.com/users/alextricity25/repos","events_url":"https://api.github.com/users/alextricity25/events{/privacy}","received_events_url":"https://api.github.com/users/alextricity25/received_events","type":"User","site_admin":false},"body":"This commit will add some more robust checks for the galera\r\nplugin. We also create some alarms for the corresponding checks.\r\nThe criteria for these alarms include(when the alarms will trigger):\r\n\r\n* Open_files > open file limit\r\n* Innodb_row_lock_time_avg > Innodb_row_lock_time_max\r\n* Innodb_deadlocks != 0\r\n* Aborted_clients > 1/s[1]\r\n* Aborted_connects > 1/s[1]\r\n* rate(metric[\"access_denied_errors\"]) >  mysql_access_denied_errors_rate_warning_threshold\r\n* percentage(\"mysql_max_seen_connections, mysql_max_configured_connections) > mysql_max_seen_connections_critical_threshold\r\n\r\n[1] 1/s *ish*. The rate function modifier is used here.\r\n    By definition:\r\n    Rate as defined by this formula where V=value, and T=time:\r\n    (V1 - V0) / (T1 - T0).\r\n    This is more of a ratio as to how many clients/connects are\r\n    being aborted every {{ maas_check_period }} seconds (default is 60).\r\n\r\nConnects #1164","created_at":"2016-07-18T13:39:34Z","updated_at":"2016-07-26T13:09:51Z","closed_at":null,"merged_at":null,"merge_commit_sha":"2f9aaa99444c0c77fa431c142fe72230cfc29d88","assignee":{"login":"alextricity25","id":4964964,"avatar_url":"https://avatars.githubusercontent.com/u/4964964?v=3","gravatar_id":"","url":"https://api.github.com/users/alextricity25","html_url":"https://github.com/alextricity25","followers_url":"https://api.github.com/users/alextricity25/followers","following_url":"https://api.github.com/users/alextricity25/following{/other_user}","gists_url":"https://api.github.com/users/alextricity25/gists{/gist_id}","starred_url":"https://api.github.com/users/alextricity25/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alextricity25/subscriptions","organizations_url":"https://api.github.com/users/alextricity25/orgs","repos_url":"https://api.github.com/users/alextricity25/repos","events_url":"https://api.github.com/users/alextricity25/events{/privacy}","received_events_url":"https://api.github.com/users/alextricity25/received_events","type":"User","site_admin":false},"assignees":[{"login":"alextricity25","id":4964964,"avatar_url":"https://avatars.githubusercontent.com/u/4964964?v=3","gravatar_id":"","url":"https://api.github.com/users/alextricity25","html_url":"https://github.com/alextricity25","followers_url":"https://api.github.com/users/alextricity25/followers","following_url":"https://api.github.com/users/alextricity25/following{/other_user}","gists_url":"https://api.github.com/users/alextricity25/gists{/gist_id}","starred_url":"https://api.github.com/users/alextricity25/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alextricity25/subscriptions","organizations_url":"https://api.github.com/users/alextricity25/orgs","repos_url":"https://api.github.com/users/alextricity25/repos","events_url":"https://api.github.com/users/alextricity25/events{/privacy}","received_events_url":"https://api.github.com/users/alextricity25/received_events","type":"User","site_admin":false}],"milestone":null,"commits_url":"https://api.github.com/repos/rcbops/rpc-openstack/pulls/1242/commits","review_comments_url":"https://api.github.com/repos/rcbops/rpc-openstack/pulls/1242/comments","review_comment_url":"https://api.github.com/repos/rcbops/rpc-openstack/pulls/comments{/number}","comments_url":"https://api.github.com/repos/rcbops/rpc-openstack/issues/1242/comments","statuses_url":"https://api.github.com/repos/rcbops/rpc-openstack/statuses/2c18409b616a80309374f30e63f8ccdc5db6fe93","head":{"label":"rcbops:moar-galera-checks/1164","ref":"moar-galera-checks/1164","sha":"2c18409b616a80309374f30e63f8ccdc5db6fe93","user":{"login":"rcbops","id":1153548,"avatar_url":"https://avatars.githubusercontent.com/u/1153548?v=3","gravatar_id":"","url":"https://api.github.com/users/rcbops","html_url":"https://github.com/rcbops","followers_url":"https://api.github.com/users/rcbops/followers","following_url":"https://api.github.com/users/rcbops/following{/other_user}","gists_url":"https://api.github.com/users/rcbops/gists{/gist_id}","starred_url":"https://api.github.com/users/rcbops/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rcbops/subscriptions","organizations_url":"https://api.github.com/users/rcbops/orgs","repos_url":"https://api.github.com/users/rcbops/repos","events_url":"https://api.github.com/users/rcbops/events{/privacy}","received_events_url":"https://api.github.com/users/rcbops/received_events","type":"Organization","site_admin":false},"repo":{"id":30100099,"name":"rpc-openstack","full_name":"rcbops/rpc-openstack","owner":{"login":"rcbops","id":1153548,"avatar_url":"https://avatars.githubusercontent.com/u/1153548?v=3","gravatar_id":"","url":"https://api.github.com/users/rcbops","html_url":"https://github.com/rcbops","followers_url":"https://api.github.com/users/rcbops/followers","following_url":"https://api.github.com/users/rcbops/following{/other_user}","gists_url":"https://api.github.com/users/rcbops/gists{/gist_id}","starred_url":"https://api.github.com/users/rcbops/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rcbops/subscriptions","organizations_url":"https://api.github.com/users/rcbops/orgs","repos_url":"https://api.github.com/users/rcbops/repos","events_url":"https://api.github.com/users/rcbops/events{/privacy}","received_events_url":"https://api.github.com/users/rcbops/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/rcbops/rpc-openstack","description":"Rackspace Private Cloud Offering based on OpenStack","fork":false,"url":"https://api.github.com/repos/rcbops/rpc-openstack","forks_url":"https://api.github.com/repos/rcbops/rpc-openstack/forks","keys_url":"https://api.github.com/repos/rcbops/rpc-openstack/keys{/key_id}","collaborators_url":"https://api.github.com/repos/rcbops/rpc-openstack/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/rcbops/rpc-openstack/teams","hooks_url":"https://api.github.com/repos/rcbops/rpc-openstack/hooks","issue_events_url":"https://api.github.com/repos/rcbops/rpc-openstack/issues/events{/number}","events_url":"https://api.github.com/repos/rcbops/rpc-openstack/events","assignees_url":"https://api.github.com/repos/rcbops/rpc-openstack/assignees{/user}","branches_url":"https://api.github.com/repos/rcbops/rpc-openstack/branches{/branch}","tags_url":"https://api.github.com/repos/rcbops/rpc-openstack/tags","blobs_url":"https://api.github.com/repos/rcbops/rpc-openstack/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/rcbops/rpc-openstack/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/rcbops/rpc-openstack/git/refs{/sha}","trees_url":"https://api.github.com/repos/rcbops/rpc-openstack/git/trees{/sha}","statuses_url":"https://api.github.com/repos/rcbops/rpc-openstack/statuses/{sha}","languages_url":"https://api.github.com/repos/rcbops/rpc-openstack/languages","stargazers_url":"https://api.github.com/repos/rcbops/rpc-openstack/stargazers","contributors_url":"https://api.github.com/repos/rcbops/rpc-openstack/contributors","subscribers_url":"https://api.github.com/repos/rcbops/rpc-openstack/subscribers","subscription_url":"https://api.github.com/repos/rcbops/rpc-openstack/subscription","commits_url":"https://api.github.com/repos/rcbops/rpc-openstack/commits{/sha}","git_commits_url":"https://api.github.com/repos/rcbops/rpc-openstack/git/commits{/sha}","comments_url":"https://api.github.com/repos/rcbops/rpc-openstack/comments{/number}","issue_comment_url":"https://api.github.com/repos/rcbops/rpc-openstack/issues/comments{/number}","contents_url":"https://api.github.com/repos/rcbops/rpc-openstack/contents/{+path}","compare_url":"https://api.github.com/repos/rcbops/rpc-openstack/compare/{base}...{head}","merges_url":"https://api.github.com/repos/rcbops/rpc-openstack/merges","archive_url":"https://api.github.com/repos/rcbops/rpc-openstack/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/rcbops/rpc-openstack/downloads","issues_url":"https://api.github.com/repos/rcbops/rpc-openstack/issues{/number}","pulls_url":"https://api.github.com/repos/rcbops/rpc-openstack/pulls{/number}","milestones_url":"https://api.github.com/repos/rcbops/rpc-openstack/milestones{/number}","notifications_url":"https://api.github.com/repos/rcbops/rpc-openstack/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/rcbops/rpc-openstack/labels{/name}","releases_url":"https://api.github.com/repos/rcbops/rpc-openstack/releases{/id}","deployments_url":"https://api.github.com/repos/rcbops/rpc-openstack/deployments","created_at":"2015-01-31T02:51:12Z","updated_at":"2016-07-20T22:10:15Z","pushed_at":"2016-07-26T10:00:19Z","git_url":"git://github.com/rcbops/rpc-openstack.git","ssh_url":"git@github.com:rcbops/rpc-openstack.git","clone_url":"https://github.com/rcbops/rpc-openstack.git","svn_url":"https://github.com/rcbops/rpc-openstack","homepage":"","size":2675,"stargazers_count":29,"watchers_count":29,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":40,"mirror_url":null,"open_issues_count":109,"forks":40,"open_issues":109,"watchers":29,"default_branch":"master"}},"base":{"label":"rcbops:master","ref":"master","sha":"f6802e77ff7219c11b3bd4eab2ededa9c67b8256","user":{"login":"rcbops","id":1153548,"avatar_url":"https://avatars.githubusercontent.com/u/1153548?v=3","gravatar_id":"","url":"https://api.github.com/users/rcbops","html_url":"https://github.com/rcbops","followers_url":"https://api.github.com/users/rcbops/followers","following_url":"https://api.github.com/users/rcbops/following{/other_user}","gists_url":"https://api.github.com/users/rcbops/gists{/gist_id}","starred_url":"https://api.github.com/users/rcbops/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rcbops/subscriptions","organizations_url":"https://api.github.com/users/rcbops/orgs","repos_url":"https://api.github.com/users/rcbops/repos","events_url":"https://api.github.com/users/rcbops/events{/privacy}","received_events_url":"https://api.github.com/users/rcbops/received_events","type":"Organization","site_admin":false},"repo":{"id":30100099,"name":"rpc-openstack","full_name":"rcbops/rpc-openstack","owner":{"login":"rcbops","id":1153548,"avatar_url":"https://avatars.githubusercontent.com/u/1153548?v=3","gravatar_id":"","url":"https://api.github.com/users/rcbops","html_url":"https://github.com/rcbops","followers_url":"https://api.github.com/users/rcbops/followers","following_url":"https://api.github.com/users/rcbops/following{/other_user}","gists_url":"https://api.github.com/users/rcbops/gists{/gist_id}","starred_url":"https://api.github.com/users/rcbops/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rcbops/subscriptions","organizations_url":"https://api.github.com/users/rcbops/orgs","repos_url":"https://api.github.com/users/rcbops/repos","events_url":"https://api.github.com/users/rcbops/events{/privacy}","received_events_url":"https://api.github.com/users/rcbops/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/rcbops/rpc-openstack","description":"Rackspace Private Cloud Offering based on OpenStack","fork":false,"url":"https://api.github.com/repos/rcbops/rpc-openstack","forks_url":"https://api.github.com/repos/rcbops/rpc-openstack/forks","keys_url":"https://api.github.com/repos/rcbops/rpc-openstack/keys{/key_id}","collaborators_url":"https://api.github.com/repos/rcbops/rpc-openstack/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/rcbops/rpc-openstack/teams","hooks_url":"https://api.github.com/repos/rcbops/rpc-openstack/hooks","issue_events_url":"https://api.github.com/repos/rcbops/rpc-openstack/issues/events{/number}","events_url":"https://api.github.com/repos/rcbops/rpc-openstack/events","assignees_url":"https://api.github.com/repos/rcbops/rpc-openstack/assignees{/user}","branches_url":"https://api.github.com/repos/rcbops/rpc-openstack/branches{/branch}","tags_url":"https://api.github.com/repos/rcbops/rpc-openstack/tags","blobs_url":"https://api.github.com/repos/rcbops/rpc-openstack/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/rcbops/rpc-openstack/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/rcbops/rpc-openstack/git/refs{/sha}","trees_url":"https://api.github.com/repos/rcbops/rpc-openstack/git/trees{/sha}","statuses_url":"https://api.github.com/repos/rcbops/rpc-openstack/statuses/{sha}","languages_url":"https://api.github.com/repos/rcbops/rpc-openstack/languages","stargazers_url":"https://api.github.com/repos/rcbops/rpc-openstack/stargazers","contributors_url":"https://api.github.com/repos/rcbops/rpc-openstack/contributors","subscribers_url":"https://api.github.com/repos/rcbops/rpc-openstack/subscribers","subscription_url":"https://api.github.com/repos/rcbops/rpc-openstack/subscription","commits_url":"https://api.github.com/repos/rcbops/rpc-openstack/commits{/sha}","git_commits_url":"https://api.github.com/repos/rcbops/rpc-openstack/git/commits{/sha}","comments_url":"https://api.github.com/repos/rcbops/rpc-openstack/comments{/number}","issue_comment_url":"https://api.github.com/repos/rcbops/rpc-openstack/issues/comments{/number}","contents_url":"https://api.github.com/repos/rcbops/rpc-openstack/contents/{+path}","compare_url":"https://api.github.com/repos/rcbops/rpc-openstack/compare/{base}...{head}","merges_url":"https://api.github.com/repos/rcbops/rpc-openstack/merges","archive_url":"https://api.github.com/repos/rcbops/rpc-openstack/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/rcbops/rpc-openstack/downloads","issues_url":"https://api.github.com/repos/rcbops/rpc-openstack/issues{/number}","pulls_url":"https://api.github.com/repos/rcbops/rpc-openstack/pulls{/number}","milestones_url":"https://api.github.com/repos/rcbops/rpc-openstack/milestones{/number}","notifications_url":"https://api.github.com/repos/rcbops/rpc-openstack/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/rcbops/rpc-openstack/labels{/name}","releases_url":"https://api.github.com/repos/rcbops/rpc-openstack/releases{/id}","deployments_url":"https://api.github.com/repos/rcbops/rpc-openstack/deployments","created_at":"2015-01-31T02:51:12Z","updated_at":"2016-07-20T22:10:15Z","pushed_at":"2016-07-26T10:00:19Z","git_url":"git://github.com/rcbops/rpc-openstack.git","ssh_url":"git@github.com:rcbops/rpc-openstack.git","clone_url":"https://github.com/rcbops/rpc-openstack.git","svn_url":"https://github.com/rcbops/rpc-openstack","homepage":"","size":2675,"stargazers_count":29,"watchers_count":29,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":40,"mirror_url":null,"open_issues_count":109,"forks":40,"open_issues":109,"watchers":29,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/rcbops/rpc-openstack/pulls/1242"},"html":{"href":"https://github.com/rcbops/rpc-openstack/pull/1242"},"issue":{"href":"https://api.github.com/repos/rcbops/rpc-openstack/issues/1242"},"comments":{"href":"https://api.github.com/repos/rcbops/rpc-openstack/issues/1242/comments"},"review_comments":{"href":"https://api.github.com/repos/rcbops/rpc-openstack/pulls/1242/comments"},"review_comment":{"href":"https://api.github.com/repos/rcbops/rpc-openstack/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/rcbops/rpc-openstack/pulls/1242/commits"},"statuses":{"href":"https://api.github.com/repos/rcbops/rpc-openstack/statuses/2c18409b616a80309374f30e63f8ccdc5db6fe93"}}}}
{"actor":{"display_login":"alextricity25"}}