dimzrio / docker-compose

Docker compose collections

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

prometheus + grafana with blackbox exporter with docker-compose?

ju40268 opened this issue · comments

Hi,
I saw your tutorial on the youtube for setting up the blackbox exporter and prometheus + grafana with cAdvisor. I tried to follow the setup in the blackbox exporter (this one: https://www.youtube.com/watch?v=GsozyDTDJvk), but does not work out for some mount denied issue (using mac).
And I found your docker-compose with cAdvisor tutorial, I think maybe modified the prometheus.yml file here should also work but somehow did not.

  1. put blackbox-exporter and prometheus-grafana-alertmanager under the same folder.
    blackbox-exporter/ cadvisor/ prometheus-grafana-alertmanager/
  2. inside prometheus-grafana-alertmanager/ do docker-compose up -d
    and check all the docker running.
  3. Modified the prometheus.yml the blackbox-exporter part into

2018-06-18 1 59 39

4. follow the rest in blackbox part `$ docker build -t prom/blackbox-exporter:v.1.0.0 . $ cd .. $ docker-compose up -d` 5. the final result for all the docker running

2018-06-18 1 54 15

Seems that the blackbox-exporter is always not running and keep restarting.

Could you please give me some hint for which step I might be wrong?
Thanks a lot for the tutorial and help!