Create firewalld rule that expose Prometheus node exporter
The softwarefactory-project.io will monitoring the logscraper host condition. Change-Id: I8e98a3be61226a47ae8e606853160e747a8c8f41
This commit is contained in:
parent
88a30eb620
commit
9d32d082e1
@ -35,10 +35,17 @@
|
|||||||
state: started
|
state: started
|
||||||
enabled: true
|
enabled: true
|
||||||
|
|
||||||
- name: Configure firewalld
|
- name: Configure firewalld for gearman
|
||||||
firewalld:
|
firewalld:
|
||||||
zone: internal
|
zone: internal
|
||||||
port: "{{ gearman_port }}/{{ output_mode }}"
|
port: "{{ gearman_port }}/{{ output_mode }}"
|
||||||
state: enabled
|
state: enabled
|
||||||
permanent: true
|
permanent: true
|
||||||
immediate: true
|
immediate: true
|
||||||
|
|
||||||
|
- name: Expose Prometheus node exporter metrics for softwarefactory-project.io
|
||||||
|
firewalld:
|
||||||
|
rich_rule: 'rule family=ipv4 source address=38.102.83.250/32 port port=9100 protocol=tcp accept'
|
||||||
|
state: enabled
|
||||||
|
permanent: true
|
||||||
|
immediate: true
|
||||||
|
Loading…
Reference in New Issue
Block a user