pve to proxmox
This commit is contained in:
parent
b0e49711cb
commit
e5d1adeded
@ -62,6 +62,9 @@
|
||||
| prometheus_postgres_exporter_user | The user for Postgres exporter | String | "postgres" |
|
||||
| prometheus_postgres_exporter_password | The password for Postgres exporter | String | "changeme_" |
|
||||
| prometheus_postgres_exporter_port | The port for Postgres exporter | Integer | 5432 |
|
||||
| prometheus_proxmox_exporter_user | Username used to contact Proxmox API | String | "" |
|
||||
| prometheus_proxmox_exporter_password | Password for previous username | String | "" |
|
||||
| prometheus_proxmox_exporter_node | Proxmox node to metrics from | String | "" |
|
||||
| prometheus_redis_exporter_addr | The address for Redis exporter | String | "redis://localhost:6379" |
|
||||
| prometheus_redis_exporter_user | The user for Redis exporter | String | "" |
|
||||
| prometheus_redis_exporter_password | The password for Redis exporter | String | "" |
|
||||
|
@ -414,13 +414,13 @@ scrape_configs:
|
||||
replacement: '${1}'
|
||||
|
||||
{% endif %}
|
||||
{% if prometheus_pve_exporter_targets is defined %}
|
||||
{% if prometheus_proxmox_exporter_targets is defined %}
|
||||
# proxmox #
|
||||
- job_name: pve
|
||||
scrape_interval: 30s
|
||||
static_configs:
|
||||
- targets:
|
||||
{% for target in prometheus_pve_exporter_targets %}
|
||||
{% for target in prometheus_proxmox_exporter_targets %}
|
||||
- {{ target }}:9221
|
||||
{% endfor %}
|
||||
metrics_path: /pve
|
||||
|
@ -408,13 +408,13 @@ scrape_configs:
|
||||
replacement: '${1}'
|
||||
|
||||
{% endif %}
|
||||
{% if prometheus_pve_exporter_targets is defined %}
|
||||
{% if prometheus_proxmox_exporter_targets is defined %}
|
||||
# proxmox #
|
||||
- job_name: pve
|
||||
scrape_interval: 30s
|
||||
static_configs:
|
||||
- targets:
|
||||
{% for target in prometheus_pve_exporter_targets %}
|
||||
{% for target in prometheus_proxmox_exporter_targets %}
|
||||
- {{ target }}:9221
|
||||
{% endfor %}
|
||||
metrics_path: /pve
|
||||
|
Loading…
x
Reference in New Issue
Block a user