{"action":"created","comment":{"url":"https://api.github.com/repos/openshift/openshift-tools/pulls/comments/148539783","pull_request_review_id":73796248,"id":148539783,"diff_hunk":"@@ -966,6 +975,16 @@ g_template_openshift_master:\n     url: \"https://github.com/openshift/ops-sop/blob/master/v3/alerts/openshift_master.asciidoc\"\n     priority: high\n \n+  - name: \">20% change in project count over 2 hours on {HOST.NAME}\"\n+    expression: \"{Template Openshift Master:openshift.master.projects.delta.last()}>20\"\n+    url: \"https://github.com/openshift/ops-sop/blob/master/v3/alerts/delta_trigger.asciidoc\"\n+    priority: info\n+\n+  - name: \">60% change in project count over 2 hours on {HOST.NAME}\"","path":"ansible/roles/os_zabbix/vars/template_openshift_master.yml","position":25,"original_position":25,"commit_id":"37d0ed4512a3a0c526adf97104b52aba60ecc104","original_commit_id":"37d0ed4512a3a0c526adf97104b52aba60ecc104","user":{"login":"joelddiaz","id":4999586,"avatar_url":"https://avatars1.githubusercontent.com/u/4999586?v=4","gravatar_id":"","url":"https://api.github.com/users/joelddiaz","html_url":"https://github.com/joelddiaz","followers_url":"https://api.github.com/users/joelddiaz/followers","following_url":"https://api.github.com/users/joelddiaz/following{/other_user}","gists_url":"https://api.github.com/users/joelddiaz/gists{/gist_id}","starred_url":"https://api.github.com/users/joelddiaz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joelddiaz/subscriptions","organizations_url":"https://api.github.com/users/joelddiaz/orgs","repos_url":"https://api.github.com/users/joelddiaz/repos","events_url":"https://api.github.com/users/joelddiaz/events{/privacy}","received_events_url":"https://api.github.com/users/joelddiaz/received_events","type":"User","site_admin":false},"body":"is it 60% or 50%? i see two different values in this trigger\r\n\r\nalso, should this 50 (or 60) trigger be of priority 'info'?","created_at":"2017-11-02T13:58:49Z","updated_at":"2017-11-02T13:58:58Z","html_url":"https://github.com/openshift/openshift-tools/pull/3040#discussion_r148539783","pull_request_url":"https://api.github.com/repos/openshift/openshift-tools/pulls/3040","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/openshift/openshift-tools/pulls/comments/148539783"},"html":{"href":"https://github.com/openshift/openshift-tools/pull/3040#discussion_r148539783"},"pull_request":{"href":"https://api.github.com/repos/openshift/openshift-tools/pulls/3040"}}},"pull_request":{"url":"https://api.github.com/repos/openshift/openshift-tools/pulls/3040","id":149890142,"html_url":"https://github.com/openshift/openshift-tools/pull/3040","diff_url":"https://github.com/openshift/openshift-tools/pull/3040.diff","patch_url":"https://github.com/openshift/openshift-tools/pull/3040.patch","issue_url":"https://api.github.com/repos/openshift/openshift-tools/issues/3040","number":3040,"state":"open","locked":false,"title":"add project count delta trigger","user":{"login":"stenwt","id":149782,"avatar_url":"https://avatars1.githubusercontent.com/u/149782?v=4","gravatar_id":"","url":"https://api.github.com/users/stenwt","html_url":"https://github.com/stenwt","followers_url":"https://api.github.com/users/stenwt/followers","following_url":"https://api.github.com/users/stenwt/following{/other_user}","gists_url":"https://api.github.com/users/stenwt/gists{/gist_id}","starred_url":"https://api.github.com/users/stenwt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stenwt/subscriptions","organizations_url":"https://api.github.com/users/stenwt/orgs","repos_url":"https://api.github.com/users/stenwt/repos","events_url":"https://api.github.com/users/stenwt/events{/privacy}","received_events_url":"https://api.github.com/users/stenwt/received_events","type":"User","site_admin":false},"body":"ref: https://trello.com/c/ERaB2aQk","created_at":"2017-10-31T19:46:12Z","updated_at":"2017-11-02T13:58:58Z","closed_at":null,"merged_at":null,"merge_commit_sha":"2dfca1b026e8e0e64ee1b79b66c142e990eadc54","assignee":null,"assignees":[],"requested_reviewers":[{"login":"ivanhorvath","id":2781042,"avatar_url":"https://avatars3.githubusercontent.com/u/2781042?v=4","gravatar_id":"","url":"https://api.github.com/users/ivanhorvath","html_url":"https://github.com/ivanhorvath","followers_url":"https://api.github.com/users/ivanhorvath/followers","following_url":"https://api.github.com/users/ivanhorvath/following{/other_user}","gists_url":"https://api.github.com/users/ivanhorvath/gists{/gist_id}","starred_url":"https://api.github.com/users/ivanhorvath/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ivanhorvath/subscriptions","organizations_url":"https://api.github.com/users/ivanhorvath/orgs","repos_url":"https://api.github.com/users/ivanhorvath/repos","events_url":"https://api.github.com/users/ivanhorvath/events{/privacy}","received_events_url":"https://api.github.com/users/ivanhorvath/received_events","type":"User","site_admin":false}],"milestone":null,"commits_url":"https://api.github.com/repos/openshift/openshift-tools/pulls/3040/commits","review_comments_url":"https://api.github.com/repos/openshift/openshift-tools/pulls/3040/comments","review_comment_url":"https://api.github.com/repos/openshift/openshift-tools/pulls/comments{/number}","comments_url":"https://api.github.com/repos/openshift/openshift-tools/issues/3040/comments","statuses_url":"https://api.github.com/repos/openshift/openshift-tools/statuses/37d0ed4512a3a0c526adf97104b52aba60ecc104","head":{"label":"stenwt:trigger-on-project-delta","ref":"trigger-on-project-delta","sha":"37d0ed4512a3a0c526adf97104b52aba60ecc104","user":{"login":"stenwt","id":149782,"avatar_url":"https://avatars1.githubusercontent.com/u/149782?v=4","gravatar_id":"","url":"https://api.github.com/users/stenwt","html_url":"https://github.com/stenwt","followers_url":"https://api.github.com/users/stenwt/followers","following_url":"https://api.github.com/users/stenwt/following{/other_user}","gists_url":"https://api.github.com/users/stenwt/gists{/gist_id}","starred_url":"https://api.github.com/users/stenwt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stenwt/subscriptions","organizations_url":"https://api.github.com/users/stenwt/orgs","repos_url":"https://api.github.com/users/stenwt/repos","events_url":"https://api.github.com/users/stenwt/events{/privacy}","received_events_url":"https://api.github.com/users/stenwt/received_events","type":"User","site_admin":false},"repo":{"id":41862190,"name":"openshift-tools","full_name":"stenwt/openshift-tools","owner":{"login":"stenwt","id":149782,"avatar_url":"https://avatars1.githubusercontent.com/u/149782?v=4","gravatar_id":"","url":"https://api.github.com/users/stenwt","html_url":"https://github.com/stenwt","followers_url":"https://api.github.com/users/stenwt/followers","following_url":"https://api.github.com/users/stenwt/following{/other_user}","gists_url":"https://api.github.com/users/stenwt/gists{/gist_id}","starred_url":"https://api.github.com/users/stenwt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stenwt/subscriptions","organizations_url":"https://api.github.com/users/stenwt/orgs","repos_url":"https://api.github.com/users/stenwt/repos","events_url":"https://api.github.com/users/stenwt/events{/privacy}","received_events_url":"https://api.github.com/users/stenwt/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/stenwt/openshift-tools","description":"A public repository of scripts used by OpenShift Operations for various purposes","fork":true,"url":"https://api.github.com/repos/stenwt/openshift-tools","forks_url":"https://api.github.com/repos/stenwt/openshift-tools/forks","keys_url":"https://api.github.com/repos/stenwt/openshift-tools/keys{/key_id}","collaborators_url":"https://api.github.com/repos/stenwt/openshift-tools/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/stenwt/openshift-tools/teams","hooks_url":"https://api.github.com/repos/stenwt/openshift-tools/hooks","issue_events_url":"https://api.github.com/repos/stenwt/openshift-tools/issues/events{/number}","events_url":"https://api.github.com/repos/stenwt/openshift-tools/events","assignees_url":"https://api.github.com/repos/stenwt/openshift-tools/assignees{/user}","branches_url":"https://api.github.com/repos/stenwt/openshift-tools/branches{/branch}","tags_url":"https://api.github.com/repos/stenwt/openshift-tools/tags","blobs_url":"https://api.github.com/repos/stenwt/openshift-tools/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/stenwt/openshift-tools/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/stenwt/openshift-tools/git/refs{/sha}","trees_url":"https://api.github.com/repos/stenwt/openshift-tools/git/trees{/sha}","statuses_url":"https://api.github.com/repos/stenwt/openshift-tools/statuses/{sha}","languages_url":"https://api.github.com/repos/stenwt/openshift-tools/languages","stargazers_url":"https://api.github.com/repos/stenwt/openshift-tools/stargazers","contributors_url":"https://api.github.com/repos/stenwt/openshift-tools/contributors","subscribers_url":"https://api.github.com/repos/stenwt/openshift-tools/subscribers","subscription_url":"https://api.github.com/repos/stenwt/openshift-tools/subscription","commits_url":"https://api.github.com/repos/stenwt/openshift-tools/commits{/sha}","git_commits_url":"https://api.github.com/repos/stenwt/openshift-tools/git/commits{/sha}","comments_url":"https://api.github.com/repos/stenwt/openshift-tools/comments{/number}","issue_comment_url":"https://api.github.com/repos/stenwt/openshift-tools/issues/comments{/number}","contents_url":"https://api.github.com/repos/stenwt/openshift-tools/contents/{+path}","compare_url":"https://api.github.com/repos/stenwt/openshift-tools/compare/{base}...{head}","merges_url":"https://api.github.com/repos/stenwt/openshift-tools/merges","archive_url":"https://api.github.com/repos/stenwt/openshift-tools/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/stenwt/openshift-tools/downloads","issues_url":"https://api.github.com/repos/stenwt/openshift-tools/issues{/number}","pulls_url":"https://api.github.com/repos/stenwt/openshift-tools/pulls{/number}","milestones_url":"https://api.github.com/repos/stenwt/openshift-tools/milestones{/number}","notifications_url":"https://api.github.com/repos/stenwt/openshift-tools/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/stenwt/openshift-tools/labels{/name}","releases_url":"https://api.github.com/repos/stenwt/openshift-tools/releases{/id}","deployments_url":"https://api.github.com/repos/stenwt/openshift-tools/deployments","created_at":"2015-09-03T13:48:23Z","updated_at":"2015-09-03T13:48:23Z","pushed_at":"2017-11-01T20:54:14Z","git_url":"git://github.com/stenwt/openshift-tools.git","ssh_url":"git@github.com:stenwt/openshift-tools.git","clone_url":"https://github.com/stenwt/openshift-tools.git","svn_url":"https://github.com/stenwt/openshift-tools","homepage":null,"size":12093,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"openshift:stg","ref":"stg","sha":"2a3d73618d465c1df4fc2b82d919c8c250aecf59","user":{"login":"openshift","id":792337,"avatar_url":"https://avatars3.githubusercontent.com/u/792337?v=4","gravatar_id":"","url":"https://api.github.com/users/openshift","html_url":"https://github.com/openshift","followers_url":"https://api.github.com/users/openshift/followers","following_url":"https://api.github.com/users/openshift/following{/other_user}","gists_url":"https://api.github.com/users/openshift/gists{/gist_id}","starred_url":"https://api.github.com/users/openshift/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/openshift/subscriptions","organizations_url":"https://api.github.com/users/openshift/orgs","repos_url":"https://api.github.com/users/openshift/repos","events_url":"https://api.github.com/users/openshift/events{/privacy}","received_events_url":"https://api.github.com/users/openshift/received_events","type":"Organization","site_admin":false},"repo":{"id":36827699,"name":"openshift-tools","full_name":"openshift/openshift-tools","owner":{"login":"openshift","id":792337,"avatar_url":"https://avatars3.githubusercontent.com/u/792337?v=4","gravatar_id":"","url":"https://api.github.com/users/openshift","html_url":"https://github.com/openshift","followers_url":"https://api.github.com/users/openshift/followers","following_url":"https://api.github.com/users/openshift/following{/other_user}","gists_url":"https://api.github.com/users/openshift/gists{/gist_id}","starred_url":"https://api.github.com/users/openshift/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/openshift/subscriptions","organizations_url":"https://api.github.com/users/openshift/orgs","repos_url":"https://api.github.com/users/openshift/repos","events_url":"https://api.github.com/users/openshift/events{/privacy}","received_events_url":"https://api.github.com/users/openshift/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/openshift/openshift-tools","description":"A public repository of scripts used by OpenShift Operations for various purposes","fork":false,"url":"https://api.github.com/repos/openshift/openshift-tools","forks_url":"https://api.github.com/repos/openshift/openshift-tools/forks","keys_url":"https://api.github.com/repos/openshift/openshift-tools/keys{/key_id}","collaborators_url":"https://api.github.com/repos/openshift/openshift-tools/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/openshift/openshift-tools/teams","hooks_url":"https://api.github.com/repos/openshift/openshift-tools/hooks","issue_events_url":"https://api.github.com/repos/openshift/openshift-tools/issues/events{/number}","events_url":"https://api.github.com/repos/openshift/openshift-tools/events","assignees_url":"https://api.github.com/repos/openshift/openshift-tools/assignees{/user}","branches_url":"https://api.github.com/repos/openshift/openshift-tools/branches{/branch}","tags_url":"https://api.github.com/repos/openshift/openshift-tools/tags","blobs_url":"https://api.github.com/repos/openshift/openshift-tools/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/openshift/openshift-tools/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/openshift/openshift-tools/git/refs{/sha}","trees_url":"https://api.github.com/repos/openshift/openshift-tools/git/trees{/sha}","statuses_url":"https://api.github.com/repos/openshift/openshift-tools/statuses/{sha}","languages_url":"https://api.github.com/repos/openshift/openshift-tools/languages","stargazers_url":"https://api.github.com/repos/openshift/openshift-tools/stargazers","contributors_url":"https://api.github.com/repos/openshift/openshift-tools/contributors","subscribers_url":"https://api.github.com/repos/openshift/openshift-tools/subscribers","subscription_url":"https://api.github.com/repos/openshift/openshift-tools/subscription","commits_url":"https://api.github.com/repos/openshift/openshift-tools/commits{/sha}","git_commits_url":"https://api.github.com/repos/openshift/openshift-tools/git/commits{/sha}","comments_url":"https://api.github.com/repos/openshift/openshift-tools/comments{/number}","issue_comment_url":"https://api.github.com/repos/openshift/openshift-tools/issues/comments{/number}","contents_url":"https://api.github.com/repos/openshift/openshift-tools/contents/{+path}","compare_url":"https://api.github.com/repos/openshift/openshift-tools/compare/{base}...{head}","merges_url":"https://api.github.com/repos/openshift/openshift-tools/merges","archive_url":"https://api.github.com/repos/openshift/openshift-tools/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/openshift/openshift-tools/downloads","issues_url":"https://api.github.com/repos/openshift/openshift-tools/issues{/number}","pulls_url":"https://api.github.com/repos/openshift/openshift-tools/pulls{/number}","milestones_url":"https://api.github.com/repos/openshift/openshift-tools/milestones{/number}","notifications_url":"https://api.github.com/repos/openshift/openshift-tools/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/openshift/openshift-tools/labels{/name}","releases_url":"https://api.github.com/repos/openshift/openshift-tools/releases{/id}","deployments_url":"https://api.github.com/repos/openshift/openshift-tools/deployments","created_at":"2015-06-03T20:09:22Z","updated_at":"2017-11-01T18:54:58Z","pushed_at":"2017-11-01T20:53:07Z","git_url":"git://github.com/openshift/openshift-tools.git","ssh_url":"git@github.com:openshift/openshift-tools.git","clone_url":"https://github.com/openshift/openshift-tools.git","svn_url":"https://github.com/openshift/openshift-tools","homepage":null,"size":13359,"stargazers_count":75,"watchers_count":75,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":92,"mirror_url":null,"archived":false,"open_issues_count":55,"forks":92,"open_issues":55,"watchers":75,"default_branch":"prod"}},"_links":{"self":{"href":"https://api.github.com/repos/openshift/openshift-tools/pulls/3040"},"html":{"href":"https://github.com/openshift/openshift-tools/pull/3040"},"issue":{"href":"https://api.github.com/repos/openshift/openshift-tools/issues/3040"},"comments":{"href":"https://api.github.com/repos/openshift/openshift-tools/issues/3040/comments"},"review_comments":{"href":"https://api.github.com/repos/openshift/openshift-tools/pulls/3040/comments"},"review_comment":{"href":"https://api.github.com/repos/openshift/openshift-tools/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/openshift/openshift-tools/pulls/3040/commits"},"statuses":{"href":"https://api.github.com/repos/openshift/openshift-tools/statuses/37d0ed4512a3a0c526adf97104b52aba60ecc104"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"joelddiaz"}}