Prometheus Proxmox VE #2867
-
Good evening, I have the Prometheus Proxmox VE installed and config. I get this error: Error scraping target: server returned HTTP status 500 INTERNAL SERVER ERROR |
Beta Was this translation helpful? Give feedback.
Replies: 6 comments 5 replies
-
Because targets: ["192.168.178.203:9221"] is your server? In the url target is some other IP |
Beta Was this translation helpful? Give feedback.
-
Would you mind sharing your pve.yml? |
Beta Was this translation helpful? Give feedback.
-
can nobody help? |
Beta Was this translation helpful? Give feedback.
-
maybe: @andygrunwald |
Beta Was this translation helpful? Give feedback.
-
@daschmidt1994 Here is my Prometheus Scrape Configuration that works as expected: # Prometheus Proxmox VE exporter
- job_name: 'prometheus-proxmox-ve-exporter'
static_configs:
- targets: ['192.168.178.61'] # Proxmox VE node
metrics_path: /pve
params:
module: [default]
cluster: ['1']
node: ['1']
relabel_configs:
- source_labels: [__address__]
target_label: __param_target
- source_labels: [__param_target]
target_label: instance
- target_label: __address__
replacement: 192.168.178.62:9221 # PVE exporter This one is documented here: https://github.com/prometheus-pve/prometheus-pve-exporter?tab=readme-ov-file#prometheus-configuration @towerhand Here is my pve.yml that works as expected: default:
user: prometheus@pve
password: "my-password"
verify_ssl: false This requires a user in Proxmox. Documented here: https://github.com/prometheus-pve/prometheus-pve-exporter?tab=readme-ov-file#prometheus-configuration Does this help ? |
Beta Was this translation helpful? Give feedback.
-
@andygrunwald, that really helped. Thank you. |
Beta Was this translation helpful? Give feedback.
@daschmidt1994 Here is my Prometheus Scrape Configuration that works as expected:
This one is documented here: https://github.com/prometheus-pve/prometheus-pve-exporter?tab=readme-ov-fil…