diff --git a/docker-compose.yml b/docker-compose.yml index ed55e20..c5c626d 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -69,6 +69,16 @@ services: networks: - back-tier + sonos: + tty: true + stdin_open: true + expose: + - 1915 + ports: + - 1915:1915 + image: maxandersen/sonos_exporter + network_mode: host + nodeexp: privileged: true image: prom/node-exporter diff --git a/prometheus/prometheus.yml b/prometheus/prometheus.yml index b4e1e10..d464ed7 100644 --- a/prometheus/prometheus.yml +++ b/prometheus/prometheus.yml @@ -54,4 +54,9 @@ scrape_configs: - job_name: 'nodeexp' static_configs: - - targets: ['nodeexp:9100'] \ No newline at end of file + - targets: ['nodeexp:9100'] + + - job_name: 'sonos' + static_configs: + - targets: ['192.168.1.42:1915','sonos:1915'] + \ No newline at end of file