User Tools

Site Tools


prometheus

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
prometheus [2021/10/14 23:35] vissieprometheus [2021/10/18 03:47] (current) vissie
Line 1: Line 1:
 =====The order of things===== =====The order of things=====
-https://blog.ruanbekker.com/blog/2019/05/07/setup-prometheus-and-node-exporter-on-ubuntu-for-epic-monitoring/+  * https://blog.ruanbekker.com/blog/2019/05/07/setup-prometheus-and-node-exporter-on-ubuntu-for-epic-monitoring
 +  * https://blog.ruanbekker.com/blog/2019/05/17/install-blackbox-exporter-to-monitor-websites-with-prometheus/ 
 +  * https://www.scaleway.com/en/docs/tutorials/prometheus-monitoring-grafana-dashboard/
  
-Install Prometheus +  - Install/Configure Prometheus 
-Configure Prometheus +  Install/Configure Node Exporter 
-Install Node Exporter +  - Install/Configure Nginx Reverse Proxy 
-Configure Node Exporter +  - Install/Configure Alert Manager 
-Nginx Reverse Proxy+  - Install/Configure Blackbox Exporter
  
  
Line 83: Line 85:
      
 Open a new terminal, create a index.html: Open a new terminal, create a index.html:
 +  sudo pip3 install simple_http_server
   echo "ok" > index.html   echo "ok" > index.html
-  python -m SimpleHTTPServer 8080+  python -m SimpleHTTPServer 8080 or 
 +  python3 -m http.server 8080 
      
 Head back to the previous terminal session and restart prometheus: Head back to the previous terminal session and restart prometheus:
Line 146: Line 151:
   sudo pip3 install -r ./requirements.txt   sudo pip3 install -r ./requirements.txt
   sudo pip3 install python-dateutil   sudo pip3 install python-dateutil
 +
 +
 +=====Issues=====
 +====ICMP====
 +To get ping [icmp] to work, I had to do the following:  
 +  sudo setcap cap_net_raw+ep /usr/local/bin/blackbox_exporter 
 +
  
prometheus.1634279757.txt.gz · Last modified: 2021/10/14 23:35 by vissie