From 9e189bfd26a0fff0f821d05acdaf5e1d3583da32 Mon Sep 17 00:00:00 2001 From: Max Rydahl Andersen Date: Tue, 2 Oct 2018 01:00:20 +0200 Subject: [PATCH] a bit better default hosts --- README.md | 7 ++++++- prometheus/pinghosts.yaml | 10 +++++----- 2 files changed, 11 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 33a88ff..ea07735 100644 --- a/README.md +++ b/README.md @@ -56,6 +56,11 @@ http://localhost:9090/graph?g0.expr=probe_http_status_code&g0.tab=1 shows promet http://localhost:9115 blackbox exporter endpoint. Lets you see what have failed/succeded. -http://localhost:9696/metrics speedtest exporter endpoint. Does take ~30 seconds to shohw its result as it runs an actual speedtest when requested. +http://localhost:9696/metrics speedtest exporter endpoint. Does take ~30 seconds to show its result as it runs an actual speedtest when requested. +## Thanks and a disclaimer + +Thanks to @vegasbrianc work on making a [super easy docker](https://github.com/vegasbrianc/github-monitoring) stack for running prometheus and grafana. + +I also want to disclaim that Prometheus aren't really (currently) intended for this kind of blackbox/external monitoring and this setup is not in anyway secured. Thus only use this for inspiration and do not blame me if someone hacks this and figure out what your real internet sped is :) diff --git a/prometheus/pinghosts.yaml b/prometheus/pinghosts.yaml index 6ae6342..a7c0ece 100644 --- a/prometheus/pinghosts.yaml +++ b/prometheus/pinghosts.yaml @@ -1,6 +1,6 @@ -- targets: - - http://google.com # Target to probe with http. +- targets: + - http://google.com - http://github.com - - https://blackdata.xam.dk:5001 # Target to probe with https. - - http://orbilogin.com - - http://192.168.1.103 \ No newline at end of file + - https://blackdata.xam.dk:5001 + - http://192.168.1.1 + - http://192.168.1.42 \ No newline at end of file