Página inicial Open Source Prometheus : Instalaçaõ
Prometheus : Instalaçaõ
Link do Giropopos Monitoring no GitHub:
https://github.com/badtuxx/giropops-m...
# apt-get update
# apt-get install -y curl wget vim
# yum install -y curl wget vim
# mkdir /etc/prometheus
# mkdir /var/lib/prometheus
# useradd --no-create-home --shell /bin/false prometheus
# useradd --no-create-home --shell /bin/false node_exporter
# curl -LO https://github.com/prometheus/prometh...
# tar xvf prometheus-2.0.0.linux-amd64.tar.gz
# cp prometheus-2.0.0.linux-amd64/prometheus /usr/local/bin/
# cp prometheus-2.0.0.linux-amd64/promtool /usr/local/bin/
# cp -r prometheus-2.0.0.linux-amd64/consoles /etc/prometheus
# cp -r prometheus-2.0.0.linux-amd64/console_libraries /etc/prometheus
# rm -rf prometheus-2.0.0.linux-amd64.tar.gz prometheus-2.0.0.linux-amd64
# vim /etc/prometheus/prometheus.yml
https://pastebin.com/QKctdHkh
# vim /etc/prometheus/alert.rules
https://pastebin.com/zkeyTf1t
# chown prometheus:prometheus /usr/local/bin/prometheus
# chown prometheus:prometheus /usr/local/bin/promtool
# chown -R prometheus:prometheus /etc/prometheus
# chown -R prometheus:prometheus /var/lib/prometheus
# vim /etc/systemd/system/prometheus.service
https://pastebin.com/DiqZYbNb
# systemctl daemon-reload
# systemctl start prometheus
# systemctl status prometheus
# netstat -atunp | grep 9090
Social