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