diff --git a/README.md b/README.md index 94a3518..c729c3c 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,7 @@ - # A Docker Stack which Monitors your home network + +> This repository is a fork from [maxandersen/internet-monitoring](https://github.com/maxandersen/internet-monitoring), tailored for use on a Raspberry Pi. + Here's a quick start to stand-up a Docker [Prometheus](http://prometheus.io/) stack containing Prometheus, Grafana with [blackbox-exporter](https://github.com/prometheus/blackbox_exporter) and [speedtest-exporter](https://github.com/stefanwalther/speedtest-exporter) to collect and graph home network connections and speed. ## Pre-requisites @@ -7,16 +9,8 @@ Before we get started installing the Prometheus stack. Ensure you install the la # Quick Start -If on Mac run this: - ``` -git clone https://github.com/maxandersen/internet-monitoring && cd internet-monitoring && docker-compose up && open http://localhost:3030/d/o9mIe_Aik/internet-connection -``` - -otherwise: - -``` -git clone https://github.com/maxandersen/internet-monitoring +git clone https://github.com/geerlingguy/internet-monitoring cd internet-monitoring docker-compose up ``` diff --git a/docker-compose.yml b/docker-compose.yml index 4788e75..47f52bc 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -41,7 +41,7 @@ services: networks: - back-tier - front-tier - + ping: tty: true stdin_open: true @@ -69,18 +69,6 @@ services: networks: - back-tier - sonos: - tty: true - stdin_open: true - expose: - - 1915 - ports: - - 1915:1915 - image: maxandersen/sonos_exporter - command: - - '--address=0.0.0.0:1915' - network_mode: host - nodeexp: privileged: true image: prom/node-exporter @@ -98,4 +86,3 @@ services: - "^/(sys|proc|dev|host|etc|rootfs/var/lib/docker/containers|rootfs/var/lib/docker/overlay2|rootfs/run/docker/netns|rootfs/var/lib/docker/aufs)($$|/)" networks: - back-tier - diff --git a/prometheus/prometheus.yml b/prometheus/prometheus.yml index 43a94bd..181a6a0 100644 --- a/prometheus/prometheus.yml +++ b/prometheus/prometheus.yml @@ -32,7 +32,6 @@ scrape_configs: metrics_path: /metrics scrape_interval: 15m scrape_timeout: 60s # running speedtest needs time to complete - static_configs: - targets: ['speedtest:9696'] @@ -69,8 +68,3 @@ scrape_configs: - job_name: 'nodeexp' static_configs: - targets: ['nodeexp:9100'] - - - job_name: 'sonos' - static_configs: - - targets: ['192.168.1.42:1915'] - \ No newline at end of file