This commit is contained in:
parent
f7ffff3b8d
commit
590f20de67
@ -12,4 +12,10 @@
|
||||
port: 9100
|
||||
proto: tcp
|
||||
src: 192.168.69.0/24
|
||||
|
||||
- name: Enable and restart exporter daemon
|
||||
service:
|
||||
name: prometheus-node-exporter
|
||||
state: restarted
|
||||
enabled: yes
|
||||
...
|
||||
|
@ -24,6 +24,12 @@
|
||||
name:
|
||||
- prometheus-postfix-exporter
|
||||
|
||||
- name: Enable and restart exporter daemon
|
||||
service:
|
||||
name: prometheus-postfix-exporter
|
||||
state: restarted
|
||||
enabled: yes
|
||||
|
||||
- name: Allow postfix exporter via ufw
|
||||
community.general.ufw:
|
||||
rule: allow
|
||||
|
@ -32,6 +32,12 @@
|
||||
name:
|
||||
- prometheus-postfix-exporter
|
||||
|
||||
- name: Enable and restart exporter daemon
|
||||
service:
|
||||
name: prometheus-postfix-exporter
|
||||
state: restarted
|
||||
enabled: yes
|
||||
|
||||
- name: Allow postfix exporter via ufw
|
||||
community.general.ufw:
|
||||
rule: allow
|
||||
|
@ -137,6 +137,12 @@
|
||||
name:
|
||||
- prometheus-nginx-exporter
|
||||
|
||||
- name: Enable and restart exporter daemon
|
||||
service:
|
||||
name: prometheus-nginx-exporter
|
||||
state: restarted
|
||||
enabled: yes
|
||||
|
||||
- name: Allow nginx exporter via ufw
|
||||
community.general.ufw:
|
||||
rule: allow
|
||||
|
@ -47,6 +47,12 @@
|
||||
proto: tcp
|
||||
src: 192.168.69.0/24
|
||||
|
||||
- name: Enable and restart exporter daemon
|
||||
service:
|
||||
name: prometheus-nginx-exporter
|
||||
state: restarted
|
||||
enabled: yes
|
||||
|
||||
- name: Allow https port via ufw
|
||||
community.general.ufw:
|
||||
rule: allow
|
||||
|
Loading…
Reference in New Issue
Block a user