Remove Sonos monitoring from project and update README for Pi fork.
This commit is contained in:
parent
857efa8120
commit
65df4a8eab
14
README.md
14
README.md
|
@ -1,5 +1,7 @@
|
||||||
|
|
||||||
# A Docker Stack which Monitors your home network
|
# 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.
|
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
|
## Pre-requisites
|
||||||
|
@ -7,16 +9,8 @@ Before we get started installing the Prometheus stack. Ensure you install the la
|
||||||
|
|
||||||
# Quick Start
|
# 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
|
git clone https://github.com/geerlingguy/internet-monitoring
|
||||||
```
|
|
||||||
|
|
||||||
otherwise:
|
|
||||||
|
|
||||||
```
|
|
||||||
git clone https://github.com/maxandersen/internet-monitoring
|
|
||||||
cd internet-monitoring
|
cd internet-monitoring
|
||||||
docker-compose up
|
docker-compose up
|
||||||
```
|
```
|
||||||
|
|
|
@ -41,7 +41,7 @@ services:
|
||||||
networks:
|
networks:
|
||||||
- back-tier
|
- back-tier
|
||||||
- front-tier
|
- front-tier
|
||||||
|
|
||||||
ping:
|
ping:
|
||||||
tty: true
|
tty: true
|
||||||
stdin_open: true
|
stdin_open: true
|
||||||
|
@ -69,18 +69,6 @@ services:
|
||||||
networks:
|
networks:
|
||||||
- back-tier
|
- 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:
|
nodeexp:
|
||||||
privileged: true
|
privileged: true
|
||||||
image: prom/node-exporter
|
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)($$|/)"
|
- "^/(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:
|
networks:
|
||||||
- back-tier
|
- back-tier
|
||||||
|
|
||||||
|
|
|
@ -32,7 +32,6 @@ scrape_configs:
|
||||||
metrics_path: /metrics
|
metrics_path: /metrics
|
||||||
scrape_interval: 15m
|
scrape_interval: 15m
|
||||||
scrape_timeout: 60s # running speedtest needs time to complete
|
scrape_timeout: 60s # running speedtest needs time to complete
|
||||||
|
|
||||||
static_configs:
|
static_configs:
|
||||||
- targets: ['speedtest:9696']
|
- targets: ['speedtest:9696']
|
||||||
|
|
||||||
|
@ -69,8 +68,3 @@ scrape_configs:
|
||||||
- job_name: 'nodeexp'
|
- job_name: 'nodeexp'
|
||||||
static_configs:
|
static_configs:
|
||||||
- targets: ['nodeexp:9100']
|
- targets: ['nodeexp:9100']
|
||||||
|
|
||||||
- job_name: 'sonos'
|
|
||||||
static_configs:
|
|
||||||
- targets: ['192.168.1.42:1915']
|
|
||||||
|
|
Loading…
Reference in New Issue