{"action":"closed","number":8,"pull_request":{"url":"https://api.github.com/repos/lesovsky/zabbix-extensions/pulls/8","id":32393894,"html_url":"https://github.com/lesovsky/zabbix-extensions/pull/8","diff_url":"https://github.com/lesovsky/zabbix-extensions/pull/8.diff","patch_url":"https://github.com/lesovsky/zabbix-extensions/pull/8.patch","issue_url":"https://api.github.com/repos/lesovsky/zabbix-extensions/issues/8","number":8,"state":"closed","locked":false,"title":"equal names of pool and db","user":{"login":"dant4z","id":6698693,"avatar_url":"https://avatars.githubusercontent.com/u/6698693?v=3","gravatar_id":"","url":"https://api.github.com/users/dant4z","html_url":"https://github.com/dant4z","followers_url":"https://api.github.com/users/dant4z/followers","following_url":"https://api.github.com/users/dant4z/following{/other_user}","gists_url":"https://api.github.com/users/dant4z/gists{/gist_id}","starred_url":"https://api.github.com/users/dant4z/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dant4z/subscriptions","organizations_url":"https://api.github.com/users/dant4z/orgs","repos_url":"https://api.github.com/users/dant4z/repos","events_url":"https://api.github.com/users/dant4z/events{/privacy}","received_events_url":"https://api.github.com/users/dant4z/received_events","type":"User","site_admin":false},"body":"\"show pools\" command shows names of pools and databases. This may lead to problem, when this script returns several rows. Example:\r\n```\r\nsudo -u zabbix psql -qAtX -F: -h localhost -p6432 -U pgbouncer pgbouncer -c \"show pools\" | grep -w test\r\ntest:test:145:0:74:3:0:0:0:0\r\ntest_standby:test:75:0:71:3:0:0:0:0\r\n```\r\nI have 2 pools, that named \"test\" and \"test_standby\", and database that named \"test\".\r\nIf i will add ^ symbol to grep, it looks like the problem is resolved\r\n```\r\nsudo -u zabbix psql -qAtX -F: -h localhost -p6432 -U pgbouncer pgbouncer -c \"show pools\" | grep -w ^test\r\ntest:test:142:0:73:0:10:0:0:0\r\n```","created_at":"2015-04-01T07:04:23Z","updated_at":"2015-04-08T17:11:25Z","closed_at":"2015-04-08T17:11:25Z","merged_at":"2015-04-08T17:11:25Z","merge_commit_sha":"757d37ac40030de4238cbe6d4e93ce2e20766a0f","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/lesovsky/zabbix-extensions/pulls/8/commits","review_comments_url":"https://api.github.com/repos/lesovsky/zabbix-extensions/pulls/8/comments","review_comment_url":"https://api.github.com/repos/lesovsky/zabbix-extensions/pulls/comments{/number}","comments_url":"https://api.github.com/repos/lesovsky/zabbix-extensions/issues/8/comments","statuses_url":"https://api.github.com/repos/lesovsky/zabbix-extensions/statuses/6feffdf02e59e944c854181e1f5852bc46159a26","head":{"label":"dant4z:master","ref":"master","sha":"6feffdf02e59e944c854181e1f5852bc46159a26","user":{"login":"dant4z","id":6698693,"avatar_url":"https://avatars.githubusercontent.com/u/6698693?v=3","gravatar_id":"","url":"https://api.github.com/users/dant4z","html_url":"https://github.com/dant4z","followers_url":"https://api.github.com/users/dant4z/followers","following_url":"https://api.github.com/users/dant4z/following{/other_user}","gists_url":"https://api.github.com/users/dant4z/gists{/gist_id}","starred_url":"https://api.github.com/users/dant4z/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dant4z/subscriptions","organizations_url":"https://api.github.com/users/dant4z/orgs","repos_url":"https://api.github.com/users/dant4z/repos","events_url":"https://api.github.com/users/dant4z/events{/privacy}","received_events_url":"https://api.github.com/users/dant4z/received_events","type":"User","site_admin":false},"repo":{"id":33231454,"name":"zabbix-extensions","full_name":"dant4z/zabbix-extensions","owner":{"login":"dant4z","id":6698693,"avatar_url":"https://avatars.githubusercontent.com/u/6698693?v=3","gravatar_id":"","url":"https://api.github.com/users/dant4z","html_url":"https://github.com/dant4z","followers_url":"https://api.github.com/users/dant4z/followers","following_url":"https://api.github.com/users/dant4z/following{/other_user}","gists_url":"https://api.github.com/users/dant4z/gists{/gist_id}","starred_url":"https://api.github.com/users/dant4z/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dant4z/subscriptions","organizations_url":"https://api.github.com/users/dant4z/orgs","repos_url":"https://api.github.com/users/dant4z/repos","events_url":"https://api.github.com/users/dant4z/events{/privacy}","received_events_url":"https://api.github.com/users/dant4z/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/dant4z/zabbix-extensions","description":"Zabbix additional monitoring modules","fork":true,"url":"https://api.github.com/repos/dant4z/zabbix-extensions","forks_url":"https://api.github.com/repos/dant4z/zabbix-extensions/forks","keys_url":"https://api.github.com/repos/dant4z/zabbix-extensions/keys{/key_id}","collaborators_url":"https://api.github.com/repos/dant4z/zabbix-extensions/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/dant4z/zabbix-extensions/teams","hooks_url":"https://api.github.com/repos/dant4z/zabbix-extensions/hooks","issue_events_url":"https://api.github.com/repos/dant4z/zabbix-extensions/issues/events{/number}","events_url":"https://api.github.com/repos/dant4z/zabbix-extensions/events","assignees_url":"https://api.github.com/repos/dant4z/zabbix-extensions/assignees{/user}","branches_url":"https://api.github.com/repos/dant4z/zabbix-extensions/branches{/branch}","tags_url":"https://api.github.com/repos/dant4z/zabbix-extensions/tags","blobs_url":"https://api.github.com/repos/dant4z/zabbix-extensions/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/dant4z/zabbix-extensions/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/dant4z/zabbix-extensions/git/refs{/sha}","trees_url":"https://api.github.com/repos/dant4z/zabbix-extensions/git/trees{/sha}","statuses_url":"https://api.github.com/repos/dant4z/zabbix-extensions/statuses/{sha}","languages_url":"https://api.github.com/repos/dant4z/zabbix-extensions/languages","stargazers_url":"https://api.github.com/repos/dant4z/zabbix-extensions/stargazers","contributors_url":"https://api.github.com/repos/dant4z/zabbix-extensions/contributors","subscribers_url":"https://api.github.com/repos/dant4z/zabbix-extensions/subscribers","subscription_url":"https://api.github.com/repos/dant4z/zabbix-extensions/subscription","commits_url":"https://api.github.com/repos/dant4z/zabbix-extensions/commits{/sha}","git_commits_url":"https://api.github.com/repos/dant4z/zabbix-extensions/git/commits{/sha}","comments_url":"https://api.github.com/repos/dant4z/zabbix-extensions/comments{/number}","issue_comment_url":"https://api.github.com/repos/dant4z/zabbix-extensions/issues/comments{/number}","contents_url":"https://api.github.com/repos/dant4z/zabbix-extensions/contents/{+path}","compare_url":"https://api.github.com/repos/dant4z/zabbix-extensions/compare/{base}...{head}","merges_url":"https://api.github.com/repos/dant4z/zabbix-extensions/merges","archive_url":"https://api.github.com/repos/dant4z/zabbix-extensions/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/dant4z/zabbix-extensions/downloads","issues_url":"https://api.github.com/repos/dant4z/zabbix-extensions/issues{/number}","pulls_url":"https://api.github.com/repos/dant4z/zabbix-extensions/pulls{/number}","milestones_url":"https://api.github.com/repos/dant4z/zabbix-extensions/milestones{/number}","notifications_url":"https://api.github.com/repos/dant4z/zabbix-extensions/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/dant4z/zabbix-extensions/labels{/name}","releases_url":"https://api.github.com/repos/dant4z/zabbix-extensions/releases{/id}","created_at":"2015-04-01T06:49:48Z","updated_at":"2015-04-01T07:01:58Z","pushed_at":"2015-04-01T07:01:58Z","git_url":"git://github.com/dant4z/zabbix-extensions.git","ssh_url":"git@github.com:dant4z/zabbix-extensions.git","clone_url":"https://github.com/dant4z/zabbix-extensions.git","svn_url":"https://github.com/dant4z/zabbix-extensions","homepage":null,"size":480,"stargazers_count":0,"watchers_count":0,"language":"Shell","has_issues":false,"has_downloads":true,"has_wiki":true,"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":"lesovsky:master","ref":"master","sha":"ae363cf03b8d65c2b388b946cc32ccf7612db362","user":{"login":"lesovsky","id":953312,"avatar_url":"https://avatars.githubusercontent.com/u/953312?v=3","gravatar_id":"","url":"https://api.github.com/users/lesovsky","html_url":"https://github.com/lesovsky","followers_url":"https://api.github.com/users/lesovsky/followers","following_url":"https://api.github.com/users/lesovsky/following{/other_user}","gists_url":"https://api.github.com/users/lesovsky/gists{/gist_id}","starred_url":"https://api.github.com/users/lesovsky/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lesovsky/subscriptions","organizations_url":"https://api.github.com/users/lesovsky/orgs","repos_url":"https://api.github.com/users/lesovsky/repos","events_url":"https://api.github.com/users/lesovsky/events{/privacy}","received_events_url":"https://api.github.com/users/lesovsky/received_events","type":"User","site_admin":false},"repo":{"id":9433665,"name":"zabbix-extensions","full_name":"lesovsky/zabbix-extensions","owner":{"login":"lesovsky","id":953312,"avatar_url":"https://avatars.githubusercontent.com/u/953312?v=3","gravatar_id":"","url":"https://api.github.com/users/lesovsky","html_url":"https://github.com/lesovsky","followers_url":"https://api.github.com/users/lesovsky/followers","following_url":"https://api.github.com/users/lesovsky/following{/other_user}","gists_url":"https://api.github.com/users/lesovsky/gists{/gist_id}","starred_url":"https://api.github.com/users/lesovsky/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lesovsky/subscriptions","organizations_url":"https://api.github.com/users/lesovsky/orgs","repos_url":"https://api.github.com/users/lesovsky/repos","events_url":"https://api.github.com/users/lesovsky/events{/privacy}","received_events_url":"https://api.github.com/users/lesovsky/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/lesovsky/zabbix-extensions","description":"Zabbix additional monitoring modules","fork":false,"url":"https://api.github.com/repos/lesovsky/zabbix-extensions","forks_url":"https://api.github.com/repos/lesovsky/zabbix-extensions/forks","keys_url":"https://api.github.com/repos/lesovsky/zabbix-extensions/keys{/key_id}","collaborators_url":"https://api.github.com/repos/lesovsky/zabbix-extensions/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/lesovsky/zabbix-extensions/teams","hooks_url":"https://api.github.com/repos/lesovsky/zabbix-extensions/hooks","issue_events_url":"https://api.github.com/repos/lesovsky/zabbix-extensions/issues/events{/number}","events_url":"https://api.github.com/repos/lesovsky/zabbix-extensions/events","assignees_url":"https://api.github.com/repos/lesovsky/zabbix-extensions/assignees{/user}","branches_url":"https://api.github.com/repos/lesovsky/zabbix-extensions/branches{/branch}","tags_url":"https://api.github.com/repos/lesovsky/zabbix-extensions/tags","blobs_url":"https://api.github.com/repos/lesovsky/zabbix-extensions/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/lesovsky/zabbix-extensions/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/lesovsky/zabbix-extensions/git/refs{/sha}","trees_url":"https://api.github.com/repos/lesovsky/zabbix-extensions/git/trees{/sha}","statuses_url":"https://api.github.com/repos/lesovsky/zabbix-extensions/statuses/{sha}","languages_url":"https://api.github.com/repos/lesovsky/zabbix-extensions/languages","stargazers_url":"https://api.github.com/repos/lesovsky/zabbix-extensions/stargazers","contributors_url":"https://api.github.com/repos/lesovsky/zabbix-extensions/contributors","subscribers_url":"https://api.github.com/repos/lesovsky/zabbix-extensions/subscribers","subscription_url":"https://api.github.com/repos/lesovsky/zabbix-extensions/subscription","commits_url":"https://api.github.com/repos/lesovsky/zabbix-extensions/commits{/sha}","git_commits_url":"https://api.github.com/repos/lesovsky/zabbix-extensions/git/commits{/sha}","comments_url":"https://api.github.com/repos/lesovsky/zabbix-extensions/comments{/number}","issue_comment_url":"https://api.github.com/repos/lesovsky/zabbix-extensions/issues/comments{/number}","contents_url":"https://api.github.com/repos/lesovsky/zabbix-extensions/contents/{+path}","compare_url":"https://api.github.com/repos/lesovsky/zabbix-extensions/compare/{base}...{head}","merges_url":"https://api.github.com/repos/lesovsky/zabbix-extensions/merges","archive_url":"https://api.github.com/repos/lesovsky/zabbix-extensions/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/lesovsky/zabbix-extensions/downloads","issues_url":"https://api.github.com/repos/lesovsky/zabbix-extensions/issues{/number}","pulls_url":"https://api.github.com/repos/lesovsky/zabbix-extensions/pulls{/number}","milestones_url":"https://api.github.com/repos/lesovsky/zabbix-extensions/milestones{/number}","notifications_url":"https://api.github.com/repos/lesovsky/zabbix-extensions/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/lesovsky/zabbix-extensions/labels{/name}","releases_url":"https://api.github.com/repos/lesovsky/zabbix-extensions/releases{/id}","created_at":"2013-04-14T18:57:38Z","updated_at":"2015-04-06T04:05:02Z","pushed_at":"2015-04-08T17:11:25Z","git_url":"git://github.com/lesovsky/zabbix-extensions.git","ssh_url":"git@github.com:lesovsky/zabbix-extensions.git","clone_url":"https://github.com/lesovsky/zabbix-extensions.git","svn_url":"https://github.com/lesovsky/zabbix-extensions","homepage":null,"size":965,"stargazers_count":57,"watchers_count":57,"language":"Shell","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":32,"mirror_url":null,"open_issues_count":0,"forks":32,"open_issues":0,"watchers":57,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/lesovsky/zabbix-extensions/pulls/8"},"html":{"href":"https://github.com/lesovsky/zabbix-extensions/pull/8"},"issue":{"href":"https://api.github.com/repos/lesovsky/zabbix-extensions/issues/8"},"comments":{"href":"https://api.github.com/repos/lesovsky/zabbix-extensions/issues/8/comments"},"review_comments":{"href":"https://api.github.com/repos/lesovsky/zabbix-extensions/pulls/8/comments"},"review_comment":{"href":"https://api.github.com/repos/lesovsky/zabbix-extensions/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/lesovsky/zabbix-extensions/pulls/8/commits"},"statuses":{"href":"https://api.github.com/repos/lesovsky/zabbix-extensions/statuses/6feffdf02e59e944c854181e1f5852bc46159a26"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"lesovsky","id":953312,"avatar_url":"https://avatars.githubusercontent.com/u/953312?v=3","gravatar_id":"","url":"https://api.github.com/users/lesovsky","html_url":"https://github.com/lesovsky","followers_url":"https://api.github.com/users/lesovsky/followers","following_url":"https://api.github.com/users/lesovsky/following{/other_user}","gists_url":"https://api.github.com/users/lesovsky/gists{/gist_id}","starred_url":"https://api.github.com/users/lesovsky/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lesovsky/subscriptions","organizations_url":"https://api.github.com/users/lesovsky/orgs","repos_url":"https://api.github.com/users/lesovsky/repos","events_url":"https://api.github.com/users/lesovsky/events{/privacy}","received_events_url":"https://api.github.com/users/lesovsky/received_events","type":"User","site_admin":false},"comments":0,"review_comments":0,"commits":1,"additions":8,"deletions":8,"changed_files":1}}