{"id":19505292,"url":"https://github.com/mirekys/collectd-pgpool","last_synced_at":"2026-04-29T19:32:02.981Z","repository":{"id":169348140,"uuid":"46485382","full_name":"mirekys/collectd-pgpool","owner":"mirekys","description":" Collectd plugin for obtaining connection metrics from PgPool-II","archived":false,"fork":false,"pushed_at":"2015-11-19T13:35:58.000Z","size":6,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-06-23T21:43:20.002Z","etag":null,"topics":["collectd","collectd-pgpool","collectd-plugin","pcp","pgpool-ii","postgresql"],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mirekys.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2015-11-19T10:34:02.000Z","updated_at":"2015-11-19T13:33:41.000Z","dependencies_parsed_at":null,"dependency_job_id":"7c8769da-35db-4d72-9aa4-cdb2a3ee72e2","html_url":"https://github.com/mirekys/collectd-pgpool","commit_stats":null,"previous_names":["mirekys/collectd-pgpool"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/mirekys/collectd-pgpool","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mirekys%2Fcollectd-pgpool","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mirekys%2Fcollectd-pgpool/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mirekys%2Fcollectd-pgpool/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mirekys%2Fcollectd-pgpool/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mirekys","download_url":"https://codeload.github.com/mirekys/collectd-pgpool/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mirekys%2Fcollectd-pgpool/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32440904,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-29T18:12:22.909Z","status":"ssl_error","status_checked_at":"2026-04-29T18:11:33.322Z","response_time":110,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["collectd","collectd-pgpool","collectd-plugin","pcp","pgpool-ii","postgresql"],"created_at":"2024-11-10T22:29:31.602Z","updated_at":"2026-04-29T19:32:02.961Z","avatar_url":"https://github.com/mirekys.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# collectd-pgpool\n[Collectd](http://www.collectd.org/) plugin for obtaining connection metrics from a running [PgPool-II](http://www.pgpool.net/mediawiki/index.php/Main_Page) instance. Based on the [collectd-python](https://collectd.org/documentation/manpages/collectd-python.5.shtml).\n\n# Installation \u0026 Configuration\n\n* Make sure you have configured [pcp.conf](http://www.pgpool.net/docs/latest/pgpool-en.html#config) on PgPool-II\n* Clone this repo: ```git clone https://github.com/mirekys/collectd-apachelog.git```\n* Place *pgpool.py* and *util.py* to your collectd-python ModulePath\n* Update your collectd.conf\n```\n  \u003cPlugin python\u003e\n        ModulePath \"/../../collectd-plugins/\"\n        LogTraces false\n        Interactive false\n        Import 'pgpool'\n        \u003cModule pgpool\u003e\n                Hostname \"localhost\"\n                PcpUser \"pcpuser\"\n                PcpPassword \"...\"\n                PcpPort \"9898\"\n                PcpTimeout 1\n        \u003c/Module\u003e\n\u003c/Plugin\u003e\n```\n\n# Output\n\nPlugin executes the following PCP command:\n```\npcp_proc_info -v $PCP_TIMEOUT $PCP_HOSTNAME $PCP_PORT $PCP_USER $PCP_PASSWORD\n```\n\nWhich results in following output example:\n```\npgpool/count-pools=6\npgpool/count-connections_per_pool=8\npgpool/count-pools-active=6\npgpool/count-pool0-dbname-dbuser-active_connections=1\npgpool/count-pool0-dbname-dbuser-total_connections=1\npgpool/count-pool1-dbname-dbuser-active_connections=0\npgpool/count-pool1-dbname-dbuser-total_connections=3\npgpool/count-pool2-dbname-dbuser-active_connections=0\npgpool/count-pool2-dbname-dbuser-total_connections=2\npgpool/count-pool3-dbname-dbuser-active_connections=0\npgpool/count-pool3-dbname-dbuser-total_connections=2\npgpool/count-pool4-dbname-dbuser-active_connections=1\npgpool/count-pool4-dbname-dbuser-total_connections=4\npgpool/count-pool5-dbname-dbuser-active_connections=1\npgpool/count-pool5-dbname-dbuser-total_connections=4\n\n```\n\n# Debugging\n\nYou can run this plugin in standalone debug mode, where it outputs to console\nwhat would be otherwise sent to the collectd daemon:\n\n``` ./pgpool.py debug ```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmirekys%2Fcollectd-pgpool","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmirekys%2Fcollectd-pgpool","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmirekys%2Fcollectd-pgpool/lists"}