{"id":24701505,"url":"https://github.com/wlanboy/blackbox","last_synced_at":"2026-05-18T17:09:11.127Z","repository":{"id":274037614,"uuid":"921671694","full_name":"wlanboy/blackbox","owner":"wlanboy","description":"configs for blackbox exporter, prometheus and grafana","archived":false,"fork":false,"pushed_at":"2026-05-01T17:57:16.000Z","size":18,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2026-05-01T19:32:29.103Z","etag":null,"topics":["dashboards","docker","docker-compose","mirror","monitoring","monitoring-stack"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/wlanboy.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-01-24T11:49:51.000Z","updated_at":"2026-05-01T17:57:20.000Z","dependencies_parsed_at":"2025-08-19T08:26:49.643Z","dependency_job_id":"877554c6-a9e7-456b-8f7f-feffbf7ec15a","html_url":"https://github.com/wlanboy/blackbox","commit_stats":null,"previous_names":["wlanboy/blackbox"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/wlanboy/blackbox","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wlanboy%2Fblackbox","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wlanboy%2Fblackbox/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wlanboy%2Fblackbox/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wlanboy%2Fblackbox/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/wlanboy","download_url":"https://codeload.github.com/wlanboy/blackbox/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wlanboy%2Fblackbox/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33184844,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-18T09:27:30.708Z","status":"ssl_error","status_checked_at":"2026-05-18T09:27:28.300Z","response_time":71,"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":["dashboards","docker","docker-compose","mirror","monitoring","monitoring-stack"],"created_at":"2025-01-27T05:13:35.929Z","updated_at":"2026-05-18T17:09:11.122Z","avatar_url":"https://github.com/wlanboy.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n# Lokaler Monitoring Stack\n\n## Versionen (anpassen bei Bedarf)\n\n```bash\nPROMETHEUS_VERSION=3.5.0\nBLACKBOX_VERSION=0.27.0\nGRAFANA_VERSION=12.1.1\n```\n\n## Lokale Installation und Start (Debian)\n\n### 1. Prometheus herunterladen und entpacken\n```bash\nwget https://github.com/prometheus/prometheus/releases/latest/download/prometheus-${PROMETHEUS_VERSION}.linux-amd64.tar.gz\ntar -xzf prometheus-${PROMETHEUS_VERSION}.linux-amd64.tar.gz\ncd prometheus-${PROMETHEUS_VERSION}.linux-amd64\ncp ../prometheus.yml .\ncp -r ../scrapeconfigs .\ncd ..\n```\n\n### 2. Blackbox Exporter herunterladen und entpacken\n```bash\nwget https://github.com/prometheus/blackbox_exporter/releases/latest/download/blackbox_exporter-${BLACKBOX_VERSION}.linux-amd64.tar.gz\ntar -xzf blackbox_exporter-${BLACKBOX_VERSION}.linux-amd64.tar.gz\ncd blackbox_exporter-${BLACKBOX_VERSION}.linux-amd64\ncp ../blackbox.yml .\ncp ../web.yml .\ncd ..\n```\n\n### 3. Grafana herunterladen und entpacken\n```bash\nwget https://dl.grafana.com/oss/release/grafana-${GRAFANA_VERSION}.linux-amd64.tar.gz\ntar -xzf grafana-${GRAFANA_VERSION}.linux-amd64.tar.gz\ncd grafana-${GRAFANA_VERSION}\ncd ..\n```\n\n### 4. Konfigurationen übernehmen\nDas Dashboard-JSON (`Blackbox Exporter Dashboard.json`) kann in Grafana importiert werden.\n\n### 5. Dienste starten\n\n**Prometheus:**\n```bash\ncd prometheus-${PROMETHEUS_VERSION}.linux-amd64\n./prometheus --config.file=prometheus.yml \u0026\n```\n\n**Blackbox Exporter:**\n```bash\ncd blackbox_exporter-${BLACKBOX_VERSION}.linux-amd64\n./blackbox_exporter --config.file=blackbox.yml --web.config=web.yml \u0026\n```\n\n**Grafana:**\n```bash\ncd grafana-${GRAFANA_VERSION}\n./bin/grafana-server web \u0026\n```\n\n## Service urls\n- Grafana: http://localhost:9090/\n- Prometheus: http://localhost:3000/\n\n---\n\n## Start mit Docker Compose\n\nMit Docker Compose lassen sich alle Services einfach als Container starten. Die benötigte Konfiguration befindet sich in der Datei `docker-compose.yml` im Projektverzeichnis.\n\n**Starten:**\n```bash\ndocker compose up\n```\n\nDas Dashboard-JSON kann wie gewohnt in Grafana importiert werden.\n\n---\n\n## Secret für web.yml generieren\n\nUm ein sicheres bcrypt-Hash für einen User in der `web.yml` zu erzeugen, kann das Python-Skript `auth.py` genutzt werden:\n\n```bash\npython3 auth.py\n```\n\nDas Skript fragt nach einem Passwort und gibt den bcrypt-Hash aus. Diesen Hash kannst du dann in der `web.yml` als Passwort eintragen, z.B.:\n\n```yaml\nbasic_auth_users:\n\tbenutzername: \u003chier-den-bcrypt-hash-einfügen\u003e\n```\n\nBeispiel:\n```yaml\nbasic_auth_users:\n\ttest: $2b$12$...deinHash...\n```\n\n---\nWeitere Infos: Siehe offizielle Doku von [Prometheus](https://prometheus.io/docs/introduction/overview/), [Blackbox Exporter](https://github.com/prometheus/blackbox_exporter) und [Grafana](https://grafana.com/docs/).","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwlanboy%2Fblackbox","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwlanboy%2Fblackbox","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwlanboy%2Fblackbox/lists"}