Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Picasoft
Technique
Dockerfiles
Commits
432035e2
Verified
Commit
432035e2
authored
Aug 23, 2021
by
Quentin Duchemin
Browse files
Scrape Postfix metrics
parent
fd5782f2
Changes
2
Hide whitespace changes
Inline
Side-by-side
pica-metrologie/secrets/exporters-auth.secrets.example
View file @
432035e2
...
...
@@ -20,3 +20,5 @@ WEKAN_METRICS_USER=wekan
WEKAN_METRICS_PASSWORD=superpassword
PEERTUBE_METRICS_USER=peertube
PEERTUBE_METRICS_PASSWORD=superpassword
POSTFIX_METRICS_USER=peertube
POSTFIX_METRICS_PASSWORD=superpassword
pica-metrologie/vmagent-prom.yml
View file @
432035e2
...
...
@@ -121,6 +121,16 @@ scrape_configs:
static_configs
:
-
targets
:
-
"
week.pad.picasoft.net"
# Scrape Postfix metrics
-
job_name
:
postfix
scheme
:
"
https"
metrics_path
:
"
/metrics/postfix"
basic_auth
:
username
:
"
%{POSTFIX_METRICS_USER}"
password
:
"
%{POSTFIX_METRICS_PASSWORD}"
static_configs
:
-
targets
:
-
"
mail.picasoft.net"
# Scrape Picasoft servers node-exporter
-
job_name
:
"
pica01"
static_configs
:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment