From e7bbf7b43aedbdaa842b7147a2976ee7ed5a3f51 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Silvie=20Chlupov=C3=A1?= Date: Thu, 18 Nov 2021 14:53:07 +0100 Subject: [PATCH] copr-be: copr-be-dev: open port 9100 (node_exporter) for showing metrics on backend --- inventory/host_vars/copr-be-dev.cloud.fedoraproject.org | 6 ++++-- inventory/host_vars/copr-be.cloud.fedoraproject.org | 6 ++++-- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/inventory/host_vars/copr-be-dev.cloud.fedoraproject.org b/inventory/host_vars/copr-be-dev.cloud.fedoraproject.org index c6feb4cffa..b98105abdd 100644 --- a/inventory/host_vars/copr-be-dev.cloud.fedoraproject.org +++ b/inventory/host_vars/copr-be-dev.cloud.fedoraproject.org @@ -34,8 +34,10 @@ nagios_Check_Services: swap: false public_ip: 209.132.184.53 root_auth_users: msuchy pingou frostyx praiskup schlupov -security_group: web-80-anywhere-persistent,web-443-anywhere-persistent,ssh-anywhere-persistent,default,allow-nagios-persistent,fedmsg-relay-persistent -tcp_ports: ['22', '80', '443', '2003', '4001'] +security_group: web-80-anywhere-persistent,web-443-anywhere-persistent,ssh-anywhere-persistent,default,allow-nagios-persistent,fedmsg-relay-persistent,node-exporter-persistent +tcp_ports: ['22', '80', '443', '2003', '4001', + # this port is used by node_exporter whose metrics are used by prometheus + '9100'] # volumes: copr-be-dev-data volumes: [{device: '/dev/vdc', volume_id: '09c74876-d691-487e-a54b-070b08e87719'}] zone: nova diff --git a/inventory/host_vars/copr-be.cloud.fedoraproject.org b/inventory/host_vars/copr-be.cloud.fedoraproject.org index 6331a24a08..9b41314042 100644 --- a/inventory/host_vars/copr-be.cloud.fedoraproject.org +++ b/inventory/host_vars/copr-be.cloud.fedoraproject.org @@ -35,9 +35,11 @@ nagios_Check_Services: public_ip: 209.132.184.48 root_auth_users: msuchy frostyx praiskup schlupov -security_group: web-80-anywhere-persistent,web-443-anywhere-persistent,ssh-anywhere-persistent,default,allow-nagios-persistent +security_group: web-80-anywhere-persistent,web-443-anywhere-persistent,ssh-anywhere-persistent,default,allow-nagios-persistent,node-exporter-persistent tcp_ports: [22, 80, 443, # These 8 ports are used by fedmsg. One for each wsgi thread. - 3000, 3001, 3002, 3003, 3004, 3005, 3006, 3007] + 3000, 3001, 3002, 3003, 3004, 3005, 3006, 3007, + # this port is used by node_exporter whose metrics are used by prometheus + '9100'] volumes: [{device: '/dev/vdc', volume_id: '63c3a40c-e228-417a-97a2-e2c34730bf3b'}] zone: nova