{"action":"opened","number":6,"pull_request":{"url":"https://api.github.com/repos/sensu-plugins/sensu-plugins-postgres/pulls/6","id":48862729,"html_url":"https://github.com/sensu-plugins/sensu-plugins-postgres/pull/6","diff_url":"https://github.com/sensu-plugins/sensu-plugins-postgres/pull/6.diff","patch_url":"https://github.com/sensu-plugins/sensu-plugins-postgres/pull/6.patch","issue_url":"https://api.github.com/repos/sensu-plugins/sensu-plugins-postgres/issues/6","number":6,"state":"open","locked":false,"title":"Add expresion to check if value retrieved by check-postgres-query.rb …","user":{"login":"tomreay","id":1550389,"avatar_url":"https://avatars.githubusercontent.com/u/1550389?v=3","gravatar_id":"","url":"https://api.github.com/users/tomreay","html_url":"https://github.com/tomreay","followers_url":"https://api.github.com/users/tomreay/followers","following_url":"https://api.github.com/users/tomreay/following{/other_user}","gists_url":"https://api.github.com/users/tomreay/gists{/gist_id}","starred_url":"https://api.github.com/users/tomreay/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tomreay/subscriptions","organizations_url":"https://api.github.com/users/tomreay/orgs","repos_url":"https://api.github.com/users/tomreay/repos","events_url":"https://api.github.com/users/tomreay/events{/privacy}","received_events_url":"https://api.github.com/users/tomreay/received_events","type":"User","site_admin":false},"body":"I am probably missing something really obvious, but I couldn't get the check-postgres-query.rb plugin to work without this","created_at":"2015-10-27T12:16:16Z","updated_at":"2015-10-27T12:16:16Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/sensu-plugins/sensu-plugins-postgres/pulls/6/commits","review_comments_url":"https://api.github.com/repos/sensu-plugins/sensu-plugins-postgres/pulls/6/comments","review_comment_url":"https://api.github.com/repos/sensu-plugins/sensu-plugins-postgres/pulls/comments{/number}","comments_url":"https://api.github.com/repos/sensu-plugins/sensu-plugins-postgres/issues/6/comments","statuses_url":"https://api.github.com/repos/sensu-plugins/sensu-plugins-postgres/statuses/72ed32667fb70bb572bfa8f82fbab9c29ece7f55","head":{"label":"tomreay:master","ref":"master","sha":"72ed32667fb70bb572bfa8f82fbab9c29ece7f55","user":{"login":"tomreay","id":1550389,"avatar_url":"https://avatars.githubusercontent.com/u/1550389?v=3","gravatar_id":"","url":"https://api.github.com/users/tomreay","html_url":"https://github.com/tomreay","followers_url":"https://api.github.com/users/tomreay/followers","following_url":"https://api.github.com/users/tomreay/following{/other_user}","gists_url":"https://api.github.com/users/tomreay/gists{/gist_id}","starred_url":"https://api.github.com/users/tomreay/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tomreay/subscriptions","organizations_url":"https://api.github.com/users/tomreay/orgs","repos_url":"https://api.github.com/users/tomreay/repos","events_url":"https://api.github.com/users/tomreay/events{/privacy}","received_events_url":"https://api.github.com/users/tomreay/received_events","type":"User","site_admin":false},"repo":{"id":45038528,"name":"sensu-plugins-postgres","full_name":"tomreay/sensu-plugins-postgres","owner":{"login":"tomreay","id":1550389,"avatar_url":"https://avatars.githubusercontent.com/u/1550389?v=3","gravatar_id":"","url":"https://api.github.com/users/tomreay","html_url":"https://github.com/tomreay","followers_url":"https://api.github.com/users/tomreay/followers","following_url":"https://api.github.com/users/tomreay/following{/other_user}","gists_url":"https://api.github.com/users/tomreay/gists{/gist_id}","starred_url":"https://api.github.com/users/tomreay/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tomreay/subscriptions","organizations_url":"https://api.github.com/users/tomreay/orgs","repos_url":"https://api.github.com/users/tomreay/repos","events_url":"https://api.github.com/users/tomreay/events{/privacy}","received_events_url":"https://api.github.com/users/tomreay/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/tomreay/sensu-plugins-postgres","description":"This plugin provides native PostrgreSQL                               instrumentation for monitoring and metrics                               collection, including: service health, database                               connectivity, database locks, replication status,                               database size, `pg_stat_bgwriter` metrics, and                               more.","fork":true,"url":"https://api.github.com/repos/tomreay/sensu-plugins-postgres","forks_url":"https://api.github.com/repos/tomreay/sensu-plugins-postgres/forks","keys_url":"https://api.github.com/repos/tomreay/sensu-plugins-postgres/keys{/key_id}","collaborators_url":"https://api.github.com/repos/tomreay/sensu-plugins-postgres/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/tomreay/sensu-plugins-postgres/teams","hooks_url":"https://api.github.com/repos/tomreay/sensu-plugins-postgres/hooks","issue_events_url":"https://api.github.com/repos/tomreay/sensu-plugins-postgres/issues/events{/number}","events_url":"https://api.github.com/repos/tomreay/sensu-plugins-postgres/events","assignees_url":"https://api.github.com/repos/tomreay/sensu-plugins-postgres/assignees{/user}","branches_url":"https://api.github.com/repos/tomreay/sensu-plugins-postgres/branches{/branch}","tags_url":"https://api.github.com/repos/tomreay/sensu-plugins-postgres/tags","blobs_url":"https://api.github.com/repos/tomreay/sensu-plugins-postgres/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/tomreay/sensu-plugins-postgres/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/tomreay/sensu-plugins-postgres/git/refs{/sha}","trees_url":"https://api.github.com/repos/tomreay/sensu-plugins-postgres/git/trees{/sha}","statuses_url":"https://api.github.com/repos/tomreay/sensu-plugins-postgres/statuses/{sha}","languages_url":"https://api.github.com/repos/tomreay/sensu-plugins-postgres/languages","stargazers_url":"https://api.github.com/repos/tomreay/sensu-plugins-postgres/stargazers","contributors_url":"https://api.github.com/repos/tomreay/sensu-plugins-postgres/contributors","subscribers_url":"https://api.github.com/repos/tomreay/sensu-plugins-postgres/subscribers","subscription_url":"https://api.github.com/repos/tomreay/sensu-plugins-postgres/subscription","commits_url":"https://api.github.com/repos/tomreay/sensu-plugins-postgres/commits{/sha}","git_commits_url":"https://api.github.com/repos/tomreay/sensu-plugins-postgres/git/commits{/sha}","comments_url":"https://api.github.com/repos/tomreay/sensu-plugins-postgres/comments{/number}","issue_comment_url":"https://api.github.com/repos/tomreay/sensu-plugins-postgres/issues/comments{/number}","contents_url":"https://api.github.com/repos/tomreay/sensu-plugins-postgres/contents/{+path}","compare_url":"https://api.github.com/repos/tomreay/sensu-plugins-postgres/compare/{base}...{head}","merges_url":"https://api.github.com/repos/tomreay/sensu-plugins-postgres/merges","archive_url":"https://api.github.com/repos/tomreay/sensu-plugins-postgres/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/tomreay/sensu-plugins-postgres/downloads","issues_url":"https://api.github.com/repos/tomreay/sensu-plugins-postgres/issues{/number}","pulls_url":"https://api.github.com/repos/tomreay/sensu-plugins-postgres/pulls{/number}","milestones_url":"https://api.github.com/repos/tomreay/sensu-plugins-postgres/milestones{/number}","notifications_url":"https://api.github.com/repos/tomreay/sensu-plugins-postgres/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/tomreay/sensu-plugins-postgres/labels{/name}","releases_url":"https://api.github.com/repos/tomreay/sensu-plugins-postgres/releases{/id}","created_at":"2015-10-27T12:09:32Z","updated_at":"2015-10-27T12:09:32Z","pushed_at":"2015-10-27T12:13:50Z","git_url":"git://github.com/tomreay/sensu-plugins-postgres.git","ssh_url":"git@github.com:tomreay/sensu-plugins-postgres.git","clone_url":"https://github.com/tomreay/sensu-plugins-postgres.git","svn_url":"https://github.com/tomreay/sensu-plugins-postgres","homepage":"http://sensu-plugins.github.io","size":119,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":false,"has_downloads":false,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"sensu-plugins:master","ref":"master","sha":"fed1e3fb524ad5a9f50f6c1df882c6eaa74089e8","user":{"login":"sensu-plugins","id":10713628,"avatar_url":"https://avatars.githubusercontent.com/u/10713628?v=3","gravatar_id":"","url":"https://api.github.com/users/sensu-plugins","html_url":"https://github.com/sensu-plugins","followers_url":"https://api.github.com/users/sensu-plugins/followers","following_url":"https://api.github.com/users/sensu-plugins/following{/other_user}","gists_url":"https://api.github.com/users/sensu-plugins/gists{/gist_id}","starred_url":"https://api.github.com/users/sensu-plugins/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sensu-plugins/subscriptions","organizations_url":"https://api.github.com/users/sensu-plugins/orgs","repos_url":"https://api.github.com/users/sensu-plugins/repos","events_url":"https://api.github.com/users/sensu-plugins/events{/privacy}","received_events_url":"https://api.github.com/users/sensu-plugins/received_events","type":"Organization","site_admin":false},"repo":{"id":30635166,"name":"sensu-plugins-postgres","full_name":"sensu-plugins/sensu-plugins-postgres","owner":{"login":"sensu-plugins","id":10713628,"avatar_url":"https://avatars.githubusercontent.com/u/10713628?v=3","gravatar_id":"","url":"https://api.github.com/users/sensu-plugins","html_url":"https://github.com/sensu-plugins","followers_url":"https://api.github.com/users/sensu-plugins/followers","following_url":"https://api.github.com/users/sensu-plugins/following{/other_user}","gists_url":"https://api.github.com/users/sensu-plugins/gists{/gist_id}","starred_url":"https://api.github.com/users/sensu-plugins/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sensu-plugins/subscriptions","organizations_url":"https://api.github.com/users/sensu-plugins/orgs","repos_url":"https://api.github.com/users/sensu-plugins/repos","events_url":"https://api.github.com/users/sensu-plugins/events{/privacy}","received_events_url":"https://api.github.com/users/sensu-plugins/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/sensu-plugins/sensu-plugins-postgres","description":"This plugin provides native PostrgreSQL                               instrumentation for monitoring and metrics                               collection, including: service health, database                               connectivity, database locks, replication status,                               database size, `pg_stat_bgwriter` metrics, and                               more.","fork":false,"url":"https://api.github.com/repos/sensu-plugins/sensu-plugins-postgres","forks_url":"https://api.github.com/repos/sensu-plugins/sensu-plugins-postgres/forks","keys_url":"https://api.github.com/repos/sensu-plugins/sensu-plugins-postgres/keys{/key_id}","collaborators_url":"https://api.github.com/repos/sensu-plugins/sensu-plugins-postgres/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/sensu-plugins/sensu-plugins-postgres/teams","hooks_url":"https://api.github.com/repos/sensu-plugins/sensu-plugins-postgres/hooks","issue_events_url":"https://api.github.com/repos/sensu-plugins/sensu-plugins-postgres/issues/events{/number}","events_url":"https://api.github.com/repos/sensu-plugins/sensu-plugins-postgres/events","assignees_url":"https://api.github.com/repos/sensu-plugins/sensu-plugins-postgres/assignees{/user}","branches_url":"https://api.github.com/repos/sensu-plugins/sensu-plugins-postgres/branches{/branch}","tags_url":"https://api.github.com/repos/sensu-plugins/sensu-plugins-postgres/tags","blobs_url":"https://api.github.com/repos/sensu-plugins/sensu-plugins-postgres/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/sensu-plugins/sensu-plugins-postgres/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/sensu-plugins/sensu-plugins-postgres/git/refs{/sha}","trees_url":"https://api.github.com/repos/sensu-plugins/sensu-plugins-postgres/git/trees{/sha}","statuses_url":"https://api.github.com/repos/sensu-plugins/sensu-plugins-postgres/statuses/{sha}","languages_url":"https://api.github.com/repos/sensu-plugins/sensu-plugins-postgres/languages","stargazers_url":"https://api.github.com/repos/sensu-plugins/sensu-plugins-postgres/stargazers","contributors_url":"https://api.github.com/repos/sensu-plugins/sensu-plugins-postgres/contributors","subscribers_url":"https://api.github.com/repos/sensu-plugins/sensu-plugins-postgres/subscribers","subscription_url":"https://api.github.com/repos/sensu-plugins/sensu-plugins-postgres/subscription","commits_url":"https://api.github.com/repos/sensu-plugins/sensu-plugins-postgres/commits{/sha}","git_commits_url":"https://api.github.com/repos/sensu-plugins/sensu-plugins-postgres/git/commits{/sha}","comments_url":"https://api.github.com/repos/sensu-plugins/sensu-plugins-postgres/comments{/number}","issue_comment_url":"https://api.github.com/repos/sensu-plugins/sensu-plugins-postgres/issues/comments{/number}","contents_url":"https://api.github.com/repos/sensu-plugins/sensu-plugins-postgres/contents/{+path}","compare_url":"https://api.github.com/repos/sensu-plugins/sensu-plugins-postgres/compare/{base}...{head}","merges_url":"https://api.github.com/repos/sensu-plugins/sensu-plugins-postgres/merges","archive_url":"https://api.github.com/repos/sensu-plugins/sensu-plugins-postgres/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/sensu-plugins/sensu-plugins-postgres/downloads","issues_url":"https://api.github.com/repos/sensu-plugins/sensu-plugins-postgres/issues{/number}","pulls_url":"https://api.github.com/repos/sensu-plugins/sensu-plugins-postgres/pulls{/number}","milestones_url":"https://api.github.com/repos/sensu-plugins/sensu-plugins-postgres/milestones{/number}","notifications_url":"https://api.github.com/repos/sensu-plugins/sensu-plugins-postgres/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/sensu-plugins/sensu-plugins-postgres/labels{/name}","releases_url":"https://api.github.com/repos/sensu-plugins/sensu-plugins-postgres/releases{/id}","created_at":"2015-02-11T07:04:14Z","updated_at":"2015-08-05T02:13:58Z","pushed_at":"2015-10-08T19:35:54Z","git_url":"git://github.com/sensu-plugins/sensu-plugins-postgres.git","ssh_url":"git@github.com:sensu-plugins/sensu-plugins-postgres.git","clone_url":"https://github.com/sensu-plugins/sensu-plugins-postgres.git","svn_url":"https://github.com/sensu-plugins/sensu-plugins-postgres","homepage":"http://sensu-plugins.github.io","size":288,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_downloads":false,"has_wiki":false,"has_pages":false,"forks_count":3,"mirror_url":null,"open_issues_count":2,"forks":3,"open_issues":2,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/sensu-plugins/sensu-plugins-postgres/pulls/6"},"html":{"href":"https://github.com/sensu-plugins/sensu-plugins-postgres/pull/6"},"issue":{"href":"https://api.github.com/repos/sensu-plugins/sensu-plugins-postgres/issues/6"},"comments":{"href":"https://api.github.com/repos/sensu-plugins/sensu-plugins-postgres/issues/6/comments"},"review_comments":{"href":"https://api.github.com/repos/sensu-plugins/sensu-plugins-postgres/pulls/6/comments"},"review_comment":{"href":"https://api.github.com/repos/sensu-plugins/sensu-plugins-postgres/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/sensu-plugins/sensu-plugins-postgres/pulls/6/commits"},"statuses":{"href":"https://api.github.com/repos/sensu-plugins/sensu-plugins-postgres/statuses/72ed32667fb70bb572bfa8f82fbab9c29ece7f55"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":2,"deletions":2,"changed_files":1}}