How to Install Prometheus and Grafana on Ubuntu? (Node Exporter & Alertmanager & Pushgateway)
In this video, we will install Prometheus, Node Exporter, Pushgateway, Alertmanager, and Grafana.
🔴 – To support my channel, I’d like to offer Mentorship/On-the-Job Support/Consulting (me@antonputra.com)
👉 How to Manage Secrets in Terraform – https://youtu.be/3N0tGKwvBdA
👉 Terraform Tips & Tricks – https://youtu.be/7S94oUTy2z4
👉 ArgoCD Tutorial – https://youtu.be/zGndgdGa1Tc
💼 – I’m a Senior Software Engineer at Juniper Networks (11+ years of experience)
📍 – Located in San Francisco Bay Area, CA (US citizen)
🤝 – LinkedIn – https://www.linkedin.com/in/anton-putra
🎙 – Twitter – https://twitter.com/antonvputra
📧 – Email – me@antonputra.com
👨💻 – GitHub – https://github.com/antonputra
=========
⏱️TIMESTAMPS⏱️
0:00 Intro
0:20 Install Prometheus on Ubuntu 20.04
3:14 Install Node Exporter on Ubuntu 20.04
5:10 Install Grafana on Ubuntu 20.04
8:50 Install Pushgateway Prometheus on Ubuntu 20.04
10:31 Securing Prometheus with Basic Auth
12:55 Install Alertmanager on Ubuntu 20.04
15:15 Alertmanager Slack Channel Integration
=========
Source Code
📚 – Tutorial: https://antonputra.com/monitoring/install-prometheus-and-grafana-on-ubuntu/
#Prometheus #Grafana #DevOps
by Anton Putra
linux download
🔴 – To support my channel, I’d like to offer Mentorship/On-the-Job Support/Consulting (me@antonputra.com)
I'm so glad that I found your channel, nice job Anton! Greetings from Hungary!
Can I Install prometues in virtual box ubantu on pc or does it need to be a server?
This tutorial is excellent!
Can you help me please
I installed Prometheus all step by step from this tutorial, but it's not working in web browser. i have tried local IP and other one but its now opening in web.
Prometheus is active and running, no errors. Used journalctl -u prometheus -f –no-pager command and there is no problems.
thanks)
Can you add postgres_exporter also ?
Thanks bro, you are the only who explained this clearly like this !
I use prometheus version 2.44 and I try run this command
./prometheus-2.36.0.linux-amd64/promtool check config web.yml
I recieved this
"./prometheus-2.44.0.linux-amd64/promtool check config ./web.yml
Checking ./web.yml
FAILED: parsing YAML file ./web.yml: yaml: unmarshal errors:
line 2: field basic_auth_users not found in type config.plain
"
Can you help me with them ?
Easy to understand. Really like this video
👉 How to Manage Secrets in Terraform – https://youtu.be/3N0tGKwvBdA
👉 Terraform Tips & Tricks – https://youtu.be/7S94oUTy2z4
👉 ArgoCD Tutorial – https://youtu.be/zGndgdGa1Tc
13:12
what if i make system user "alertmanager" to "useralert1"
do some config need to be changed?
Sorry, I'm very new to Linux
parse "": empty url
I've followed all the tutorials parse "": empty url
Can you add your PSP too ?
yeah at 2:37 whenever i add the default port to the yml file, i save it and then when i check if its valid it says did not find expected key? Can someone help?
Excellent video, it was my lifesaver, suscribed!
Great video! I was wondering does the same basic auth method work for net_exporter, push gateway, alerts manager and grafana?
ew why are they using bcrypt and not argon2id in 2018+4?
hello when you created a new datasource file, the extension isn't .yaml but .yml (at 6:35)
This tutorial is excellent. A lot of things has finally explained in the best possible way .However , at times it feels a little fast . For example Pushgateway still not so clear . Can you elaborate a bit more on that, please ?
I got an error message when I executed this command > root@grafana# prometheus –version
-bash: /usr/local/bin/prometheus: cannot execute binary file: Exec format error
root@grafana:~$ sudo journalctl -ex
Apr 23 06:23:45 splunk systemd[48322]: prometheus.service: Failed to execute command: Exec format error
Apr 23 06:23:45 splunk systemd[48322]: prometheus.service: Failed at step EXEC spawning /usr/local/bin/prometheus: Exec format error
Excellent Anton, great details and to the point, I appreciate the content and the step by step example, I have a few concerns regarding the clear text passwords for a production deployment 🤔but other than that for an individual, wanting to monitor and get alerts from the local home network is good enough in my opinion, subscribed and joining your discord channel as well, looking forward to chatting there. Thanks again!
man you need to get a noble prize, you are the best. Good luck
А видео на русском языке планируются?
thank you, wait for the prometheus series videos
Awesome.
You said in production we should use datasource config file for Grafana, so that it can be committed to the git. But for the "basicAuthPassword" setting you also use the password there (without hash). Is there any way to prevent it?