You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
412 B
17 lines
412 B
7 years ago
|
apt update
|
||
|
# Stretch:
|
||
|
apt install -t stretch-backports prometheus
|
||
|
# Buster:
|
||
|
apt install prometheus
|
||
|
|
||
|
# On main prom1 server, running buster:
|
||
|
apt install prometheus-alertmanager prometheus prometheus-node-exporter
|
||
|
|
||
|
# Open up ports on firewall:
|
||
|
# Prometheus
|
||
|
-A INPUT -p tcp --dport 9090 -j ACCEPT
|
||
|
-A INPUT -p tcp --dport 9093 -j ACCEPT
|
||
|
-A INPUT -p tcp --dport 9094 -j ACCEPT
|
||
|
-A INPUT -p tcp --dport 9100 -j ACCEPT
|
||
|
|