From cfa4b1a4ceeedb1126620b5548833933246996be Mon Sep 17 00:00:00 2001 From: Max Rydahl Andersen Date: Tue, 13 Nov 2018 06:10:04 +0100 Subject: [PATCH] hassio setup --- prometheus/pinghosts.yaml | 8 +++++++- prometheus/prometheus.yml | 9 ++++++++- 2 files changed, 15 insertions(+), 2 deletions(-) diff --git a/prometheus/pinghosts.yaml b/prometheus/pinghosts.yaml index 0a9b837..278a73f 100644 --- a/prometheus/pinghosts.yaml +++ b/prometheus/pinghosts.yaml @@ -4,5 +4,11 @@ - https://blackdata.xam.dk:5001;blackdata.xam.dk;external;internetbox - http://192.168.1.1;internetbox;local;internetbox - http://192.168.1.42;blackdata;local;orbirouter-attic - - http://192.168.1.101;orbirouter;local;orbirouter + - http://192.168.1.103;orbi.router;local;orbirouter + - http://192.168.1.250;orbi-attic;local;orbirouter + - http://192.168.1.103;orbi.sat.basement;local;orbirouter + - http://192.168.1.121;orbi.sat.tv;local;orbirouter + - http://192.168.1.127:1400/status;sonosbedroom;local;orbi-attic + - http://192.168.1.126;hassio;orbirouter-tv + diff --git a/prometheus/prometheus.yml b/prometheus/prometheus.yml index 43a94bd..8b232ed 100644 --- a/prometheus/prometheus.yml +++ b/prometheus/prometheus.yml @@ -73,4 +73,11 @@ scrape_configs: - job_name: 'sonos' static_configs: - targets: ['192.168.1.42:1915'] - \ No newline at end of file + + + - job_name: 'hassio' + scrape_interval: 60s + metrics_path: /api/prometheus + scheme: https + static_configs: + - targets: ['hassio.local:8123'] \ No newline at end of file