Best Server Monitoring with Prometheus and Grafana using Node Exporter and cAdvisor

Best Server Monitoring with Prometheus and Grafana using Node Exporter and cAdvisor

VirtualizationHowto

1 год назад

57,072 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

Bayu Wiratmo
Bayu Wiratmo - 21.08.2023 12:56

how to add target if I have 5 VM running on premise server? Just newbie

Ответить
Mathew Campisi
Mathew Campisi - 01.08.2023 20:10

How do I add other servers to prometheus? Like 2 linode and a digital ocean server? I'm running prometheus locally, so would i need to create cloudflare tunnels???? Also can you make a video on running grafana and prometheus on trunas?

Ответить
Shukan Patel
Shukan Patel - 23.06.2023 23:33

need some assistance:

Prometheus is up and working, I have node exporters loaded on few server. Prometheus is able to identify them and scrape them.
Installed Grafana and connected to Prometheus but Grafana is not able to show any data in dashboard
any recommendations?

Ответить
Scott Leonard
Scott Leonard - 02.06.2023 16:40

Excellent tutorial. Thanks for this! I'm just getting started with Prometheus and Grafana. Have two questions: 1) Have you seen any dashboards that aggregate Linux, Windows and Docker monitoring into a single (perhaps very simplified) view? 2) Do you have recommendations for alerting? Meaning, if a docker container is reporting as unhealthy, or a specific Linux OS metric is reporting above/below a set threshold, an alert is sent via email/sms to admins...

Ответить
Md. Ishfakur Rahman
Md. Ishfakur Rahman - 14.05.2023 07:48

How do you decided ip address for targets? There is docker ip address too!

Ответить
Guapo Forastero
Guapo Forastero - 19.04.2023 10:14

I have a question what would the configuration of the exporters and the Prometheus server be like if the servers were AT the company's office and the Prometheus server was AT home.
Basically a remote monitoring. Thanks

Ответить
Guapo Forastero
Guapo Forastero - 19.04.2023 10:09

First off all thanks for the excellent vidéo it has helped me in my project.

Ответить
leo lomonosov
leo lomonosov - 17.04.2023 19:25

Hello! Perfect tutorial. The only problem for me, where do you get the IP for grafana? Should I go by localhost or I need to find grafana's IP?

Ответить
Arthur Medeiros
Arthur Medeiros - 20.03.2023 02:54

Great tutorial! Do you have some guide to read better logs of all containers?
Currently I'm using Dozzle, but I saw some solutions like ELK (Elastic Search, Logstash and Kibana) , any chance to you bring some tutorial to implement in docker-compose?

Ответить
Guido Ricioppo
Guido Ricioppo - 14.03.2023 02:28

Hello, great video!
From what I understand Redis is not actual dependency. It is used on the prometheus guide just as "reference container" for examples

Ответить
Vasiliy
Vasiliy - 08.03.2023 20:49

Thanks! Looks more pretty than Zabbix.

Ответить
Filip Fedorišin
Filip Fedorišin - 06.03.2023 02:05

Hello, i am unable to hit node exporter and cadvisor metrics endpoints via prometheus. It gives me context deadline exceeded error. However when i try to curl it works like charm. Can you please help me with this?

Ответить
Typing Addict
Typing Addict - 21.02.2023 05:35

It doesnt seem like grafana can see the nodes i have from cAdvsior. My Docker container dashboard has no data. What steps can I take to troubleshoot this?

Ответить
Andrea Quentino
Andrea Quentino - 07.02.2023 20:57

nice!!! Very handy!!!

Ответить
erefem
erefem - 06.02.2023 14:49

I am having an issue with prometheus. When I try docker-compose up -d there is one error that occurs.

Cannot start service prometheus: failed to create shim task: OCI runtime create failed: runc create failed: unable to start container process: error during container init: error mounting "/root/monitorsvr/prometheus/prometheus.yml" to rootfs at "/etc/prometheus/prometheus.yml": mount /root/monitorsvr/prometheus/prometheus.yml:/etc/prometheus/prometheus.yml (via /proc/self/fd/6), flags: 0x5000: not a directory: unknown: Are you trying to mount a directory onto a file (or vice-versa)?

How to solve this?

Ответить
Krzysztof Radzikowski
Krzysztof Radzikowski - 02.02.2023 19:33

a little hint with today docker 23 update :) docker-compose up -d become docker compose up -d - wthout dash in the middle :)

Ответить
Janu Priyo
Janu Priyo - 01.02.2023 04:21

so easy turotial, Good job
thanks bro

Ответить
Net Bandit
Net Bandit - 30.01.2023 20:12

Heavy on the configuration. You'd think that a monitoring agent would be able to push metrics out instead of listening. So now you have to install the agent (Windows Exporter), configure the Windows firewall, and setup Prometheus to pull metrics.
Anyway, a great video even if the configuration is cumbersome.

Ответить
Shehzad Mansuri
Shehzad Mansuri - 30.01.2023 16:02

Thanks You! Brandon, I found checkmk is more managable. It would be really great for me if you could consider my request making "checkmk" complete configuration Video.

Ответить
squalazzo
squalazzo - 28.01.2023 12:45

i beg you pardon in case you already explained this in the video (i'm still at the beginning), or you can maybe make a video on this in the future, please: having BOTH metrics AND logs combined in a grafana dashboard, so to have a complete monitoring solutions, scrolling both "targets" in sync/parallel, to have a full view on what, how and when something happened... thanks!

Ответить
MrInvalidnick
MrInvalidnick - 28.01.2023 04:17

Thank you for share. Greetings

Ответить