{"id":22109200,"url":"https://github.com/psvmcc/sockstat_exporter","last_synced_at":"2025-08-10T15:16:23.563Z","repository":{"id":93987431,"uuid":"437238309","full_name":"psvmcc/sockstat_exporter","owner":"psvmcc","description":"Linux listening ports Prometheus exporter","archived":false,"fork":false,"pushed_at":"2021-12-13T07:41:46.000Z","size":963,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-29T10:16:52.798Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Go","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/psvmcc.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":"2021-12-11T09:24:03.000Z","updated_at":"2021-12-13T07:41:49.000Z","dependencies_parsed_at":"2023-03-19T02:03:45.247Z","dependency_job_id":null,"html_url":"https://github.com/psvmcc/sockstat_exporter","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/psvmcc%2Fsockstat_exporter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/psvmcc%2Fsockstat_exporter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/psvmcc%2Fsockstat_exporter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/psvmcc%2Fsockstat_exporter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/psvmcc","download_url":"https://codeload.github.com/psvmcc/sockstat_exporter/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245206533,"owners_count":20577582,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":[],"created_at":"2024-12-01T09:29:38.110Z","updated_at":"2025-03-24T03:46:35.000Z","avatar_url":"https://github.com/psvmcc.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# sockstat_exporter\n\nLinux listening ports Prometheus exporter\n\n## Usage\n\n```\n  -listen string\n    \tListen metrics server address. [env: LISTEN] (default \":9997\")\n  -v\tPrint version\n```\n\n## Metrics example\n\n```\nsockstat_listen{proto=\"tcp\",address=\"0.0.0.0\",port=\"22\",path=\"/usr/sbin/sshd\"} 1\nsockstat_listen{proto=\"tcp\",address=\"0.0.0.0\",port=\"50007\",path=\"/usr/local/bin/cloud-torrent\"} 1\nsockstat_listen{proto=\"tcp\",address=\"0.0.0.0\",port=\"80\",path=\"/usr/sbin/nginx\"} 1\nsockstat_listen{proto=\"tcp\",address=\"0.0.0.0\",port=\"81\",path=\"/usr/sbin/nginx\"} 1\nsockstat_listen{proto=\"tcp\",address=\"0.0.0.0\",port=\"88\",path=\"/usr/sbin/nginx\"} 1\nsockstat_listen{proto=\"tcp\",address=\"0.0.0.0\",port=\"888\",path=\"/usr/sbin/nginx\"} 1\nsockstat_listen{proto=\"tcp\",address=\"127.0.0.53\",port=\"53\",path=\"/usr/lib/systemd/systemd-resolved\"} 1\nsockstat_listen{proto=\"tcp6\",address=\"2000::1\",port=\"888\",path=\"/usr/sbin/nginx\"} 1\nsockstat_listen{proto=\"tcp6\",address=\"::\",port=\"22\",path=\"/usr/sbin/sshd\"} 1\nsockstat_listen{proto=\"tcp6\",address=\"::\",port=\"3000\",path=\"/usr/local/bin/cloud-torrent\"} 1\nsockstat_listen{proto=\"tcp6\",address=\"::\",port=\"4000\",path=\"/usr/share/grafana/bin/grafana-server\"} 1\nsockstat_listen{proto=\"tcp6\",address=\"::\",port=\"50007\",path=\"/usr/local/bin/cloud-torrent\"} 1\nsockstat_listen{proto=\"tcp6\",address=\"::\",port=\"7879\",path=\"/usr/local/bin/rclone\"} 1\nsockstat_listen{proto=\"tcp6\",address=\"::\",port=\"80\",path=\"/usr/sbin/nginx\"} 1\nsockstat_listen{proto=\"tcp6\",address=\"::\",port=\"9090\",path=\"/bin/prometheus\"} 1\nsockstat_listen{proto=\"tcp6\",address=\"::\",port=\"9100\",path=\"/bin/node_exporter\"} 1\nsockstat_listen{proto=\"tcp6\",address=\"::\",port=\"9997\",path=\"/bin/sockstat_exporter\"} 1\nsockstat_listen{proto=\"udp\",address=\"0.0.0.0\",port=\"1900\",path=\"/usr/local/bin/rclone\"} 1\nsockstat_listen{proto=\"udp\",address=\"0.0.0.0\",port=\"50007\",path=\"/usr/local/bin/cloud-torrent\"} 1\nsockstat_listen{proto=\"udp\",address=\"127.0.0.53\",port=\"53\",path=\"/usr/lib/systemd/systemd-resolved\"} 1\nsockstat_listen{proto=\"udp\",address=\"192.168.1.100\",port=\"68\",path=\"/usr/lib/systemd/systemd-networkd\"} 1\nsockstat_listen{proto=\"udp6\",address=\"::\",port=\"50007\",path=\"/usr/local/bin/cloud-torrent\"} 1\nsockstat_listen{proto=\"udp6\",address=\"FE80::F64D:30FF:FE60:E13B\",port=\"546\",path=\"/usr/lib/systemd/systemd-networkd\"} 1\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpsvmcc%2Fsockstat_exporter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpsvmcc%2Fsockstat_exporter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpsvmcc%2Fsockstat_exporter/lists"}