BEFORE YOU BEGIN Make sure you have nginx installed Run the script only once. If you run it more than once you will have to clear the last lines in /etc/ngingx/sites-enables/
Installation:
- Clone the repo
- cd Node-Exporter-for-Prometheus
- chmod +x script-grafana.sh
- ./script-grafana.sh
- you will be asked two times to select yes
- Enjoy
P.S Don't forget to add the IP in Prometheus instance (nano /etc/prometheus/prometheus.yml)